Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5

Issue 2861623002: Generate StyleBackgroundData in ComputedStyleBase. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 default_value: "EVerticalAlign::kBaseline", 162 default_value: "EVerticalAlign::kBaseline",
163 type_name: "EVerticalAlign", 163 type_name: "EVerticalAlign",
164 }, 164 },
165 { 165 {
166 name: "border", 166 name: "border",
167 field_template: "storage_only", 167 field_template: "storage_only",
168 field_type_path: "core/style/BorderData", 168 field_type_path: "core/style/BorderData",
169 field_group: "surround", 169 field_group: "surround",
170 default_value: "BorderData()", 170 default_value: "BorderData()",
171 }, 171 },
172 {
173 name: "Background",
174 field_template: "storage_only",
175 field_type_path: "core/style/FillLayer",
176 default_value: "FillLayer(kBackgroundFillLayer, true)",
177 field_group: "background",
178 },
179 {
180 name: "BackgroundColor",
181 field_template: "storage_only",
182 field_type_path: "core/css/StyleColor",
183 default_value: "Color::kTransparent",
184 field_group: "background",
185 },
172 ], 186 ],
173 } 187 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698