OLD | NEW |
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 do not get their own enum and instead map | 7 // Properties specifying alias_for do not get their own enum and instead map |
8 // directly onto the CSSPropertyID they alias. Currently this means that the | 8 // directly onto the CSSPropertyID they alias. Currently this means that the |
9 // UseCounter will not pick up on these (crbug.com/304855) | 9 // UseCounter will not pick up on these (crbug.com/304855) |
10 | 10 |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 text-shadow animatable, inherited, converter=convertShadow | 206 text-shadow animatable, inherited, converter=convertShadow |
207 text-underline-position runtime_flag=CSS3TextDecorations, inherited, type_name=T
extUnderlinePosition | 207 text-underline-position runtime_flag=CSS3TextDecorations, inherited, type_name=T
extUnderlinePosition |
208 top animatable, initial=initialOffset, converter=convertLengthOrAuto | 208 top animatable, initial=initialOffset, converter=convertLengthOrAuto |
209 touch-action converter=convertFlags<TouchAction> | 209 touch-action converter=convertFlags<TouchAction> |
210 touch-action-delay runtime_flag=CSSTouchActionDelay, inherited, type_name=TouchA
ctionDelay | 210 touch-action-delay runtime_flag=CSSTouchActionDelay, inherited, type_name=TouchA
ctionDelay |
211 transform animatable, custom_value | 211 transform animatable, custom_value |
212 transform-origin animatable, custom_all | 212 transform-origin animatable, custom_all |
213 transform-style name_for_methods=TransformStyle3D | 213 transform-style name_for_methods=TransformStyle3D |
214 unicode-bidi | 214 unicode-bidi |
215 vertical-align animatable, custom_inherit, custom_value | 215 vertical-align animatable, custom_inherit, custom_value |
216 -webkit-animation-delay custom_all | 216 animation-delay custom_all |
217 -webkit-animation-direction custom_all | 217 animation-direction custom_all |
218 -webkit-animation-duration custom_all | 218 animation-duration custom_all |
219 -webkit-animation-fill-mode custom_all | 219 animation-fill-mode custom_all |
220 -webkit-animation-iteration-count custom_all | 220 animation-iteration-count custom_all |
221 -webkit-animation-name custom_all | 221 animation-name custom_all |
222 -webkit-animation-play-state custom_all | 222 animation-play-state custom_all |
223 -webkit-animation-timing-function custom_all | 223 animation-timing-function custom_all |
224 -webkit-aspect-ratio inherited, custom_all | 224 -webkit-aspect-ratio inherited, custom_all |
225 -webkit-backface-visibility use_handlers_for=CSSPropertyBackfaceVisibility | 225 -webkit-backface-visibility use_handlers_for=CSSPropertyBackfaceVisibility |
226 -webkit-background-clip use_handlers_for=CSSPropertyBackgroundClip | 226 -webkit-background-clip use_handlers_for=CSSPropertyBackgroundClip |
227 -webkit-background-composite custom_all | 227 -webkit-background-composite custom_all |
228 -webkit-background-origin use_handlers_for=CSSPropertyBackgroundOrigin | 228 -webkit-background-origin use_handlers_for=CSSPropertyBackgroundOrigin |
229 -webkit-background-size animatable, use_handlers_for=CSSPropertyBackgroundSize | 229 -webkit-background-size animatable, use_handlers_for=CSSPropertyBackgroundSize |
230 -webkit-border-horizontal-spacing animatable, inherited, name_for_methods=Horizo
ntalBorderSpacing, converter=convertComputedLength<short> | 230 -webkit-border-horizontal-spacing animatable, inherited, name_for_methods=Horizo
ntalBorderSpacing, converter=convertComputedLength<short> |
231 -webkit-border-image initial=initialNinePieceImage, custom_value | 231 -webkit-border-image initial=initialNinePieceImage, custom_value |
232 -webkit-border-vertical-spacing animatable, inherited, name_for_methods=Vertical
BorderSpacing, converter=convertComputedLength<short> | 232 -webkit-border-vertical-spacing animatable, inherited, name_for_methods=Vertical
BorderSpacing, converter=convertComputedLength<short> |
233 -webkit-box-decoration-break | 233 -webkit-box-decoration-break |
(...skipping 28 matching lines...) Expand all Loading... |
262 -webkit-text-emphasis-position inherited, type_name=TextEmphasisPosition | 262 -webkit-text-emphasis-position inherited, type_name=TextEmphasisPosition |
263 -webkit-text-emphasis-style inherited, custom_all | 263 -webkit-text-emphasis-style inherited, custom_all |
264 -webkit-text-fill-color inherited, custom_all | 264 -webkit-text-fill-color inherited, custom_all |
265 -webkit-text-stroke-color animatable, inherited, custom_all | 265 -webkit-text-stroke-color animatable, inherited, custom_all |
266 -webkit-text-stroke-width inherited, converter=convertTextStrokeWidth | 266 -webkit-text-stroke-width inherited, converter=convertTextStrokeWidth |
267 -webkit-transform use_handlers_for=CSSPropertyTransform | 267 -webkit-transform use_handlers_for=CSSPropertyTransform |
268 -webkit-transform-origin-x converter=convertLength | 268 -webkit-transform-origin-x converter=convertLength |
269 -webkit-transform-origin-y converter=convertLength | 269 -webkit-transform-origin-y converter=convertLength |
270 -webkit-transform-origin-z converter=convertComputedLength<float> | 270 -webkit-transform-origin-z converter=convertComputedLength<float> |
271 -webkit-transform-style name_for_methods=TransformStyle3D | 271 -webkit-transform-style name_for_methods=TransformStyle3D |
272 -webkit-transition-delay custom_all | 272 transition-delay custom_all |
273 -webkit-transition-duration custom_all | 273 transition-duration custom_all |
274 -webkit-transition-property custom_all | 274 transition-property custom_all |
275 -webkit-transition-timing-function custom_all | 275 transition-timing-function custom_all |
276 -webkit-user-drag | 276 -webkit-user-drag |
277 -webkit-user-modify inherited | 277 -webkit-user-modify inherited |
278 -webkit-user-select inherited | 278 -webkit-user-select inherited |
279 white-space inherited | 279 white-space inherited |
280 widows animatable, inherited, type_name=short, custom_all | 280 widows animatable, inherited, type_name=short, custom_all |
281 width animatable, initial=initialSize, converter=convertLengthSizing | 281 width animatable, initial=initialSize, converter=convertLengthSizing |
282 will-change custom_all | 282 will-change custom_all |
283 word-break inherited | 283 word-break inherited |
284 word-spacing animatable, inherited, initial=initialLetterWordSpacing, converter=
convertSpacing | 284 word-spacing animatable, inherited, initial=initialLetterWordSpacing, converter=
convertSpacing |
285 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' prope
rty. So using the same handlers. | 285 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' prope
rty. So using the same handlers. |
(...skipping 22 matching lines...) Expand all Loading... |
308 -webkit-padding-start direction_aware | 308 -webkit-padding-start direction_aware |
309 -webkit-padding-before direction_aware | 309 -webkit-padding-before direction_aware |
310 -webkit-padding-after direction_aware | 310 -webkit-padding-after direction_aware |
311 -webkit-logical-width direction_aware | 311 -webkit-logical-width direction_aware |
312 -webkit-logical-height direction_aware | 312 -webkit-logical-height direction_aware |
313 -webkit-min-logical-width direction_aware | 313 -webkit-min-logical-width direction_aware |
314 -webkit-min-logical-height direction_aware | 314 -webkit-min-logical-height direction_aware |
315 -webkit-max-logical-width direction_aware | 315 -webkit-max-logical-width direction_aware |
316 -webkit-max-logical-height direction_aware | 316 -webkit-max-logical-height direction_aware |
317 | 317 |
318 // Properties that we ignore in the StyleBuilder. Note that unprefixed animation | 318 // Properties that we ignore in the StyleBuilder. |
319 // and transition properties are here due to the way they have been unprefixed | |
320 // FIXME: We should see if any of these should actually be unreachable | 319 // FIXME: We should see if any of these should actually be unreachable |
321 | 320 |
322 all builder_skip | 321 all builder_skip |
323 animation-delay runtime_flag=CSSAnimationUnprefixed, builder_skip | |
324 animation-direction runtime_flag=CSSAnimationUnprefixed, builder_skip | |
325 animation-duration runtime_flag=CSSAnimationUnprefixed, builder_skip | |
326 animation-fill-mode runtime_flag=CSSAnimationUnprefixed, builder_skip | |
327 animation-iteration-count runtime_flag=CSSAnimationUnprefixed, builder_skip | |
328 animation-name runtime_flag=CSSAnimationUnprefixed, builder_skip | |
329 animation-play-state runtime_flag=CSSAnimationUnprefixed, builder_skip | |
330 animation-timing-function runtime_flag=CSSAnimationUnprefixed, builder_skip | |
331 orientation builder_skip | 322 orientation builder_skip |
332 page builder_skip | 323 page builder_skip |
333 src builder_skip | 324 src builder_skip |
334 transition-delay builder_skip | |
335 transition-duration builder_skip | |
336 transition-property builder_skip | |
337 transition-timing-function builder_skip | |
338 unicode-range builder_skip | 325 unicode-range builder_skip |
339 -webkit-font-size-delta builder_skip | 326 -webkit-font-size-delta builder_skip |
340 -webkit-text-decorations-in-effect inherited, builder_skip | 327 -webkit-text-decorations-in-effect inherited, builder_skip |
341 | 328 |
342 // Shorthands | 329 // Shorthands |
343 | 330 |
344 animation runtime_flag=CSSAnimationUnprefixed, longhands=animation-name;animatio
n-duration;animation-timing-function;animation-delay;animation-iteration-count;a
nimation-direction;animation-fill-mode;animation-play-state | |
345 background longhands=background-image;background-position-x;background-position-
y;background-size;background-repeat-x;background-repeat-y;background-attachment;
background-origin;background-clip;background-color | 331 background longhands=background-image;background-position-x;background-position-
y;background-size;background-repeat-x;background-repeat-y;background-attachment;
background-origin;background-clip;background-color |
346 background-position longhands=background-position-x;background-position-y | 332 background-position longhands=background-position-x;background-position-y |
347 background-repeat longhands=background-repeat-x;background-repeat-y | 333 background-repeat longhands=background-repeat-x;background-repeat-y |
348 border longhands=border-top-color;border-top-style;border-top-width;border-right
-color;border-right-style;border-right-width;border-bottom-color;border-bottom-s
tyle;border-bottom-width;border-left-color;border-left-style;border-left-width | 334 border longhands=border-top-color;border-top-style;border-top-width;border-right
-color;border-right-style;border-right-width;border-bottom-color;border-bottom-s
tyle;border-bottom-width;border-left-color;border-left-style;border-left-width |
349 border-bottom longhands=border-bottom-width;border-bottom-style;border-bottom-co
lor | 335 border-bottom longhands=border-bottom-width;border-bottom-style;border-bottom-co
lor |
350 border-color longhands=border-top-color;border-right-color;border-bottom-color;b
order-left-color | 336 border-color longhands=border-top-color;border-right-color;border-bottom-color;b
order-left-color |
351 border-image longhands=border-image-source;border-image-slice;border-image-width
;border-image-outset;border-image-repeat | 337 border-image longhands=border-image-source;border-image-slice;border-image-width
;border-image-outset;border-image-repeat |
352 border-left longhands=border-left-width;border-left-style;border-left-color | 338 border-left longhands=border-left-width;border-left-style;border-left-color |
353 border-radius longhands=border-top-left-radius;border-top-right-radius;border-bo
ttom-right-radius;border-bottom-left-radius | 339 border-radius longhands=border-top-left-radius;border-top-right-radius;border-bo
ttom-right-radius;border-bottom-left-radius |
354 border-right longhands=border-right-width;border-right-style;border-right-color | 340 border-right longhands=border-right-width;border-right-style;border-right-color |
355 border-spacing longhands=-webkit-border-horizontal-spacing;-webkit-border-vertic
al-spacing | 341 border-spacing longhands=-webkit-border-horizontal-spacing;-webkit-border-vertic
al-spacing |
356 border-style longhands=border-top-style;border-right-style;border-bottom-style;b
order-left-style | 342 border-style longhands=border-top-style;border-right-style;border-bottom-style;b
order-left-style |
357 border-top longhands=border-top-width;border-top-style;border-top-color | 343 border-top longhands=border-top-width;border-top-style;border-top-color |
358 border-width longhands=border-top-width;border-right-width;border-bottom-width;b
order-left-width | 344 border-width longhands=border-top-width;border-right-width;border-bottom-width;b
order-left-width |
359 flex longhands=flex-grow;flex-shrink;flex-basis | 345 flex longhands=flex-grow;flex-shrink;flex-basis |
360 flex-flow longhands=flex-direction;flex-wrap | 346 flex-flow longhands=flex-direction;flex-wrap |
361 list-style longhands=list-style-type;list-style-position;list-style-image | 347 list-style longhands=list-style-type;list-style-position;list-style-image |
362 margin longhands=margin-top;margin-right;margin-bottom;margin-left | 348 margin longhands=margin-top;margin-right;margin-bottom;margin-left |
363 outline longhands=outline-color;outline-style;outline-width | 349 outline longhands=outline-color;outline-style;outline-width |
364 overflow longhands=overflow-x;overflow-y | 350 overflow longhands=overflow-x;overflow-y |
365 padding longhands=padding-top;padding-right;padding-bottom;padding-left | 351 padding longhands=padding-top;padding-right;padding-bottom;padding-left |
366 transition longhands=transition-property;transition-duration;transition-timing-f
unction;transition-delay | 352 animation longhands=animation-name;animation-duration;animation-timing-function;
animation-delay;animation-iteration-count;animation-direction;animation-fill-mod
e;animation-play-state |
367 -webkit-animation longhands=-webkit-animation-name;-webkit-animation-duration;-w
ebkit-animation-timing-function;-webkit-animation-delay;-webkit-animation-iterat
ion-count;-webkit-animation-direction;-webkit-animation-fill-mode;-webkit-animat
ion-play-state | |
368 -webkit-border-after longhands=-webkit-border-after-width;-webkit-border-after-s
tyle;-webkit-border-after-color | 353 -webkit-border-after longhands=-webkit-border-after-width;-webkit-border-after-s
tyle;-webkit-border-after-color |
369 -webkit-border-before longhands=-webkit-border-before-width;-webkit-border-befor
e-style;-webkit-border-before-color | 354 -webkit-border-before longhands=-webkit-border-before-width;-webkit-border-befor
e-style;-webkit-border-before-color |
370 -webkit-border-end longhands=-webkit-border-end-width;-webkit-border-end-style;-
webkit-border-end-color | 355 -webkit-border-end longhands=-webkit-border-end-width;-webkit-border-end-style;-
webkit-border-end-color |
371 // "-webkit-border-radius: 1px 2px" behaves as "border-radius: 1px / 2px" | 356 // "-webkit-border-radius: 1px 2px" behaves as "border-radius: 1px / 2px" |
372 -webkit-border-radius longhands=border-top-left-radius;border-top-right-radius;b
order-bottom-right-radius;border-bottom-left-radius | 357 -webkit-border-radius longhands=border-top-left-radius;border-top-right-radius;b
order-bottom-right-radius;border-bottom-left-radius |
373 -webkit-border-start longhands=-webkit-border-start-width;-webkit-border-start-s
tyle;-webkit-border-start-color | 358 -webkit-border-start longhands=-webkit-border-start-width;-webkit-border-start-s
tyle;-webkit-border-start-color |
374 -webkit-mask longhands=-webkit-mask-image;-webkit-mask-position-x;-webkit-mask-p
osition-y;-webkit-mask-size;-webkit-mask-repeat-x;-webkit-mask-repeat-y;-webkit-
mask-origin;-webkit-mask-clip | 359 -webkit-mask longhands=-webkit-mask-image;-webkit-mask-position-x;-webkit-mask-p
osition-y;-webkit-mask-size;-webkit-mask-repeat-x;-webkit-mask-repeat-y;-webkit-
mask-origin;-webkit-mask-clip |
375 -webkit-mask-box-image longhands=-webkit-mask-box-image-source;-webkit-mask-box-
image-slice;-webkit-mask-box-image-width;-webkit-mask-box-image-outset;-webkit-m
ask-box-image-repeat | 360 -webkit-mask-box-image longhands=-webkit-mask-box-image-source;-webkit-mask-box-
image-slice;-webkit-mask-box-image-width;-webkit-mask-box-image-outset;-webkit-m
ask-box-image-repeat |
376 -webkit-mask-position longhands=-webkit-mask-position-x;-webkit-mask-position-y | 361 -webkit-mask-position longhands=-webkit-mask-position-x;-webkit-mask-position-y |
377 -webkit-mask-repeat longhands=-webkit-mask-repeat-x;-webkit-mask-repeat-y | 362 -webkit-mask-repeat longhands=-webkit-mask-repeat-x;-webkit-mask-repeat-y |
378 -webkit-text-emphasis longhands=-webkit-text-emphasis-style;-webkit-text-emphasi
s-color | 363 -webkit-text-emphasis longhands=-webkit-text-emphasis-style;-webkit-text-emphasi
s-color |
379 -webkit-text-stroke longhands=-webkit-text-stroke-width;-webkit-text-stroke-colo
r | 364 -webkit-text-stroke longhands=-webkit-text-stroke-width;-webkit-text-stroke-colo
r |
380 -webkit-transform-origin longhands=-webkit-transform-origin-x;-webkit-transform-
origin-y;-webkit-transform-origin-z | 365 -webkit-transform-origin longhands=-webkit-transform-origin-x;-webkit-transform-
origin-y;-webkit-transform-origin-z |
381 -webkit-transition longhands=-webkit-transition-property;-webkit-transition-dura
tion;-webkit-transition-timing-function;-webkit-transition-delay | 366 transition longhands=transition-property;transition-duration;transition-timing-f
unction;transition-delay |
382 | 367 |
383 // Aliases; these map to the same CSSPropertyID | 368 // Aliases; these map to the same CSSPropertyID |
384 | 369 |
385 -epub-caption-side alias_for=caption-side | 370 -epub-caption-side alias_for=caption-side |
386 -epub-text-emphasis alias_for=-webkit-text-emphasis | 371 -epub-text-emphasis alias_for=-webkit-text-emphasis |
387 -epub-text-emphasis-color alias_for=-webkit-text-emphasis-color | 372 -epub-text-emphasis-color alias_for=-webkit-text-emphasis-color |
388 -epub-text-emphasis-style alias_for=-webkit-text-emphasis-style | 373 -epub-text-emphasis-style alias_for=-webkit-text-emphasis-style |
389 -epub-text-orientation alias_for=-webkit-text-orientation | 374 -epub-text-orientation alias_for=-webkit-text-orientation |
390 -epub-word-break alias_for=word-break | 375 -epub-word-break alias_for=word-break |
391 -webkit-align-content alias_for=align-content | 376 -webkit-align-content alias_for=align-content |
392 -webkit-align-items alias_for=align-items | 377 -webkit-align-items alias_for=align-items |
393 -webkit-align-self alias_for=align-self | 378 -webkit-align-self alias_for=align-self |
394 -webkit-border-bottom-left-radius alias_for=border-bottom-left-radius | 379 -webkit-border-bottom-left-radius alias_for=border-bottom-left-radius |
395 -webkit-border-bottom-right-radius alias_for=border-bottom-right-radius | 380 -webkit-border-bottom-right-radius alias_for=border-bottom-right-radius |
396 -webkit-border-top-left-radius alias_for=border-top-left-radius | 381 -webkit-border-top-left-radius alias_for=border-top-left-radius |
397 -webkit-border-top-right-radius alias_for=border-top-right-radius | 382 -webkit-border-top-right-radius alias_for=border-top-right-radius |
398 -webkit-box-sizing alias_for=box-sizing | 383 -webkit-box-sizing alias_for=box-sizing |
399 -webkit-flex alias_for=flex | 384 -webkit-flex alias_for=flex |
400 -webkit-flex-basis alias_for=flex-basis | 385 -webkit-flex-basis alias_for=flex-basis |
401 -webkit-flex-direction alias_for=flex-direction | 386 -webkit-flex-direction alias_for=flex-direction |
402 -webkit-flex-flow alias_for=flex-flow | 387 -webkit-flex-flow alias_for=flex-flow |
403 -webkit-flex-grow alias_for=flex-grow | 388 -webkit-flex-grow alias_for=flex-grow |
404 -webkit-flex-shrink alias_for=flex-shrink | 389 -webkit-flex-shrink alias_for=flex-shrink |
405 -webkit-flex-wrap alias_for=flex-wrap | 390 -webkit-flex-wrap alias_for=flex-wrap |
406 -webkit-justify-content alias_for=justify-content | 391 -webkit-justify-content alias_for=justify-content |
407 -webkit-opacity alias_for=opacity | 392 -webkit-opacity alias_for=opacity |
408 -webkit-order alias_for=order | 393 -webkit-order alias_for=order |
OLD | NEW |