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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user