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 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1215 }, | 1215 }, |
1216 { | 1216 { |
1217 name: "height", | 1217 name: "height", |
1218 api_class: "CSSPropertyAPIWidthOrHeight", | 1218 api_class: "CSSPropertyAPIWidthOrHeight", |
1219 converter: "ConvertLengthSizing", | 1219 converter: "ConvertLengthSizing", |
1220 is_descriptor: true, | 1220 is_descriptor: true, |
1221 interpolable: true, | 1221 interpolable: true, |
1222 keywords: ["auto", "fit-content", "min-content", "max-content"], | 1222 keywords: ["auto", "fit-content", "min-content", "max-content"], |
1223 supports_percentage: true, | 1223 supports_percentage: true, |
1224 typedom_types: ["Length"], | 1224 typedom_types: ["Length"], |
1225 field_template: "storage_only", | 1225 field_template: "external", |
1226 field_type_path: "platform/Length", | 1226 field_type_path: "platform/Length", |
1227 field_group: "box", | 1227 field_group: "box", |
1228 default_value: "Length()", | 1228 default_value: "Length()", |
1229 }, | 1229 }, |
1230 { | 1230 { |
1231 name: "hyphens", | 1231 name: "hyphens", |
1232 inherited: true, | 1232 inherited: true, |
1233 runtime_flag: "CSSHyphens", | 1233 runtime_flag: "CSSHyphens", |
1234 type_name: "Hyphens", | 1234 type_name: "Hyphens", |
1235 }, | 1235 }, |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1426 }, | 1426 }, |
1427 { | 1427 { |
1428 name: "mask-type", | 1428 name: "mask-type", |
1429 svg: true, | 1429 svg: true, |
1430 }, | 1430 }, |
1431 { | 1431 { |
1432 name: "max-height", | 1432 name: "max-height", |
1433 converter: "ConvertLengthMaxSizing", | 1433 converter: "ConvertLengthMaxSizing", |
1434 is_descriptor: true, | 1434 is_descriptor: true, |
1435 interpolable: true, | 1435 interpolable: true, |
1436 field_template: "storage_only", | 1436 field_template: "external", |
1437 field_type_path: "platform/Length", | 1437 field_type_path: "platform/Length", |
1438 field_group: "box", | 1438 field_group: "box", |
1439 default_value: "Length(kMaxSizeNone)", | 1439 default_value: "Length(kMaxSizeNone)", |
1440 }, | 1440 }, |
1441 { | 1441 { |
1442 name: "max-width", | 1442 name: "max-width", |
1443 converter: "ConvertLengthMaxSizing", | 1443 converter: "ConvertLengthMaxSizing", |
1444 is_descriptor: true, | 1444 is_descriptor: true, |
1445 interpolable: true, | 1445 interpolable: true, |
1446 field_template: "storage_only", | 1446 field_template: "external", |
1447 field_type_path: "platform/Length", | 1447 field_type_path: "platform/Length", |
1448 field_group: "box", | 1448 field_group: "box", |
1449 default_value: "Length(kMaxSizeNone)", | 1449 default_value: "Length(kMaxSizeNone)", |
1450 }, | 1450 }, |
1451 { | 1451 { |
1452 name: "min-height", | 1452 name: "min-height", |
1453 api_class: "CSSPropertyAPIWidthOrHeight", | 1453 api_class: "CSSPropertyAPIWidthOrHeight", |
1454 converter: "ConvertLengthSizing", | 1454 converter: "ConvertLengthSizing", |
1455 is_descriptor: true, | 1455 is_descriptor: true, |
1456 interpolable: true, | 1456 interpolable: true, |
1457 field_template: "storage_only", | 1457 field_template: "external", |
1458 field_type_path: "platform/Length", | 1458 field_type_path: "platform/Length", |
1459 field_group: "box", | 1459 field_group: "box", |
1460 default_value: "Length()", | 1460 default_value: "Length()", |
1461 }, | 1461 }, |
1462 { | 1462 { |
1463 name: "min-width", | 1463 name: "min-width", |
1464 api_class: "CSSPropertyAPIWidthOrHeight", | 1464 api_class: "CSSPropertyAPIWidthOrHeight", |
1465 converter: "ConvertLengthSizing", | 1465 converter: "ConvertLengthSizing", |
1466 is_descriptor: true, | 1466 is_descriptor: true, |
1467 interpolable: true, | 1467 interpolable: true, |
1468 field_template: "storage_only", | 1468 field_template: "external", |
1469 field_type_path: "platform/Length", | 1469 field_type_path: "platform/Length", |
1470 field_group: "box", | 1470 field_group: "box", |
1471 default_value: "Length()", | 1471 default_value: "Length()", |
1472 }, | 1472 }, |
1473 { | 1473 { |
1474 name: "mix-blend-mode", | 1474 name: "mix-blend-mode", |
1475 name_for_methods: "BlendMode", | 1475 name_for_methods: "BlendMode", |
1476 type_name: "blink::WebBlendMode", | 1476 type_name: "blink::WebBlendMode", |
1477 }, | 1477 }, |
1478 { | 1478 { |
(...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2509 }, | 2509 }, |
2510 { | 2510 { |
2511 name: "width", | 2511 name: "width", |
2512 api_class: "CSSPropertyAPIWidthOrHeight", | 2512 api_class: "CSSPropertyAPIWidthOrHeight", |
2513 converter: "ConvertLengthSizing", | 2513 converter: "ConvertLengthSizing", |
2514 is_descriptor: true, | 2514 is_descriptor: true, |
2515 interpolable: true, | 2515 interpolable: true, |
2516 keywords: ["auto", "fit-content", "min-content", "max-content"], | 2516 keywords: ["auto", "fit-content", "min-content", "max-content"], |
2517 supports_percentage: true, | 2517 supports_percentage: true, |
2518 typedom_types: ["Length"], | 2518 typedom_types: ["Length"], |
2519 field_template: "storage_only", | 2519 field_template: "external", |
2520 field_type_path: "platform/Length", | 2520 field_type_path: "platform/Length", |
2521 field_group: "box", | 2521 field_group: "box", |
2522 default_value: "Length()" | 2522 default_value: "Length()" |
2523 }, | 2523 }, |
2524 { | 2524 { |
2525 name: "will-change", | 2525 name: "will-change", |
2526 api_class: true, | 2526 api_class: true, |
2527 api_methods: ["parseSingleValue"], | 2527 api_methods: ["parseSingleValue"], |
2528 custom_all: true, | 2528 custom_all: true, |
2529 }, | 2529 }, |
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3308 { | 3308 { |
3309 name: "-webkit-transition-timing-function", | 3309 name: "-webkit-transition-timing-function", |
3310 alias_for: "transition-timing-function", | 3310 alias_for: "transition-timing-function", |
3311 }, | 3311 }, |
3312 { | 3312 { |
3313 name: "-webkit-user-select", | 3313 name: "-webkit-user-select", |
3314 alias_for: "user-select", | 3314 alias_for: "user-select", |
3315 }, | 3315 }, |
3316 ], | 3316 ], |
3317 } | 3317 } |
OLD | NEW |