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

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: 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..abb44c064b843eaf4ecce1c46c4524bb144d9cca 100644
--- a/Source/core/css/CSSPropertyNames.in
+++ b/Source/core/css/CSSPropertyNames.in
@@ -30,11 +30,17 @@ text-rendering
-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 +115,7 @@ justify-items
justify-self
left
letter-spacing
+line-height
list-style
list-style-image
list-style-position
@@ -257,7 +264,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 +408,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