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

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

Issue 2145823002: Implement the overflow-anchor CSS property as an opt-out for ScrollAnchoring (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Put opt-out behind RuntimeEnabledFeature and update tests Created 4 years, 5 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/UseCounter.cpp
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.cpp b/third_party/WebKit/Source/core/frame/UseCounter.cpp
index f482a65939b67226986dc74bd1854c70044e7bb9..06bdc290791391f7ec0886c098d15ab56c752e11 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.cpp
+++ b/third_party/WebKit/Source/core/frame/UseCounter.cpp
@@ -565,6 +565,7 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
case CSSPropertyFontVariantNumeric: return 535;
case CSSPropertyTextSizeAdjust: return 536;
case CSSPropertyAliasWebkitTextSizeAdjust: return 537;
+ case CSSPropertyOverflowAnchor: return 538;
// 1. Add new features above this line (don't change the assigned numbers of the existing
// items).
@@ -582,7 +583,7 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
}
// Make sure update_use_counter_css.py was run which updates histograms.xml.
-static int maximumCSSSampleId() { return 537; }
+static int maximumCSSSampleId() { return 538; }
static EnumerationHistogram& featureObserverHistogram()
{
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698