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 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
758 typedom_types: ["Length"], | 758 typedom_types: ["Length"], |
759 }, | 759 }, |
760 { | 760 { |
761 name: "box-shadow", | 761 name: "box-shadow", |
762 converter: "convertShadowList", | 762 converter: "convertShadowList", |
763 interpolable: true, | 763 interpolable: true, |
764 }, | 764 }, |
765 "box-sizing", | 765 "box-sizing", |
766 { | 766 { |
767 name: "break-after", | 767 name: "break-after", |
| 768 // Storage for this property also covers these legacy properties: |
| 769 // page-break-after, -webkit-column-break-after |
| 770 initial_keyword: "auto", |
| 771 keyword_only: true, |
| 772 keywords: [ |
| 773 "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page",
"recto", "right", "verso" |
| 774 ], |
768 type_name: "EBreakBetween", | 775 type_name: "EBreakBetween", |
769 }, | 776 }, |
770 { | 777 { |
771 name: "break-before", | 778 name: "break-before", |
| 779 // Storage for this property also covers these legacy properties: |
| 780 // page-break-before, -webkit-column-break-before |
| 781 initial_keyword: "auto", |
| 782 keyword_only: true, |
| 783 keywords: [ |
| 784 "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page",
"recto", "right", "verso" |
| 785 ], |
772 type_name: "EBreakBetween", | 786 type_name: "EBreakBetween", |
773 }, | 787 }, |
774 { | 788 { |
775 name: "break-inside", | 789 name: "break-inside", |
776 type_name: "EBreakInside", | 790 // Storage for this property also covers these legacy properties: |
| 791 // page-break-inside, -webkit-column-break-inside |
| 792 initial_keyword: "auto", |
| 793 keyword_only: true, |
| 794 keywords: ["auto", "avoid", "avoid-column", "avoid-page"], |
777 }, | 795 }, |
778 { | 796 { |
779 name: "buffered-rendering", | 797 name: "buffered-rendering", |
780 svg: true, | 798 svg: true, |
781 }, | 799 }, |
782 { | 800 { |
783 name: "caption-side", | 801 name: "caption-side", |
784 independent: true, | 802 independent: true, |
785 inherited: true, | 803 inherited: true, |
786 initial_keyword: "top", | 804 initial_keyword: "top", |
(...skipping 2263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3050 { | 3068 { |
3051 name: "-webkit-transition-timing-function", | 3069 name: "-webkit-transition-timing-function", |
3052 alias_for: "transition-timing-function", | 3070 alias_for: "transition-timing-function", |
3053 }, | 3071 }, |
3054 { | 3072 { |
3055 name: "-webkit-user-select", | 3073 name: "-webkit-user-select", |
3056 alias_for: "user-select", | 3074 alias_for: "user-select", |
3057 }, | 3075 }, |
3058 ], | 3076 ], |
3059 } | 3077 } |
OLD | NEW |