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

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

Issue 2861773004: Move border-*-width out of BorderValue and store on SurroundData in ComputedStyle instead (Closed)
Patch Set: meade@'s suggestion 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
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
9 // it will be stored as a normal data member.
10 field_size: {
11 valid_type: "int",
12 },
13
14 // If the field has_custom_compare_and_copy, then it does not appear in 6 // If the field has_custom_compare_and_copy, then it does not appear in
15 // ComputedStyle::operator== and ComputedStyle::CopyNonInheritedFromCached. 7 // ComputedStyle::operator== and ComputedStyle::CopyNonInheritedFromCached.
16 has_custom_compare_and_copy: { 8 has_custom_compare_and_copy: {
17 default: false, 9 default: false,
18 }, 10 },
19 11
20 // The rest is the same as CSSProperties.json5, but the only relevant ones i n 12 // The rest is the same as CSSProperties.json5, but the only relevant ones i n
21 // this file are: 13 // this file are:
22 // name, field_template, field_type_path, default_value, type_name, keyword, 14 // name, field_template, field_type_path, default_value, type_name, keyword,
23 // inherited 15 // inherited
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 }, 170 },
179 { 171 {
180 name: "BackgroundColor", 172 name: "BackgroundColor",
181 field_template: "storage_only", 173 field_template: "storage_only",
182 field_type_path: "core/css/StyleColor", 174 field_type_path: "core/css/StyleColor",
183 default_value: "Color::kTransparent", 175 default_value: "Color::kTransparent",
184 field_group: "background", 176 field_group: "background",
185 }, 177 },
186 ], 178 ],
187 } 179 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698