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. | |
ojan
2016/09/07 03:46:10
<3
| |
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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
335 translate runtime_flag=CSSIndependentTransformProperties, converter=convertTrans late, interpolable | 350 translate runtime_flag=CSSIndependentTransformProperties, converter=convertTrans late, interpolable |
336 rotate runtime_flag=CSSIndependentTransformProperties, converter=convertRotate, interpolable | 351 rotate runtime_flag=CSSIndependentTransformProperties, converter=convertRotate, interpolable |
337 scale runtime_flag=CSSIndependentTransformProperties, converter=convertScale, in terpolable | 352 scale runtime_flag=CSSIndependentTransformProperties, converter=convertScale, in terpolable |
338 transition-delay custom_all | 353 transition-delay custom_all |
339 transition-duration custom_all | 354 transition-duration custom_all |
340 transition-property custom_all | 355 transition-property custom_all |
341 transition-timing-function custom_all | 356 transition-timing-function custom_all |
342 unicode-bidi | 357 unicode-bidi |
343 vector-effect svg | 358 vector-effect svg |
344 vertical-align interpolable, custom_inherit, custom_value | 359 vertical-align interpolable, custom_inherit, custom_value |
345 visibility interpolable, inherited, independent | 360 visibility interpolable, inherited, independent, keyword_only, keywords=[visible |hidden|collapse] |
346 x interpolable, svg, converter=convertLength | 361 x interpolable, svg, converter=convertLength |
347 y interpolable, svg, converter=convertLength | 362 y interpolable, svg, converter=convertLength |
348 -webkit-appearance type_name=ControlPart | 363 -webkit-appearance type_name=ControlPart |
349 -webkit-app-region custom_all | 364 -webkit-app-region custom_all |
350 -webkit-background-clip use_handlers_for=CSSPropertyBackgroundClip | 365 -webkit-background-clip use_handlers_for=CSSPropertyBackgroundClip |
351 -webkit-background-origin use_handlers_for=CSSPropertyBackgroundOrigin | 366 -webkit-background-origin use_handlers_for=CSSPropertyBackgroundOrigin |
352 -webkit-border-horizontal-spacing interpolable, inherited, name_for_methods=Hori zontalBorderSpacing, converter=convertComputedLength<short> | 367 -webkit-border-horizontal-spacing interpolable, inherited, name_for_methods=Hori zontalBorderSpacing, converter=convertComputedLength<short> |
353 -webkit-border-image initial=initialNinePieceImage, custom_value | 368 -webkit-border-image initial=initialNinePieceImage, custom_value |
354 -webkit-border-vertical-spacing interpolable, inherited, name_for_methods=Vertic alBorderSpacing, converter=convertComputedLength<short> | 369 -webkit-border-vertical-spacing interpolable, inherited, name_for_methods=Vertic alBorderSpacing, converter=convertComputedLength<short> |
355 -webkit-box-align type_name=EBoxAlignment | 370 -webkit-box-align type_name=EBoxAlignment |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
587 -webkit-text-size-adjust alias_for=text-size-adjust | 602 -webkit-text-size-adjust alias_for=text-size-adjust |
588 -webkit-transform alias_for=transform | 603 -webkit-transform alias_for=transform |
589 -webkit-transform-origin alias_for=transform-origin | 604 -webkit-transform-origin alias_for=transform-origin |
590 -webkit-transform-style alias_for=transform-style | 605 -webkit-transform-style alias_for=transform-style |
591 -webkit-transition alias_for=transition | 606 -webkit-transition alias_for=transition |
592 -webkit-transition-delay alias_for=transition-delay | 607 -webkit-transition-delay alias_for=transition-delay |
593 -webkit-transition-duration alias_for=transition-duration | 608 -webkit-transition-duration alias_for=transition-duration |
594 -webkit-transition-property alias_for=transition-property | 609 -webkit-transition-property alias_for=transition-property |
595 -webkit-transition-timing-function alias_for=transition-timing-function | 610 -webkit-transition-timing-function alias_for=transition-timing-function |
596 -webkit-user-select alias_for=user-select | 611 -webkit-user-select alias_for=user-select |
OLD | NEW |