diff --git a/mozilla/content/html/content/src/nsHTMLTableElement.cpp b/mozilla/content/html/content/src/nsHTMLTableElement.cpp index 3084ff86983..0eedf41da56 100644 --- a/mozilla/content/html/content/src/nsHTMLTableElement.cpp +++ b/mozilla/content/html/content/src/nsHTMLTableElement.cpp @@ -962,10 +962,6 @@ MapTableFrameInto(const nsIHTMLMappedAttributes* aAttributes, aAttributes->GetAttribute(nsHTMLAtoms::frame, frameValue); if (frameValue.GetUnit() == eHTMLUnit_Enumerated) { - // store the value of frame - nsStyleTable *tableStyle = (nsStyleTable*)aContext->GetMutableStyleData(eStyleStruct_Table); - tableStyle->mFrame = frameValue.GetIntValue(); - tableStyle->mRules=NS_STYLE_TABLE_RULES_ALL; // most values of frame imply default rules=all // adjust the border style based on the value of frame switch (frameValue.GetIntValue()) { diff --git a/mozilla/layout/html/content/src/nsHTMLTableElement.cpp b/mozilla/layout/html/content/src/nsHTMLTableElement.cpp index 3084ff86983..0eedf41da56 100644 --- a/mozilla/layout/html/content/src/nsHTMLTableElement.cpp +++ b/mozilla/layout/html/content/src/nsHTMLTableElement.cpp @@ -962,10 +962,6 @@ MapTableFrameInto(const nsIHTMLMappedAttributes* aAttributes, aAttributes->GetAttribute(nsHTMLAtoms::frame, frameValue); if (frameValue.GetUnit() == eHTMLUnit_Enumerated) { - // store the value of frame - nsStyleTable *tableStyle = (nsStyleTable*)aContext->GetMutableStyleData(eStyleStruct_Table); - tableStyle->mFrame = frameValue.GetIntValue(); - tableStyle->mRules=NS_STYLE_TABLE_RULES_ALL; // most values of frame imply default rules=all // adjust the border style based on the value of frame switch (frameValue.GetIntValue()) {