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

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: move functions around :| Created 6 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: Source/core/css/CSSPropertyNames.in
diff --git a/Source/core/css/CSSPropertyNames.in b/Source/core/css/CSSPropertyNames.in
index bec51087cb67eb621fd0d9d9ce3f16d0ce5c3a7c..6684ae34ec9201353301fa942e17dcd9ef3d4073 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
@@ -26,15 +29,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
@@ -257,7 +266,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;"
@@ -402,10 +410,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

Powered by Google App Engine
This is Rietveld 408576698