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

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

Issue 2831933003: Use generated copy and compare for OriginalDisplay in ComputedStyle. (Closed)
Patch Set: Rebase Created 3 years, 8 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/ComputedStyle.cpp » ('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 22 matching lines...) Expand all
33 { 33 {
34 name: "OriginalDisplay", 34 name: "OriginalDisplay",
35 field_template: "keyword", 35 field_template: "keyword",
36 default_value: "inline", 36 default_value: "inline",
37 type_name: "EDisplay", 37 type_name: "EDisplay",
38 keywords: [ 38 keywords: [
39 "inline", "block", "list-item", "inline-block", "table", "inline-table ", "table-row-group", "table-header-group", 39 "inline", "block", "list-item", "inline-block", "table", "inline-table ", "table-row-group", "table-header-group",
40 "table-footer-group", "table-row", "table-column-group", "table-column ", "table-cell", "table-caption", "-webkit-box", 40 "table-footer-group", "table-row", "table-column-group", "table-column ", "table-cell", "table-caption", "-webkit-box",
41 "-webkit-inline-box", "flex", "inline-flex", "grid", "inline-grid", "c ontents", "flow-root", "none", 41 "-webkit-inline-box", "flex", "inline-flex", "grid", "inline-grid", "c ontents", "flow-root", "none",
42 ], 42 ],
43 has_custom_compare_and_copy: true,
44 }, 43 },
45 { 44 {
46 name: "InsideLink", 45 name: "InsideLink",
47 field_template: "keyword", 46 field_template: "keyword",
48 default_value: "not-inside-link", 47 default_value: "not-inside-link",
49 keywords: ["not-inside-link", "inside-unvisited-link", "inside-visited-lin k"], 48 keywords: ["not-inside-link", "inside-unvisited-link", "inside-visited-lin k"],
50 inherited: true, 49 inherited: true,
51 has_custom_compare_and_copy: true, 50 has_custom_compare_and_copy: true,
52 }, 51 },
53 // Style can not be shared. 52 // Style can not be shared.
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 { 158 {
160 name: "VerticalAlign", 159 name: "VerticalAlign",
161 field_template: "storage_only", 160 field_template: "storage_only",
162 field_size: 4, 161 field_size: 4,
163 default_value: "EVerticalAlign::kBaseline", 162 default_value: "EVerticalAlign::kBaseline",
164 type_name: "EVerticalAlign", 163 type_name: "EVerticalAlign",
165 has_custom_compare_and_copy: true, 164 has_custom_compare_and_copy: true,
166 }, 165 },
167 ], 166 ],
168 } 167 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698