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
This commit is contained in:
mats.palmgren%bredband.net
2006-08-23 22:37:51 +00:00
parent c8e473b111
commit 28799ba5c0

View File

@@ -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