OLD | NEW |
1 { | 1 { |
2 // This file specifies all the CSS properties we support and the necessary | 2 // This file specifies all the CSS properties we support and the necessary |
3 // information for our code generation. The various supported arguments | 3 // information for our code generation. The various supported arguments |
4 // are described below with example usage | 4 // are described below with example usage |
5 | 5 |
6 parameters: { | 6 parameters: { |
7 // - alias_for: "other-property" | 7 // - alias_for: "other-property" |
8 // Properties specifying alias_for should be virtually identical to the | 8 // Properties specifying alias_for should be virtually identical to the |
9 // properties they alias. Minor parsing differences are allowed as long as | 9 // properties they alias. Minor parsing differences are allowed as long as |
10 // the CSSValues created are of the same format of the aliased property. | 10 // the CSSValues created are of the same format of the aliased property. |
(...skipping 1300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1311 svg: true, | 1311 svg: true, |
1312 }, | 1312 }, |
1313 { | 1313 { |
1314 name: "line-height", | 1314 name: "line-height", |
1315 api_class: true, | 1315 api_class: true, |
1316 api_methods: ["parseSingleValue"], | 1316 api_methods: ["parseSingleValue"], |
1317 converter: "ConvertLineHeight", | 1317 converter: "ConvertLineHeight", |
1318 getter: "SpecifiedLineHeight", | 1318 getter: "SpecifiedLineHeight", |
1319 inherited: true, | 1319 inherited: true, |
1320 interpolable: true, | 1320 interpolable: true, |
| 1321 field_template: "storage_only", |
| 1322 field_type_path: "platform/Length", |
| 1323 default_value: "Length(-100.0, kPercent)", |
| 1324 field_group: "inherited", |
1321 }, | 1325 }, |
1322 { | 1326 { |
1323 name: "line-height-step", | 1327 name: "line-height-step", |
1324 api_class: true, | 1328 api_class: true, |
1325 api_methods: ["parseSingleValue"], | 1329 api_methods: ["parseSingleValue"], |
1326 converter: "ConvertComputedLength<uint8_t>", | 1330 converter: "ConvertComputedLength<uint8_t>", |
1327 inherited: true, | 1331 inherited: true, |
1328 runtime_flag: "CSSSnapSize", | 1332 runtime_flag: "CSSSnapSize", |
1329 }, | 1333 }, |
1330 { | 1334 { |
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2156 use_handlers_for: "CSSPropertyBackgroundOrigin", | 2160 use_handlers_for: "CSSPropertyBackgroundOrigin", |
2157 }, | 2161 }, |
2158 { | 2162 { |
2159 name: "-webkit-border-horizontal-spacing", | 2163 name: "-webkit-border-horizontal-spacing", |
2160 api_class: "CSSPropertyAPIWebkitBorderSpacing", | 2164 api_class: "CSSPropertyAPIWebkitBorderSpacing", |
2161 api_methods: ["parseSingleValue"], | 2165 api_methods: ["parseSingleValue"], |
2162 converter: "ConvertComputedLength<short>", | 2166 converter: "ConvertComputedLength<short>", |
2163 inherited: true, | 2167 inherited: true, |
2164 interpolable: true, | 2168 interpolable: true, |
2165 name_for_methods: "HorizontalBorderSpacing", | 2169 name_for_methods: "HorizontalBorderSpacing", |
| 2170 field_template: "storage_only", |
| 2171 type_name: "short", |
| 2172 field_group: "inherited", |
| 2173 default_value: "0", |
2166 }, | 2174 }, |
2167 { | 2175 { |
2168 name: "-webkit-border-image", | 2176 name: "-webkit-border-image", |
2169 api_class: true, | 2177 api_class: true, |
2170 custom_value: true, | 2178 custom_value: true, |
2171 initial: "InitialNinePieceImage", | 2179 initial: "InitialNinePieceImage", |
2172 }, | 2180 }, |
2173 { | 2181 { |
2174 name: "-webkit-border-vertical-spacing", | 2182 name: "-webkit-border-vertical-spacing", |
2175 api_class: "CSSPropertyAPIWebkitBorderSpacing", | 2183 api_class: "CSSPropertyAPIWebkitBorderSpacing", |
2176 api_methods: ["parseSingleValue"], | 2184 api_methods: ["parseSingleValue"], |
2177 converter: "ConvertComputedLength<short>", | 2185 converter: "ConvertComputedLength<short>", |
2178 inherited: true, | 2186 inherited: true, |
2179 interpolable: true, | 2187 interpolable: true, |
2180 name_for_methods: "VerticalBorderSpacing", | 2188 name_for_methods: "VerticalBorderSpacing", |
| 2189 field_template: "storage_only", |
| 2190 type_name: "short", |
| 2191 field_group: "inherited", |
| 2192 default_value: "0", |
2181 }, | 2193 }, |
2182 { | 2194 { |
2183 name: "-webkit-box-align", | 2195 name: "-webkit-box-align", |
2184 type_name: "EBoxAlignment", | 2196 type_name: "EBoxAlignment", |
2185 }, | 2197 }, |
2186 { | 2198 { |
2187 name: "-webkit-box-decoration-break", | 2199 name: "-webkit-box-decoration-break", |
2188 field_template: "keyword", | 2200 field_template: "keyword", |
2189 field_group: "box", | 2201 field_group: "box", |
2190 keywords: ["slice", "clone"], | 2202 keywords: ["slice", "clone"], |
(...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3323 { | 3335 { |
3324 name: "-webkit-transition-timing-function", | 3336 name: "-webkit-transition-timing-function", |
3325 alias_for: "transition-timing-function", | 3337 alias_for: "transition-timing-function", |
3326 }, | 3338 }, |
3327 { | 3339 { |
3328 name: "-webkit-user-select", | 3340 name: "-webkit-user-select", |
3329 alias_for: "user-select", | 3341 alias_for: "user-select", |
3330 }, | 3342 }, |
3331 ], | 3343 ], |
3332 } | 3344 } |
OLD | NEW |