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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 // which can be either a keyword or Length, this is generated as a nonproper
ty for now. Remove this | 157 // which can be either a keyword or Length, this is generated as a nonproper
ty for now. Remove this |
158 // once we can support union fields and groups. | 158 // once we can support union fields and groups. |
159 { | 159 { |
160 name: "VerticalAlign", | 160 name: "VerticalAlign", |
161 field_template: "storage_only", | 161 field_template: "storage_only", |
162 field_size: 4, | 162 field_size: 4, |
163 default_value: "EVerticalAlign::kBaseline", | 163 default_value: "EVerticalAlign::kBaseline", |
164 type_name: "EVerticalAlign", | 164 type_name: "EVerticalAlign", |
165 has_custom_compare_and_copy: true, | 165 has_custom_compare_and_copy: true, |
166 }, | 166 }, |
| 167 { |
| 168 name: "border", |
| 169 field_template: "storage_only", |
| 170 field_type_path: "core/style/BorderData", |
| 171 field_group: "surround", |
| 172 default_value: "BorderData()", |
| 173 }, |
167 ], | 174 ], |
168 } | 175 } |
OLD | NEW |