Bug 1449566 - Remove GenericSpecifiedValues::ShouldIgnoreColors. r=emilio

This commit is contained in:
Jonathan Watt
2018-03-23 16:40:12 +00:00
parent 44d37e68d5
commit a47d409b48
7 changed files with 6 additions and 22 deletions

View File

@@ -990,7 +990,7 @@ HTMLTableElement::MapAttributesIntoRule(const nsMappedAttributes* aAttributes,
// bordercolor
const nsAttrValue* value = aAttributes->GetAttr(nsGkAtoms::bordercolor);
nscolor color;
if (value && !aData->ShouldIgnoreColors() && value->GetColorValue(color)) {
if (value && value->GetColorValue(color)) {
aData->SetColorValueIfUnset(eCSSProperty_border_top_color, color);
aData->SetColorValueIfUnset(eCSSProperty_border_left_color, color);
aData->SetColorValueIfUnset(eCSSProperty_border_bottom_color, color);