| 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 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 // - keywords=[keyword1|keyword2] | 35 // - keywords=[keyword1|keyword2] |
| 36 // This specifies all valid keyword values for the property. | 36 // This specifies all valid keyword values for the property. |
| 37 // TODO(sashab): Once all properties are represented here, delete | 37 // TODO(sashab): Once all properties are represented here, delete |
| 38 // CSSValueKeywords.in and use this list instead. | 38 // CSSValueKeywords.in and use this list instead. |
| 39 | 39 |
| 40 | 40 |
| 41 // Flags which go into CSSOMTypes: | 41 // Flags which go into CSSOMTypes: |
| 42 // - typedom_types=[Type|OtherType] | 42 // - typedom_types=[Type|OtherType] |
| 43 // 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. |
| 44 // The types available correspond to CSSStyleValue::StyleValueType, with |
| 45 // modifications. |
| 46 // Integer, PositiveInteger, PositiveNumber, Number => CSSNumberValue with |
| 47 // restrictions. |
| 48 // Length => expands to CSSLengthValue and subclasses |
| 44 // Keyword does not need to be specified as every property can take keywords. | 49 // Keyword does not need to be specified as every property can take keywords. |
| 45 // - keywords=[keyword1|keyword2] | 50 // - keywords=[keyword1|keyword2] |
| 46 // The property can take these keywords. | 51 // The property can take these keywords. |
| 47 // - supports_multiple | 52 // - supports_multiple |
| 48 // The property supports a list of values. | 53 // The property supports a list of values. |
| 49 // - supports_percentage | 54 // - supports_percentage |
| 50 // The property supports percentage types. | 55 // The property supports percentage types. |
| 51 | 56 |
| 52 | 57 |
| 53 // Flags which go into CSSPropertyMetadata: | 58 // Flags which go into CSSPropertyMetadata: |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 // and writing mode. | 120 // and writing mode. |
| 116 | 121 |
| 117 | 122 |
| 118 // Properties with StyleBuilder handling | 123 // Properties with StyleBuilder handling |
| 119 | 124 |
| 120 // Animation Priority properties | 125 // Animation Priority properties |
| 121 animation-delay custom_all | 126 animation-delay custom_all |
| 122 animation-direction custom_all | 127 animation-direction custom_all |
| 123 animation-duration custom_all | 128 animation-duration custom_all |
| 124 animation-fill-mode custom_all | 129 animation-fill-mode custom_all |
| 125 animation-iteration-count keywords=[infinite], supports_multiple, custom_all | 130 animation-iteration-count typedom_types=[PositiveNumber], keywords=[infinite], s
upports_multiple, custom_all |
| 126 animation-name custom_all | 131 animation-name custom_all |
| 127 animation-play-state custom_all | 132 animation-play-state custom_all |
| 128 animation-timing-function custom_all | 133 animation-timing-function custom_all |
| 129 transition-delay custom_all | 134 transition-delay custom_all |
| 130 transition-duration custom_all | 135 transition-duration custom_all |
| 131 transition-property custom_all | 136 transition-property custom_all |
| 132 transition-timing-function custom_all | 137 transition-timing-function custom_all |
| 133 | 138 |
| 134 // High Priority and all other font properties. | 139 // High Priority and all other font properties. |
| 135 // Other properties can depend upon high priority properties (e.g. font-size / e
ms) | 140 // Other properties can depend upon high priority properties (e.g. font-size / e
ms) |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 motion-offset alias_for=offset-distance | 284 motion-offset alias_for=offset-distance |
| 280 motion-path alias_for=offset-path | 285 motion-path alias_for=offset-path |
| 281 motion-rotation alias_for=offset-rotation | 286 motion-rotation alias_for=offset-rotation |
| 282 object-fit type_name=ObjectFit | 287 object-fit type_name=ObjectFit |
| 283 object-position interpolable, converter=convertPosition | 288 object-position interpolable, converter=convertPosition |
| 284 offset-anchor runtime_flag=CSSOffsetPositionAnchor, interpolable, converter=conv
ertPositionOrAuto | 289 offset-anchor runtime_flag=CSSOffsetPositionAnchor, interpolable, converter=conv
ertPositionOrAuto |
| 285 offset-distance interpolable, converter=convertLength | 290 offset-distance interpolable, converter=convertLength |
| 286 offset-path converter=convertPathOrNone | 291 offset-path converter=convertPathOrNone |
| 287 offset-position runtime_flag=CSSOffsetPositionAnchor, interpolable, converter=co
nvertPositionOrAuto | 292 offset-position runtime_flag=CSSOffsetPositionAnchor, interpolable, converter=co
nvertPositionOrAuto |
| 288 offset-rotation interpolable, converter=convertOffsetRotation | 293 offset-rotation interpolable, converter=convertOffsetRotation |
| 289 opacity interpolable, type_name=float | 294 opacity interpolable, type_name=float, typedom_types=[Number] |
| 290 order type_name=int | 295 order type_name=int |
| 291 orphans interpolable, inherited, type_name=short | 296 orphans interpolable, inherited, type_name=short |
| 292 outline-color interpolable, custom_all | 297 outline-color interpolable, custom_all |
| 293 outline-offset interpolable, converter=convertComputedLength<int> | 298 outline-offset interpolable, converter=convertComputedLength<int> |
| 294 outline-style custom_all | 299 outline-style custom_all |
| 295 outline-width interpolable, converter=convertLineWidth<unsigned short> | 300 outline-width interpolable, converter=convertLineWidth<unsigned short> |
| 296 overflow-anchor runtime_flag=ScrollAnchoring, type_name=EOverflowAnchor | 301 overflow-anchor runtime_flag=ScrollAnchoring, type_name=EOverflowAnchor |
| 297 overflow-wrap inherited | 302 overflow-wrap inherited |
| 298 overflow-x type_name=EOverflow | 303 overflow-x type_name=EOverflow |
| 299 overflow-y type_name=EOverflow | 304 overflow-y type_name=EOverflow |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 -webkit-text-size-adjust alias_for=text-size-adjust | 616 -webkit-text-size-adjust alias_for=text-size-adjust |
| 612 -webkit-transform alias_for=transform | 617 -webkit-transform alias_for=transform |
| 613 -webkit-transform-origin alias_for=transform-origin | 618 -webkit-transform-origin alias_for=transform-origin |
| 614 -webkit-transform-style alias_for=transform-style | 619 -webkit-transform-style alias_for=transform-style |
| 615 -webkit-transition alias_for=transition | 620 -webkit-transition alias_for=transition |
| 616 -webkit-transition-delay alias_for=transition-delay | 621 -webkit-transition-delay alias_for=transition-delay |
| 617 -webkit-transition-duration alias_for=transition-duration | 622 -webkit-transition-duration alias_for=transition-duration |
| 618 -webkit-transition-property alias_for=transition-property | 623 -webkit-transition-property alias_for=transition-property |
| 619 -webkit-transition-timing-function alias_for=transition-timing-function | 624 -webkit-transition-timing-function alias_for=transition-timing-function |
| 620 -webkit-user-select alias_for=user-select | 625 -webkit-user-select alias_for=user-select |
| OLD | NEW |