From 28799ba5c055d9ec3ef485317bbd6b9e62c84387 Mon Sep 17 00:00:00 2001 From: "mats.palmgren%bredband.net" Date: Wed, 23 Aug 2006 22:37:51 +0000 Subject: [PATCH] Make bordercolor attribute imply border-style:solid (for compat reasons). b=349655 r+sr=bzbarsky git-svn-id: svn://10.0.0.236/trunk@208249 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/html/content/src/nsHTMLTableElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/content/html/content/src/nsHTMLTableElement.cpp b/mozilla/content/html/content/src/nsHTMLTableElement.cpp index 7c029e7bc3b..3ee6ba98519 100644 --- a/mozilla/content/html/content/src/nsHTMLTableElement.cpp +++ b/mozilla/content/html/content/src/nsHTMLTableElement.cpp @@ -1326,7 +1326,7 @@ MapAttributesIntoRule(const nsMappedAttributes* aAttributes, if (aData->mMarginData->mBorderColor.mBottom.GetUnit() == eCSSUnit_Null) aData->mMarginData->mBorderColor.mBottom.SetColorValue(color); - borderStyle = NS_STYLE_BORDER_STYLE_OUTSET; // use css outset + borderStyle = NS_STYLE_BORDER_STYLE_SOLID; // compat, see bug 349655 } else if (NS_STYLE_BORDER_COLLAPSE == tableStyle->mBorderCollapse) { // make the color grey