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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 type_name: "EBorderStyle", | 629 type_name: "EBorderStyle", |
630 keywords: ["none"], | 630 keywords: ["none"], |
631 typedom_types: ["Image"], | 631 typedom_types: ["Image"], |
632 }, | 632 }, |
633 { | 633 { |
634 name: "border-bottom-width", | 634 name: "border-bottom-width", |
635 api_class: "CSSPropertyAPIBorderWidth", | 635 api_class: "CSSPropertyAPIBorderWidth", |
636 converter: "convertLineWidth<float>", | 636 converter: "convertLineWidth<float>", |
637 initial: "initialBorderWidth", | 637 initial: "initialBorderWidth", |
638 interpolable: true, | 638 interpolable: true, |
| 639 keywords: ["thin", "medium", "thick"], |
| 640 typedom_types: ["Length"], |
639 }, | 641 }, |
640 { | 642 { |
641 name: "border-collapse", | 643 name: "border-collapse", |
642 independent: true, | 644 independent: true, |
643 inherited: true, | 645 inherited: true, |
644 initial_keyword: "separate", | 646 initial_keyword: "separate", |
645 field_template: "keyword", | 647 field_template: "keyword", |
646 keywords: ["separate", "collapse"], | 648 keywords: ["separate", "collapse"], |
647 }, | 649 }, |
648 { | 650 { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
688 type_name: "EBorderStyle", | 690 type_name: "EBorderStyle", |
689 keywords: ["none"], | 691 keywords: ["none"], |
690 typedom_types: ["Image"], | 692 typedom_types: ["Image"], |
691 }, | 693 }, |
692 { | 694 { |
693 name: "border-left-width", | 695 name: "border-left-width", |
694 api_class: "CSSPropertyAPIBorderWidth", | 696 api_class: "CSSPropertyAPIBorderWidth", |
695 converter: "convertLineWidth<float>", | 697 converter: "convertLineWidth<float>", |
696 initial: "initialBorderWidth", | 698 initial: "initialBorderWidth", |
697 interpolable: true, | 699 interpolable: true, |
| 700 keywords: ["thin", "medium", "thick"], |
| 701 typedom_types: ["Length"], |
698 }, | 702 }, |
699 { | 703 { |
700 name: "border-right-color", | 704 name: "border-right-color", |
701 custom_all: true, | 705 custom_all: true, |
702 interpolable: true, | 706 interpolable: true, |
703 }, | 707 }, |
704 { | 708 { |
705 name: "border-right-style", | 709 name: "border-right-style", |
706 initial: "initialBorderStyle", | 710 initial: "initialBorderStyle", |
707 type_name: "EBorderStyle", | 711 type_name: "EBorderStyle", |
708 keywords: ["none"], | 712 keywords: ["none"], |
709 typedom_types: ["Image"], | 713 typedom_types: ["Image"], |
710 }, | 714 }, |
711 { | 715 { |
712 name: "border-right-width", | 716 name: "border-right-width", |
713 api_class: "CSSPropertyAPIBorderWidth", | 717 api_class: "CSSPropertyAPIBorderWidth", |
714 converter: "convertLineWidth<float>", | 718 converter: "convertLineWidth<float>", |
715 initial: "initialBorderWidth", | 719 initial: "initialBorderWidth", |
716 interpolable: true, | 720 interpolable: true, |
| 721 keywords: ["thin", "medium", "thick"], |
| 722 typedom_types: ["Length"], |
717 }, | 723 }, |
718 { | 724 { |
719 name: "border-top-color", | 725 name: "border-top-color", |
720 custom_all: true, | 726 custom_all: true, |
721 interpolable: true, | 727 interpolable: true, |
722 }, | 728 }, |
723 { | 729 { |
724 name: "border-top-left-radius", | 730 name: "border-top-left-radius", |
725 api_class: "CSSPropertyAPIBorderRadius", | 731 api_class: "CSSPropertyAPIBorderRadius", |
726 api_methods: ["parseSingleValue"], | 732 api_methods: ["parseSingleValue"], |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1081 api_class: "CSSPropertyAPIGridTemplateLine", | 1087 api_class: "CSSPropertyAPIGridTemplateLine", |
1082 custom_all: true, | 1088 custom_all: true, |
1083 runtime_flag: "CSSGridLayout", | 1089 runtime_flag: "CSSGridLayout", |
1084 }, | 1090 }, |
1085 { | 1091 { |
1086 name: "height", | 1092 name: "height", |
1087 api_class: "CSSPropertyAPIWidthOrHeight", | 1093 api_class: "CSSPropertyAPIWidthOrHeight", |
1088 converter: "convertLengthSizing", | 1094 converter: "convertLengthSizing", |
1089 initial: "initialSize", | 1095 initial: "initialSize", |
1090 interpolable: true, | 1096 interpolable: true, |
1091 keywords: ["auto"], | 1097 keywords: ["auto", "fit-content", "min-content", "max-content"], |
1092 supports_percentage: true, | 1098 supports_percentage: true, |
1093 typedom_types: ["Length"], | 1099 typedom_types: ["Length"], |
1094 }, | 1100 }, |
1095 { | 1101 { |
1096 name: "hyphens", | 1102 name: "hyphens", |
1097 inherited: true, | 1103 inherited: true, |
1098 runtime_flag: "CSSHyphens", | 1104 runtime_flag: "CSSHyphens", |
1099 type_name: "Hyphens", | 1105 type_name: "Hyphens", |
1100 }, | 1106 }, |
1101 { | 1107 { |
(...skipping 1217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2319 inherited: true, | 2325 inherited: true, |
2320 interpolable: true, | 2326 interpolable: true, |
2321 type_name: "short", | 2327 type_name: "short", |
2322 }, | 2328 }, |
2323 { | 2329 { |
2324 name: "width", | 2330 name: "width", |
2325 api_class: "CSSPropertyAPIWidthOrHeight", | 2331 api_class: "CSSPropertyAPIWidthOrHeight", |
2326 converter: "convertLengthSizing", | 2332 converter: "convertLengthSizing", |
2327 initial: "initialSize", | 2333 initial: "initialSize", |
2328 interpolable: true, | 2334 interpolable: true, |
2329 keywords: ["auto"], | 2335 keywords: ["auto", "fit-content", "min-content", "max-content"], |
2330 supports_percentage: true, | 2336 supports_percentage: true, |
2331 typedom_types: ["Length"], | 2337 typedom_types: ["Length"], |
2332 }, | 2338 }, |
2333 { | 2339 { |
2334 name: "will-change", | 2340 name: "will-change", |
2335 api_class: true, | 2341 api_class: true, |
2336 api_methods: ["parseSingleValue"], | 2342 api_methods: ["parseSingleValue"], |
2337 custom_all: true, | 2343 custom_all: true, |
2338 }, | 2344 }, |
2339 { | 2345 { |
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3096 { | 3102 { |
3097 name: "-webkit-transition-timing-function", | 3103 name: "-webkit-transition-timing-function", |
3098 alias_for: "transition-timing-function", | 3104 alias_for: "transition-timing-function", |
3099 }, | 3105 }, |
3100 { | 3106 { |
3101 name: "-webkit-user-select", | 3107 name: "-webkit-user-select", |
3102 alias_for: "user-select", | 3108 alias_for: "user-select", |
3103 }, | 3109 }, |
3104 ], | 3110 ], |
3105 } | 3111 } |
OLD | NEW |