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

Unified Diff: third_party/WebKit/Source/core/css/CSSProperties.in

Issue 2096133002: [Typed OM] Add support for properties which take numbers in CSSProperties.in (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync to head Created 4 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: third_party/WebKit/Source/core/css/CSSProperties.in
diff --git a/third_party/WebKit/Source/core/css/CSSProperties.in b/third_party/WebKit/Source/core/css/CSSProperties.in
index 593a53b3f1811d3d9556fdf22e24e919416bb739..b275d4627ba5432938e414811c98984090be10ba 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.in
+++ b/third_party/WebKit/Source/core/css/CSSProperties.in
@@ -128,7 +128,7 @@ animation-delay custom_all
animation-direction custom_all
animation-duration custom_all
animation-fill-mode custom_all
-animation-iteration-count custom_all
+animation-iteration-count typedom_types=[Number], keywords=[infinite], supports_multiple, custom_all
animation-name custom_all
animation-play-state custom_all
animation-timing-function custom_all
@@ -230,7 +230,7 @@ justify-self runtime_flag=CSSGridLayout, initial=initialSelfAlignment, converter
left typedom_types=[Length], keywords=[auto], supports_percentage, interpolable, initial=initialOffset, converter=convertLengthOrAuto
letter-spacing interpolable, inherited, initial=initialLetterWordSpacing, converter=convertSpacing
lighting-color interpolable, svg, converter=convertColor
-line-height interpolable, inherited, getter=specifiedLineHeight, converter=convertLineHeight
+line-height interpolable, inherited, getter=specifiedLineHeight, converter=convertLineHeight, typedom_types=[Number|Length], keywords=[normal], supports_percentage
list-style-image interpolable, inherited, custom_value
list-style-position inherited
list-style-type inherited
@@ -256,7 +256,7 @@ object-fit type_name=ObjectFit
object-position interpolable, converter=convertPosition
opacity interpolable, type_name=float
order type_name=int
-orphans interpolable, inherited, type_name=short
+orphans interpolable, inherited, type_name=short, typedom_types=[Number]
outline-color interpolable, custom_all
outline-offset interpolable, converter=convertComputedLength<int>
outline-style custom_all
@@ -356,7 +356,7 @@ y interpolable, svg, converter=convertLength
-webkit-box-pack
-webkit-box-reflect converter=convertBoxReflect
-webkit-clip-path interpolable, converter=convertClipPath
-column-count interpolable, type_name=unsigned short, custom_all
+column-count interpolable, type_name=unsigned short, typedom_types=[Number], keywords=[auto], custom_all
column-gap interpolable, converter=convertComputedLength<float>, custom_all
column-rule-color interpolable, custom_all
column-rule-style type_name=EBorderStyle, initial=initialBorderStyle
@@ -406,14 +406,14 @@ column-width interpolable, converter=convertComputedLength<float>, custom_all
-webkit-user-modify inherited
-webkit-user-select inherited
white-space inherited
-widows interpolable, inherited, type_name=short
+widows interpolable, inherited, type_name=short, typedom_types=[Number]
width interpolable, initial=initialSize, converter=convertLengthSizing, typedom_types=[Length], keywords=[auto], supports_percentage
will-change custom_all
word-break inherited
word-spacing interpolable, inherited, initial=initialLetterWordSpacing, converter=convertSpacing
// UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' property. So using the same handlers.
word-wrap inherited, name_for_methods=OverflowWrap
-z-index interpolable, type_name=int, custom_all
+z-index interpolable, type_name=int, typedom_types=[Number], keywords=[auto], custom_all
// Non-standard direction aware properties

Powered by Google App Engine
This is Rietveld 408576698