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

Unified Diff: Source/core/css/CSSPropertyNames.in

Issue 350333003: Cascade declared property values instead of applying values on top of each other (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 4 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 | « Source/core/css/CSSProperty.cpp ('k') | Source/core/css/resolver/CascadedValues.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSPropertyNames.in
diff --git a/Source/core/css/CSSPropertyNames.in b/Source/core/css/CSSPropertyNames.in
index 87df7aaa3b5d5f28486e870ef989de806b4c8a54..598c6fc728dd905dc6aecea39aeadf338da43c2f 100644
--- a/Source/core/css/CSSPropertyNames.in
+++ b/Source/core/css/CSSPropertyNames.in
@@ -8,10 +8,13 @@
// http://msdn.microsoft.com/workshop/author/css/reference/attributes.asp
//
+// super-high-priority properties impact the non-standard direction aware properties
+direction
+-webkit-writing-mode
+
// high-priority properties (those on which other properties can depend) must
// be listed first
color
-direction
font
font-family
font-kerning
@@ -27,15 +30,20 @@ text-rendering
-webkit-locale
-webkit-text-orientation
-epub-text-orientation alias_for=-webkit-text-orientation
--webkit-writing-mode
-epub-writing-mode alias_for=-webkit-writing-mode
zoom
-// line height needs to be right after the above high-priority properties
-line-height
-
// The remaining properties are listed in some order
background
+
+// These set the same RenderStyle values as other non-prefixed properties,
+// we should use those if they are specified.
+-webkit-border-image
+-webkit-transform-origin
+-webkit-transform-origin-x
+-webkit-transform-origin-y
+-webkit-transform-origin-z
+
background-attachment
background-blend-mode
background-clip
@@ -109,6 +117,7 @@ justify-items
justify-self
left
letter-spacing
+line-height
list-style
list-style-image
list-style-position
@@ -245,7 +254,6 @@ backface-visibility
-webkit-border-end-width
-webkit-border-fit
-webkit-border-horizontal-spacing
--webkit-border-image
// -webkit-border-radius differs from border-radius only in the interpretation of
// a value consisting of two lengths: "-webkit-border-radius: l1 l2;" is equivalent
// to "border-radius: l1 / l2;"
@@ -390,10 +398,6 @@ perspective-origin
transform
-webkit-transform
transform-origin
--webkit-transform-origin
--webkit-transform-origin-x
--webkit-transform-origin-y
--webkit-transform-origin-z
transform-style
-webkit-transform-style
-webkit-user-drag
« no previous file with comments | « Source/core/css/CSSProperty.cpp ('k') | Source/core/css/resolver/CascadedValues.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698