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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // This file specifies all the CSS properties we support and the necessary 1 // This file specifies all the CSS properties we support and the necessary
2 // information for our code generation. The various supported arguments 2 // information for our code generation. The various supported arguments
3 // are described below with example usage 3 // are described below with example usage
4 4
5 5
6 // - alias_for=other-property 6 // - alias_for=other-property
7 // Properties specifying alias_for should be virtually identical to the 7 // Properties specifying alias_for should be virtually identical to the
8 // properties they alias. Minor parsing differences are allowed as long as 8 // properties they alias. Minor parsing differences are allowed as long as
9 // the CSSValues created are of the same format of the aliased property. 9 // the CSSValues created are of the same format of the aliased property.
10 10
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 zoom custom_all 121 zoom custom_all
122 122
123 align-content initial=initialContentAlignment, converter=convertContentAlignment Data 123 align-content initial=initialContentAlignment, converter=convertContentAlignment Data
124 align-items initial=initialSelfAlignment, converter=convertSelfOrDefaultAlignmen tData 124 align-items initial=initialSelfAlignment, converter=convertSelfOrDefaultAlignmen tData
125 alignment-baseline svg 125 alignment-baseline svg
126 align-self initial=initialSelfAlignment, converter=convertSelfOrDefaultAlignment Data 126 align-self initial=initialSelfAlignment, converter=convertSelfOrDefaultAlignment Data
127 animation-delay custom_all 127 animation-delay custom_all
128 animation-direction custom_all 128 animation-direction custom_all
129 animation-duration custom_all 129 animation-duration custom_all
130 animation-fill-mode custom_all 130 animation-fill-mode custom_all
131 animation-iteration-count custom_all 131 animation-iteration-count typedom_types=[Number], keywords=[infinite], supports_ multiple, custom_all
132 animation-name custom_all 132 animation-name custom_all
133 animation-play-state custom_all 133 animation-play-state custom_all
134 animation-timing-function custom_all 134 animation-timing-function custom_all
135 backdrop-filter interpolable, converter=convertFilterOperations, runtime_flag=CS SBackdropFilter 135 backdrop-filter interpolable, converter=convertFilterOperations, runtime_flag=CS SBackdropFilter
136 backface-visibility 136 backface-visibility
137 background-attachment custom_all 137 background-attachment custom_all
138 background-blend-mode custom_all 138 background-blend-mode custom_all
139 background-clip custom_all 139 background-clip custom_all
140 background-color interpolable, custom_all 140 background-color interpolable, custom_all
141 background-image interpolable, custom_all 141 background-image interpolable, custom_all
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 hyphens runtime_flag=CSSHyphens, inherited, type_name=Hyphens 223 hyphens runtime_flag=CSSHyphens, inherited, type_name=Hyphens
224 image-rendering inherited 224 image-rendering inherited
225 image-orientation runtime_flag=ImageOrientation, inherited, name_for_methods=Res pectImageOrientation, converter=convertImageOrientation 225 image-orientation runtime_flag=ImageOrientation, inherited, name_for_methods=Res pectImageOrientation, converter=convertImageOrientation
226 isolation 226 isolation
227 justify-content initial=initialContentAlignment, converter=convertContentAlignme ntData 227 justify-content initial=initialContentAlignment, converter=convertContentAlignme ntData
228 justify-items runtime_flag=CSSGridLayout, initial=initialSelfAlignment, converte r=convertSelfOrDefaultAlignmentData 228 justify-items runtime_flag=CSSGridLayout, initial=initialSelfAlignment, converte r=convertSelfOrDefaultAlignmentData
229 justify-self runtime_flag=CSSGridLayout, initial=initialSelfAlignment, converter =convertSelfOrDefaultAlignmentData 229 justify-self runtime_flag=CSSGridLayout, initial=initialSelfAlignment, converter =convertSelfOrDefaultAlignmentData
230 left typedom_types=[Length], keywords=[auto], supports_percentage, interpolable, initial=initialOffset, converter=convertLengthOrAuto 230 left typedom_types=[Length], keywords=[auto], supports_percentage, interpolable, initial=initialOffset, converter=convertLengthOrAuto
231 letter-spacing interpolable, inherited, initial=initialLetterWordSpacing, conver ter=convertSpacing 231 letter-spacing interpolable, inherited, initial=initialLetterWordSpacing, conver ter=convertSpacing
232 lighting-color interpolable, svg, converter=convertColor 232 lighting-color interpolable, svg, converter=convertColor
233 line-height interpolable, inherited, getter=specifiedLineHeight, converter=conve rtLineHeight 233 line-height interpolable, inherited, getter=specifiedLineHeight, converter=conve rtLineHeight, typedom_types=[Number|Length], keywords=[normal], supports_percent age
234 list-style-image interpolable, inherited, custom_value 234 list-style-image interpolable, inherited, custom_value
235 list-style-position inherited 235 list-style-position inherited
236 list-style-type inherited 236 list-style-type inherited
237 margin-bottom interpolable, initial=initialMargin, converter=convertQuirkyLength 237 margin-bottom interpolable, initial=initialMargin, converter=convertQuirkyLength
238 margin-left interpolable, initial=initialMargin, converter=convertQuirkyLength 238 margin-left interpolable, initial=initialMargin, converter=convertQuirkyLength
239 margin-right interpolable, initial=initialMargin, converter=convertQuirkyLength 239 margin-right interpolable, initial=initialMargin, converter=convertQuirkyLength
240 margin-top interpolable, initial=initialMargin, converter=convertQuirkyLength 240 margin-top interpolable, initial=initialMargin, converter=convertQuirkyLength
241 marker-end inherited, svg, name_for_methods=MarkerEndResource, converter=convert FragmentIdentifier 241 marker-end inherited, svg, name_for_methods=MarkerEndResource, converter=convert FragmentIdentifier
242 marker-mid inherited, svg, name_for_methods=MarkerMidResource, converter=convert FragmentIdentifier 242 marker-mid inherited, svg, name_for_methods=MarkerMidResource, converter=convert FragmentIdentifier
243 marker-start inherited, svg, name_for_methods=MarkerStartResource, converter=con vertFragmentIdentifier 243 marker-start inherited, svg, name_for_methods=MarkerStartResource, converter=con vertFragmentIdentifier
244 mask svg, name_for_methods=MaskerResource, converter=convertFragmentIdentifier 244 mask svg, name_for_methods=MaskerResource, converter=convertFragmentIdentifier
245 mask-source-type runtime_flag=CSSMaskSourceType, custom_all 245 mask-source-type runtime_flag=CSSMaskSourceType, custom_all
246 mask-type svg 246 mask-type svg
247 max-height interpolable, initial=initialMaxSize, converter=convertLengthMaxSizin g 247 max-height interpolable, initial=initialMaxSize, converter=convertLengthMaxSizin g
248 max-width interpolable, initial=initialMaxSize, converter=convertLengthMaxSizing 248 max-width interpolable, initial=initialMaxSize, converter=convertLengthMaxSizing
249 min-height interpolable, initial=initialMinSize, converter=convertLengthSizing 249 min-height interpolable, initial=initialMinSize, converter=convertLengthSizing
250 min-width interpolable, initial=initialMinSize, converter=convertLengthSizing 250 min-width interpolable, initial=initialMinSize, converter=convertLengthSizing
251 mix-blend-mode type_name=blink::WebBlendMode, name_for_methods=BlendMode 251 mix-blend-mode type_name=blink::WebBlendMode, name_for_methods=BlendMode
252 motion-offset interpolable, converter=convertLength 252 motion-offset interpolable, converter=convertLength
253 motion-path converter=convertPathOrNone 253 motion-path converter=convertPathOrNone
254 motion-rotation interpolable, converter=convertMotionRotation 254 motion-rotation interpolable, converter=convertMotionRotation
255 object-fit type_name=ObjectFit 255 object-fit type_name=ObjectFit
256 object-position interpolable, converter=convertPosition 256 object-position interpolable, converter=convertPosition
257 opacity interpolable, type_name=float 257 opacity interpolable, type_name=float
258 order type_name=int 258 order type_name=int
259 orphans interpolable, inherited, type_name=short 259 orphans interpolable, inherited, type_name=short, typedom_types=[Number]
260 outline-color interpolable, custom_all 260 outline-color interpolable, custom_all
261 outline-offset interpolable, converter=convertComputedLength<int> 261 outline-offset interpolable, converter=convertComputedLength<int>
262 outline-style custom_all 262 outline-style custom_all
263 outline-width interpolable, converter=convertLineWidth<unsigned short> 263 outline-width interpolable, converter=convertLineWidth<unsigned short>
264 overflow-wrap inherited 264 overflow-wrap inherited
265 overflow-x type_name=EOverflow 265 overflow-x type_name=EOverflow
266 overflow-y type_name=EOverflow 266 overflow-y type_name=EOverflow
267 padding-bottom interpolable, initial=initialPadding, converter=convertLength 267 padding-bottom interpolable, initial=initialPadding, converter=convertLength
268 padding-left interpolable, initial=initialPadding, converter=convertLength 268 padding-left interpolable, initial=initialPadding, converter=convertLength
269 padding-right interpolable, initial=initialPadding, converter=convertLength 269 padding-right interpolable, initial=initialPadding, converter=convertLength
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 -webkit-box-decoration-break 349 -webkit-box-decoration-break
350 -webkit-box-direction inherited 350 -webkit-box-direction inherited
351 -webkit-box-flex type_name=float 351 -webkit-box-flex type_name=float
352 -webkit-box-flex-group type_name=unsigned int 352 -webkit-box-flex-group type_name=unsigned int
353 -webkit-box-lines 353 -webkit-box-lines
354 -webkit-box-ordinal-group type_name=unsigned int 354 -webkit-box-ordinal-group type_name=unsigned int
355 -webkit-box-orient 355 -webkit-box-orient
356 -webkit-box-pack 356 -webkit-box-pack
357 -webkit-box-reflect converter=convertBoxReflect 357 -webkit-box-reflect converter=convertBoxReflect
358 -webkit-clip-path interpolable, converter=convertClipPath 358 -webkit-clip-path interpolable, converter=convertClipPath
359 column-count interpolable, type_name=unsigned short, custom_all 359 column-count interpolable, type_name=unsigned short, typedom_types=[Number], key words=[auto], custom_all
360 column-gap interpolable, converter=convertComputedLength<float>, custom_all 360 column-gap interpolable, converter=convertComputedLength<float>, custom_all
361 column-rule-color interpolable, custom_all 361 column-rule-color interpolable, custom_all
362 column-rule-style type_name=EBorderStyle, initial=initialBorderStyle 362 column-rule-style type_name=EBorderStyle, initial=initialBorderStyle
363 column-rule-width interpolable, converter=convertLineWidth<unsigned short> 363 column-rule-width interpolable, converter=convertLineWidth<unsigned short>
364 column-span type_name=ColumnSpan 364 column-span type_name=ColumnSpan
365 column-width interpolable, converter=convertComputedLength<float>, custom_all 365 column-width interpolable, converter=convertComputedLength<float>, custom_all
366 -webkit-highlight inherited, converter=convertString<CSSValueNone> 366 -webkit-highlight inherited, converter=convertString<CSSValueNone>
367 -webkit-hyphenate-character inherited, name_for_methods=HyphenationString, conve rter=convertString<CSSValueAuto> 367 -webkit-hyphenate-character inherited, name_for_methods=HyphenationString, conve rter=convertString<CSSValueAuto>
368 -webkit-line-break inherited, type_name=LineBreak 368 -webkit-line-break inherited, type_name=LineBreak
369 -webkit-line-clamp type_name=LineClampValue 369 -webkit-line-clamp type_name=LineClampValue
(...skipping 29 matching lines...) Expand all
399 -webkit-text-security inherited 399 -webkit-text-security inherited
400 -webkit-text-stroke-color interpolable, inherited, custom_all 400 -webkit-text-stroke-color interpolable, inherited, custom_all
401 -webkit-text-stroke-width inherited, converter=convertTextStrokeWidth 401 -webkit-text-stroke-width inherited, converter=convertTextStrokeWidth
402 -webkit-transform-origin-x interpolable, converter=convertLength 402 -webkit-transform-origin-x interpolable, converter=convertLength
403 -webkit-transform-origin-y interpolable, converter=convertLength 403 -webkit-transform-origin-y interpolable, converter=convertLength
404 -webkit-transform-origin-z interpolable, converter=convertComputedLength<float> 404 -webkit-transform-origin-z interpolable, converter=convertComputedLength<float>
405 -webkit-user-drag 405 -webkit-user-drag
406 -webkit-user-modify inherited 406 -webkit-user-modify inherited
407 -webkit-user-select inherited 407 -webkit-user-select inherited
408 white-space inherited 408 white-space inherited
409 widows interpolable, inherited, type_name=short 409 widows interpolable, inherited, type_name=short, typedom_types=[Number]
410 width interpolable, initial=initialSize, converter=convertLengthSizing, typedom_ types=[Length], keywords=[auto], supports_percentage 410 width interpolable, initial=initialSize, converter=convertLengthSizing, typedom_ types=[Length], keywords=[auto], supports_percentage
411 will-change custom_all 411 will-change custom_all
412 word-break inherited 412 word-break inherited
413 word-spacing interpolable, inherited, initial=initialLetterWordSpacing, converte r=convertSpacing 413 word-spacing interpolable, inherited, initial=initialLetterWordSpacing, converte r=convertSpacing
414 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' prope rty. So using the same handlers. 414 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' prope rty. So using the same handlers.
415 word-wrap inherited, name_for_methods=OverflowWrap 415 word-wrap inherited, name_for_methods=OverflowWrap
416 z-index interpolable, type_name=int, custom_all 416 z-index interpolable, type_name=int, typedom_types=[Number], keywords=[auto], cu stom_all
417 417
418 // Non-standard direction aware properties 418 // Non-standard direction aware properties
419 419
420 -webkit-border-end-color direction_aware 420 -webkit-border-end-color direction_aware
421 -webkit-border-end-style direction_aware 421 -webkit-border-end-style direction_aware
422 -webkit-border-end-width direction_aware 422 -webkit-border-end-width direction_aware
423 -webkit-border-start-color direction_aware 423 -webkit-border-start-color direction_aware
424 -webkit-border-start-style direction_aware 424 -webkit-border-start-style direction_aware
425 -webkit-border-start-width direction_aware 425 -webkit-border-start-width direction_aware
426 -webkit-border-before-color direction_aware 426 -webkit-border-before-color direction_aware
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 -webkit-shape-outside alias_for=shape-outside 579 -webkit-shape-outside alias_for=shape-outside
580 -webkit-text-size-adjust alias_for=text-size-adjust 580 -webkit-text-size-adjust alias_for=text-size-adjust
581 -webkit-transform alias_for=transform 581 -webkit-transform alias_for=transform
582 -webkit-transform-origin alias_for=transform-origin 582 -webkit-transform-origin alias_for=transform-origin
583 -webkit-transform-style alias_for=transform-style 583 -webkit-transform-style alias_for=transform-style
584 -webkit-transition alias_for=transition 584 -webkit-transition alias_for=transition
585 -webkit-transition-delay alias_for=transition-delay 585 -webkit-transition-delay alias_for=transition-delay
586 -webkit-transition-duration alias_for=transition-duration 586 -webkit-transition-duration alias_for=transition-duration
587 -webkit-transition-property alias_for=transition-property 587 -webkit-transition-property alias_for=transition-property
588 -webkit-transition-timing-function alias_for=transition-timing-function 588 -webkit-transition-timing-function alias_for=transition-timing-function
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698