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

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

Issue 2869043002: Store border-*-color on SurroundData in ComputedStyle not BorderColorAndStyle (Closed)
Patch Set: BorderColorVisuallyEquals calls BorderColorEquals 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 // 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
7 // ComputedStyle::operator== and ComputedStyle::CopyNonInheritedFromCached. 7 // ComputedStyle::operator== and ComputedStyle::CopyNonInheritedFromCached.
8 has_custom_compare_and_copy: { 8 has_custom_compare_and_copy: {
9 default: false, 9 default: false,
10 }, 10 },
11 11
12 // 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
13 // this file are: 13 // this file are:
14 // name, field_template, field_type_path, default_value, type_name, keyword, 14 // name, field_template, field_type_path, default_value, type_name, keyword,
15 // inherited 15 // inherited
16 }, 16 },
17 17
18 data: [ 18 data: [
19 { 19 {
20 name: "IsLink", 20 name: "IsLink",
21 field_template: "monotonic_flag", 21 field_template: "monotonic_flag",
22 default_value: "false", 22 default_value: "false",
23 has_custom_compare_and_copy: true, 23 has_custom_compare_and_copy: true,
24 }, 24 },
25 { 25 {
26 name: "BorderLeftColorIsCurrentColor",
27 field_template: "primitive",
28 default_value: "true",
29 type_name: "bool",
30 field_group: "surround",
31 },
32 {
33 name: "BorderRightColorIsCurrentColor",
34 field_template: "primitive",
35 default_value: "true",
36 type_name: "bool",
37 field_group: "surround",
38 },
39 {
40 name: "BorderTopColorIsCurrentColor",
41 field_template: "primitive",
42 default_value: "true",
43 type_name: "bool",
44 field_group: "surround",
45 },
46 {
47 name: "BorderBottomColorIsCurrentColor",
48 field_template: "primitive",
49 default_value: "true",
50 type_name: "bool",
51 field_group: "surround",
52 },
53 {
26 name: "OriginalDisplay", 54 name: "OriginalDisplay",
27 field_template: "keyword", 55 field_template: "keyword",
28 default_value: "inline", 56 default_value: "inline",
29 type_name: "EDisplay", 57 type_name: "EDisplay",
30 keywords: [ 58 keywords: [
31 "inline", "block", "list-item", "inline-block", "table", "inline-table ", "table-row-group", "table-header-group", 59 "inline", "block", "list-item", "inline-block", "table", "inline-table ", "table-row-group", "table-header-group",
32 "table-footer-group", "table-row", "table-column-group", "table-column ", "table-cell", "table-caption", "-webkit-box", 60 "table-footer-group", "table-row", "table-column-group", "table-column ", "table-cell", "table-caption", "-webkit-box",
33 "-webkit-inline-box", "flex", "inline-flex", "grid", "inline-grid", "c ontents", "flow-root", "none", 61 "-webkit-inline-box", "flex", "inline-flex", "grid", "inline-grid", "c ontents", "flow-root", "none",
34 ], 62 ],
35 }, 63 },
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 { 214 {
187 name: "HasAutoClip", 215 name: "HasAutoClip",
188 field_template: "storage_only", 216 field_template: "storage_only",
189 type_name: "bool", 217 type_name: "bool",
190 field_size: 1, 218 field_size: 1,
191 default_value: "true", 219 default_value: "true",
192 field_group: "visual", 220 field_group: "visual",
193 }, 221 },
194 ], 222 ],
195 } 223 }
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