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

Unified Diff: third_party/WebKit/Source/core/css/resolver/CSSPropertyPriority.h

Issue 2620233002: Add 'priority' key to CSSProperties.in (Closed)
Patch Set: Small fix from bad rebsae Created 3 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.in ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/resolver/CSSPropertyPriority.h
diff --git a/third_party/WebKit/Source/core/css/resolver/CSSPropertyPriority.h b/third_party/WebKit/Source/core/css/resolver/CSSPropertyPriority.h
index c8df1616d970f1aa01bf748e99a6e400aaa4f62b..8d4c2161a41425eff9d946eefc97eb68353f809d 100644
--- a/third_party/WebKit/Source/core/css/resolver/CSSPropertyPriority.h
+++ b/third_party/WebKit/Source/core/css/resolver/CSSPropertyPriority.h
@@ -14,6 +14,8 @@ namespace blink {
// properties. For example, the value of the high priority property 'font-size'
// decides the pixel value of low priority properties with 'em' units.
+// TODO(sashab): Generate the methods in this file.
+
enum CSSPropertyPriority {
ResolveVariables = 0,
AnimationPropertyPriority,
@@ -82,9 +84,9 @@ inline CSSPropertyID CSSPropertyPriorityData<HighPropertyPriority>::last() {
static_assert(
CSSPropertyZoom == CSSPropertyColor + 21,
"CSSPropertyZoom should be the end of the high priority property range");
- static_assert(
- CSSPropertyTextRendering == CSSPropertyZoom - 1,
- "CSSPropertyTextRendering should be immediately before CSSPropertyZoom");
+ static_assert(CSSPropertyWritingMode == CSSPropertyZoom - 1,
+ "CSSPropertyWritingMode should be immediately before "
+ "CSSPropertyZoom");
return CSSPropertyZoom;
}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698