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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 default_value: "FillLayer(kBackgroundFillLayer, true)", | 178 default_value: "FillLayer(kBackgroundFillLayer, true)", |
179 field_group: "background", | 179 field_group: "background", |
180 }, | 180 }, |
181 { | 181 { |
182 name: "BackgroundColor", | 182 name: "BackgroundColor", |
183 field_template: "storage_only", | 183 field_template: "storage_only", |
184 field_type_path: "core/css/StyleColor", | 184 field_type_path: "core/css/StyleColor", |
185 default_value: "Color::kTransparent", | 185 default_value: "Color::kTransparent", |
186 field_group: "background", | 186 field_group: "background", |
187 }, | 187 }, |
| 188 { |
| 189 name: "TextDecoration", |
| 190 field_template: "storage_only", |
| 191 type_name: "TextDecoration", |
| 192 field_size: 4, |
| 193 default_value: "kTextDecorationNone", |
| 194 field_group: "visual", |
| 195 }, |
| 196 { |
| 197 name: "HasAutoClip", |
| 198 field_template: "storage_only", |
| 199 type_name: "bool", |
| 200 field_size: 1, |
| 201 default_value: "true", |
| 202 field_group: "visual", |
| 203 }, |
188 ], | 204 ], |
189 } | 205 } |
OLD | NEW |