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 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1265 field_template: "external", | 1265 field_template: "external", |
1266 include_paths: ["platform/Length.h"], | 1266 include_paths: ["platform/Length.h"], |
1267 type_name: "Length", | 1267 type_name: "Length", |
1268 field_group: "box", | 1268 field_group: "box", |
1269 default_value: "Length()", | 1269 default_value: "Length()", |
1270 }, | 1270 }, |
1271 { | 1271 { |
1272 name: "hyphens", | 1272 name: "hyphens", |
1273 inherited: true, | 1273 inherited: true, |
1274 runtime_flag: "CSSHyphens", | 1274 runtime_flag: "CSSHyphens", |
1275 field_template: "storage_only", | 1275 field_template: "keyword", |
1276 type_name: "Hyphens", | 1276 type_name: "Hyphens", |
1277 default_value: "Hyphens::kManual", | 1277 keywords: ["none", "manual", "auto"], |
1278 field_size: 2, | 1278 default_value: "manual", |
1279 field_group: "rare-inherited", | 1279 field_group: "rare-inherited", |
1280 }, | 1280 }, |
1281 { | 1281 { |
1282 name: "image-rendering", | 1282 name: "image-rendering", |
1283 inherited: true, | 1283 inherited: true, |
1284 field_template: "storage_only", | 1284 field_template: "storage_only", |
1285 type_name: "EImageRendering", | 1285 type_name: "EImageRendering", |
1286 default_value: "EImageRendering::kAuto", | 1286 default_value: "EImageRendering::kAuto", |
1287 field_size: 3, | 1287 field_size: 3, |
1288 field_group: "rare-inherited", | 1288 field_group: "rare-inherited", |
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2417 type_name: "AtomicString", | 2417 type_name: "AtomicString", |
2418 include_paths: ["platform/wtf/text/AtomicString.h"], | 2418 include_paths: ["platform/wtf/text/AtomicString.h"], |
2419 default_value: "g_null_atom", | 2419 default_value: "g_null_atom", |
2420 field_group: "rare-inherited", | 2420 field_group: "rare-inherited", |
2421 }, | 2421 }, |
2422 { | 2422 { |
2423 name: "-webkit-hyphenate-character", | 2423 name: "-webkit-hyphenate-character", |
2424 converter: "ConvertString<CSSValueAuto>", | 2424 converter: "ConvertString<CSSValueAuto>", |
2425 inherited: true, | 2425 inherited: true, |
2426 name_for_methods: "HyphenationString", | 2426 name_for_methods: "HyphenationString", |
2427 field_template: "storage_only", | 2427 field_template: "external", |
2428 type_name: "AtomicString", | 2428 type_name: "AtomicString", |
2429 include_paths: ["platform/wtf/text/AtomicString.h"], | 2429 include_paths: ["platform/wtf/text/AtomicString.h"], |
2430 default_value: "AtomicString()", | 2430 default_value: "AtomicString()", |
2431 field_group: "rare-inherited", | 2431 field_group: "rare-inherited", |
2432 }, | 2432 }, |
2433 { | 2433 { |
2434 name: "-webkit-line-break", | 2434 name: "-webkit-line-break", |
2435 inherited: true, | 2435 inherited: true, |
2436 field_template: "storage_only", | 2436 field_template: "storage_only", |
2437 type_name: "LineBreak", | 2437 type_name: "LineBreak", |
(...skipping 1085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3523 { | 3523 { |
3524 name: "-webkit-transition-timing-function", | 3524 name: "-webkit-transition-timing-function", |
3525 alias_for: "transition-timing-function", | 3525 alias_for: "transition-timing-function", |
3526 }, | 3526 }, |
3527 { | 3527 { |
3528 name: "-webkit-user-select", | 3528 name: "-webkit-user-select", |
3529 alias_for: "user-select", | 3529 alias_for: "user-select", |
3530 }, | 3530 }, |
3531 ], | 3531 ], |
3532 } | 3532 } |
OLD | NEW |