Index: Source/core/html/HTMLBodyElement.cpp |
diff --git a/Source/core/html/HTMLBodyElement.cpp b/Source/core/html/HTMLBodyElement.cpp |
index 12b2b375d3d619724fd3c38aa0652d004116d80e..c855c82efd216db3f03ca1b4ffeb019dd2497f65 100644 |
--- a/Source/core/html/HTMLBodyElement.cpp |
+++ b/Source/core/html/HTMLBodyElement.cpp |
@@ -55,7 +55,7 @@ HTMLBodyElement::~HTMLBodyElement() |
bool HTMLBodyElement::isPresentationAttribute(const QualifiedName& name) const |
{ |
- if (name == backgroundAttr || name == marginwidthAttr || name == leftmarginAttr || name == marginheightAttr || name == topmarginAttr || name == bgcolorAttr || name == textAttr || name == bgpropertiesAttr) |
+ if (name == backgroundAttr || name == marginwidthAttr || name == leftmarginAttr || name == marginheightAttr || name == topmarginAttr || name == bgcolorAttr || name == textAttr) |
return true; |
return HTMLElement::isPresentationAttribute(name); |
} |
@@ -80,13 +80,9 @@ void HTMLBodyElement::collectStyleForPresentationAttribute(const QualifiedName& |
addHTMLColorToStyle(style, CSSPropertyBackgroundColor, value); |
} else if (name == textAttr) { |
addHTMLColorToStyle(style, CSSPropertyColor, value); |
- } else if (name == bgpropertiesAttr) { |
- if (equalIgnoringCase(value, "fixed")) { |
- UseCounter::countDeprecation(document(), UseCounter::BgPropertiesFixed); |
- addPropertyToPresentationAttributeStyle(style, CSSPropertyBackgroundAttachment, CSSValueFixed); |
- } |
- } else |
+ } else { |
HTMLElement::collectStyleForPresentationAttribute(name, value, style); |
+ } |
} |
void HTMLBodyElement::parseAttribute(const QualifiedName& name, const AtomicString& value) |