| Index: Source/core/html/HTMLBodyElement.cpp
|
| diff --git a/Source/core/html/HTMLBodyElement.cpp b/Source/core/html/HTMLBodyElement.cpp
|
| index 85bf86f0ed8c25b624ac9069c54bf94e9bbac3c7..7b25fadc03bf6aedd7eb8caf191c3fa2e86308de 100644
|
| --- a/Source/core/html/HTMLBodyElement.cpp
|
| +++ b/Source/core/html/HTMLBodyElement.cpp
|
| @@ -33,6 +33,7 @@
|
| #include "core/dom/Attribute.h"
|
| #include "core/frame/FrameView.h"
|
| #include "core/frame/LocalFrame.h"
|
| +#include "core/frame/UseCounter.h"
|
| #include "core/html/HTMLFrameElementBase.h"
|
| #include "core/html/parser/HTMLParserIdioms.h"
|
| #include "core/rendering/RenderBox.h"
|
| @@ -81,8 +82,10 @@ void HTMLBodyElement::collectStyleForPresentationAttribute(const QualifiedName&
|
| } else if (name == textAttr) {
|
| addHTMLColorToStyle(style, CSSPropertyColor, value);
|
| } else if (name == bgpropertiesAttr) {
|
| - if (equalIgnoringCase(value, "fixed"))
|
| - addPropertyToPresentationAttributeStyle(style, CSSPropertyBackgroundAttachment, CSSValueFixed);
|
| + if (equalIgnoringCase(value, "fixed")) {
|
| + UseCounter::count(document(), UseCounter::BgPropertiesFixed);
|
| + addPropertyToPresentationAttributeStyle(style, CSSPropertyBackgroundAttachment, CSSValueFixed);
|
| + }
|
| } else
|
| HTMLElement::collectStyleForPresentationAttribute(name, value, style);
|
| }
|
|
|