OLD | NEW |
1 { | 1 { |
2 // This file specifies fields in ComputedStyle that we would like to | 2 // This file specifies fields in ComputedStyle that we would like to |
3 // generate, but are not CSS properties. | 3 // generate, but are not CSS properties. |
4 | 4 |
5 parameters: { | 5 parameters: { |
6 // - field_size | 6 // - field_size |
7 // Number of bits needed to store this field. Only used for storage_only | 7 // Number of bits needed to store this field. Only used for storage_only |
8 // fields. If specified, the field will be stored as bit field. Otherwise | 8 // fields. If specified, the field will be stored as bit field. Otherwise |
9 // it will be stored as a normal data member. | 9 // it will be stored as a normal data member. |
10 field_size: { | 10 field_size: { |
(...skipping 22 matching lines...) Expand all Loading... |
33 { | 33 { |
34 name: "OriginalDisplay", | 34 name: "OriginalDisplay", |
35 field_template: "keyword", | 35 field_template: "keyword", |
36 default_value: "inline", | 36 default_value: "inline", |
37 type_name: "EDisplay", | 37 type_name: "EDisplay", |
38 keywords: [ | 38 keywords: [ |
39 "inline", "block", "list-item", "inline-block", "table", "inline-table
", "table-row-group", "table-header-group", | 39 "inline", "block", "list-item", "inline-block", "table", "inline-table
", "table-row-group", "table-header-group", |
40 "table-footer-group", "table-row", "table-column-group", "table-column
", "table-cell", "table-caption", "-webkit-box", | 40 "table-footer-group", "table-row", "table-column-group", "table-column
", "table-cell", "table-caption", "-webkit-box", |
41 "-webkit-inline-box", "flex", "inline-flex", "grid", "inline-grid", "c
ontents", "flow-root", "none", | 41 "-webkit-inline-box", "flex", "inline-flex", "grid", "inline-grid", "c
ontents", "flow-root", "none", |
42 ], | 42 ], |
43 has_custom_compare_and_copy: true, | |
44 }, | 43 }, |
45 { | 44 { |
46 name: "InsideLink", | 45 name: "InsideLink", |
47 field_template: "keyword", | 46 field_template: "keyword", |
48 default_value: "not-inside-link", | 47 default_value: "not-inside-link", |
49 keywords: ["not-inside-link", "inside-unvisited-link", "inside-visited-lin
k"], | 48 keywords: ["not-inside-link", "inside-unvisited-link", "inside-visited-lin
k"], |
50 inherited: true, | 49 inherited: true, |
51 has_custom_compare_and_copy: true, | 50 has_custom_compare_and_copy: true, |
52 }, | 51 }, |
53 // Style can not be shared. | 52 // Style can not be shared. |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 { | 158 { |
160 name: "VerticalAlign", | 159 name: "VerticalAlign", |
161 field_template: "storage_only", | 160 field_template: "storage_only", |
162 field_size: 4, | 161 field_size: 4, |
163 default_value: "EVerticalAlign::kBaseline", | 162 default_value: "EVerticalAlign::kBaseline", |
164 type_name: "EVerticalAlign", | 163 type_name: "EVerticalAlign", |
165 has_custom_compare_and_copy: true, | 164 has_custom_compare_and_copy: true, |
166 }, | 165 }, |
167 ], | 166 ], |
168 } | 167 } |
OLD | NEW |