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 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 |
11 | 11 |
12 // - runtime_flag=CSSGridLayout | 12 // - runtime_flag=CSSGridLayout |
13 // The flag on RuntimeEnabledFeatures conditionally enables the property. | 13 // The flag on RuntimeEnabledFeatures conditionally enables the property. |
14 // This doesn't currently work with alias_for. | 14 // This doesn't currently work with alias_for. |
15 | 15 |
16 | 16 |
17 // - descriptor_only | 17 // - descriptor_only |
18 // These are actually descriptors and not CSS properties. Properties with | 18 // These are actually descriptors and not CSS properties. Properties with |
19 // the same name as a descriptor do not get this flag. | 19 // the same name as a descriptor do not get this flag. |
20 | 20 |
21 | 21 |
22 // - longhands=property;other-property | 22 // - longhands=property;other-property |
23 // The property is a shorthand for several other properties. | 23 // The property is a shorthand for several other properties. |
24 | 24 |
25 | 25 |
| 26 // keyword_only |
| 27 // These properties only store keyword values. This is used when |
| 28 // generating the ComputedStyle storage for the property. The initial |
| 29 // value for this property on a ComputedStyle is the first keyword in |
| 30 // the specified list of keywords. |
| 31 // TODO(sashab, meade): Remove this once TypedOM types are specified for |
| 32 // every property, since this value can be inferred from that. |
| 33 |
| 34 |
| 35 // - keywords=[keyword1|keyword2] |
| 36 // This specifies all valid keyword values for the property. |
| 37 // TODO(sashab): Once all properties are represented here, delete |
| 38 // CSSValueKeywords.in and use this list instead. |
| 39 |
| 40 |
26 // Flags which go into CSSOMTypes: | 41 // Flags which go into CSSOMTypes: |
27 // - typedom_types=[Type|OtherType] | 42 // - typedom_types=[Type|OtherType] |
28 // The property can take types specified in typedom_types for CSS Typed OM. | 43 // The property can take types specified in typedom_types for CSS Typed OM. |
29 // Keyword does not need to be specified as every property can take keywords. | 44 // Keyword does not need to be specified as every property can take keywords. |
30 // - keywords=[keyword1|keyword2] | 45 // - keywords=[keyword1|keyword2] |
31 // The property can take these keywords. | 46 // The property can take these keywords. |
32 // - supports_multiple | 47 // - supports_multiple |
33 // The property supports a list of values. | 48 // The property supports a list of values. |
34 // - supports_percentage | 49 // - supports_percentage |
35 // The property supports percentage types. | 50 // The property supports percentage types. |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 translate runtime_flag=CSSIndependentTransformProperties, converter=convertTrans
late, interpolable | 353 translate runtime_flag=CSSIndependentTransformProperties, converter=convertTrans
late, interpolable |
339 rotate runtime_flag=CSSIndependentTransformProperties, converter=convertRotate,
interpolable | 354 rotate runtime_flag=CSSIndependentTransformProperties, converter=convertRotate,
interpolable |
340 scale runtime_flag=CSSIndependentTransformProperties, converter=convertScale, in
terpolable | 355 scale runtime_flag=CSSIndependentTransformProperties, converter=convertScale, in
terpolable |
341 transition-delay custom_all | 356 transition-delay custom_all |
342 transition-duration custom_all | 357 transition-duration custom_all |
343 transition-property custom_all | 358 transition-property custom_all |
344 transition-timing-function custom_all | 359 transition-timing-function custom_all |
345 unicode-bidi | 360 unicode-bidi |
346 vector-effect svg | 361 vector-effect svg |
347 vertical-align interpolable, custom_inherit, custom_value | 362 vertical-align interpolable, custom_inherit, custom_value |
348 visibility interpolable, inherited, independent | 363 visibility interpolable, inherited, independent, keyword_only, keywords=[visible
|hidden|collapse] |
349 x interpolable, svg, converter=convertLength | 364 x interpolable, svg, converter=convertLength |
350 y interpolable, svg, converter=convertLength | 365 y interpolable, svg, converter=convertLength |
351 -webkit-appearance type_name=ControlPart | 366 -webkit-appearance type_name=ControlPart |
352 -webkit-app-region custom_all | 367 -webkit-app-region custom_all |
353 -webkit-background-clip use_handlers_for=CSSPropertyBackgroundClip | 368 -webkit-background-clip use_handlers_for=CSSPropertyBackgroundClip |
354 -webkit-background-origin use_handlers_for=CSSPropertyBackgroundOrigin | 369 -webkit-background-origin use_handlers_for=CSSPropertyBackgroundOrigin |
355 -webkit-border-horizontal-spacing interpolable, inherited, name_for_methods=Hori
zontalBorderSpacing, converter=convertComputedLength<short> | 370 -webkit-border-horizontal-spacing interpolable, inherited, name_for_methods=Hori
zontalBorderSpacing, converter=convertComputedLength<short> |
356 -webkit-border-image initial=initialNinePieceImage, custom_value | 371 -webkit-border-image initial=initialNinePieceImage, custom_value |
357 -webkit-border-vertical-spacing interpolable, inherited, name_for_methods=Vertic
alBorderSpacing, converter=convertComputedLength<short> | 372 -webkit-border-vertical-spacing interpolable, inherited, name_for_methods=Vertic
alBorderSpacing, converter=convertComputedLength<short> |
358 -webkit-box-align type_name=EBoxAlignment | 373 -webkit-box-align type_name=EBoxAlignment |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 -webkit-text-size-adjust alias_for=text-size-adjust | 606 -webkit-text-size-adjust alias_for=text-size-adjust |
592 -webkit-transform alias_for=transform | 607 -webkit-transform alias_for=transform |
593 -webkit-transform-origin alias_for=transform-origin | 608 -webkit-transform-origin alias_for=transform-origin |
594 -webkit-transform-style alias_for=transform-style | 609 -webkit-transform-style alias_for=transform-style |
595 -webkit-transition alias_for=transition | 610 -webkit-transition alias_for=transition |
596 -webkit-transition-delay alias_for=transition-delay | 611 -webkit-transition-delay alias_for=transition-delay |
597 -webkit-transition-duration alias_for=transition-duration | 612 -webkit-transition-duration alias_for=transition-duration |
598 -webkit-transition-property alias_for=transition-property | 613 -webkit-transition-property alias_for=transition-property |
599 -webkit-transition-timing-function alias_for=transition-timing-function | 614 -webkit-transition-timing-function alias_for=transition-timing-function |
600 -webkit-user-select alias_for=user-select | 615 -webkit-user-select alias_for=user-select |
OLD | NEW |