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

Unified Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 2689063002: Deprecate CSS values zoom:reset and zoom:document. (Closed)
Patch Set: add test for deprecated properties Created 3 years, 10 months 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
Index: third_party/WebKit/Source/core/frame/Deprecation.cpp
diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp
index 7dbd45056f737e167590e260cbae541a2d4144b8..4bf21d972481100c1eb1737074b609deba5a78cc 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -414,6 +414,12 @@ String Deprecation::deprecationMessage(UseCounter::Feature feature) {
"-internal-media-controls-text-track-list* selectors", M59,
"5661431349379072");
+ case UseCounter::CSSZoomReset:
+ return willBeRemoved("zoom: \"reset\"", M59, "4997605029314560");
Timothy Loh 2017/02/15 03:09:18 Here and below, quotes should be around everything
Bret 2017/02/15 20:55:59 Done.
+
+ case UseCounter::CSSZoomDocument:
+ return willBeRemoved("zoom: \"document\"", M59, "4997605029314560");
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();

Powered by Google App Engine
This is Rietveld 408576698