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

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

Issue 2849123002: Revert of 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 { 167 {
168 name: "border", 168 name: "border",
169 field_template: "storage_only", 169 field_template: "storage_only",
170 field_type_path: "core/style/BorderData", 170 field_type_path: "core/style/BorderData",
171 field_group: "surround", 171 field_group: "surround",
172 default_value: "BorderData()", 172 default_value: "BorderData()",
173 }, 173 },
174 {
175 name: "Background",
176 field_template: "storage_only",
177 field_type_path: "core/style/FillLayer",
178 default_value: "FillLayer(kBackgroundFillLayer, true)",
179 field_group: "background",
180 },
181 {
182 name: "BackgroundColor",
183 field_template: "storage_only",
184 field_type_path: "core/css/StyleColor",
185 default_value: "Color::kTransparent",
186 field_group: "background",
187 },
188 ], 174 ],
189 } 175 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698