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

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

Issue 1681273003: Add CSS parser support for break-after, break-before and break-inside. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update some text expectations, and move the new properties into ComputedStyle, since they aren't ra… Created 4 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/UseCounter.cpp
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.cpp b/third_party/WebKit/Source/core/frame/UseCounter.cpp
index 86e31a896f286933128bca991381e9970a96d07f..70f4dbc25ae61c3716d521584c400fdb2e07c67d 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.cpp
+++ b/third_party/WebKit/Source/core/frame/UseCounter.cpp
@@ -550,6 +550,9 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
case CSSPropertyFontDisplay: return 516;
case CSSPropertyContain: return 517;
case CSSPropertyD: return 518;
+ case CSSPropertyBreakAfter: return 519;
+ case CSSPropertyBreakBefore: return 520;
+ case CSSPropertyBreakInside: return 521;
// 1. Add new features above this line (don't change the assigned numbers of the existing
// items).
@@ -566,7 +569,7 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
return 0;
}
-static int maximumCSSSampleId() { return 518; }
+static int maximumCSSSampleId() { return 521; }
static EnumerationHistogram& featureObserverHistogram()
{

Powered by Google App Engine
This is Rietveld 408576698