Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1064)

Unified Diff: Source/core/frame/UseCounter.cpp

Issue 723913003: Deprecate <body bgproperties=fixed> (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: use js-test.js to avoid checking in testharness.js expectations Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/html/body-bgproperties-expected.txt ('k') | Source/core/html/HTMLBodyElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/UseCounter.cpp
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp
index 0020f1fa57345fd234e946b5cd2e04a934f932b2..9bc42e6bb84c5d3630b47b4fc56d1e48cfe0bcdb 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -817,6 +817,9 @@ String UseCounter::deprecationMessage(Feature feature)
case DOMImplementationHasFeatureReturnFalse:
return "'DOMImplementation.hasFeature()' returning false is deprecated. Please do not use it, as per DOM it should always return true (https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature).";
+ case BgPropertiesFixed:
+ return "The 'bgproperties=fixed' attribute is deprecated. Please use CSS 'background-attachment:fixed' instead.";
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();
« no previous file with comments | « LayoutTests/fast/html/body-bgproperties-expected.txt ('k') | Source/core/html/HTMLBodyElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698