From b2c8e6aeacf03ea0f588fcd6ab63372933a0e64b Mon Sep 17 00:00:00 2001 From: "karnaze%netscape.com" Date: Mon, 13 Sep 1999 22:51:10 +0000 Subject: [PATCH] bug 13105 - removed code which set frames style to "all" git-svn-id: svn://10.0.0.236/trunk@47190 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/html/content/src/nsHTMLTableElement.cpp | 4 ---- mozilla/layout/html/content/src/nsHTMLTableElement.cpp | 4 ---- 2 files changed, 8 deletions(-) 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()) {