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
This commit is contained in:
karnaze%netscape.com
1999-09-13 22:51:10 +00:00
parent 19896c4e17
commit b2c8e6aeac
2 changed files with 0 additions and 8 deletions

View File

@@ -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())
{

View File

@@ -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())
{