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

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

Issue 2944793002: Make EFlexWrap an enum class. (Closed)
Patch Set: Rebase Created 3 years, 6 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 all the CSS properties we support and the necessary 2 // This file specifies all the CSS properties we support and the necessary
3 // information for our code generation. The various supported arguments 3 // information for our code generation. The various supported arguments
4 // are described below with example usage 4 // are described below with example usage
5 5
6 parameters: { 6 parameters: {
7 // - alias_for: "other-property" 7 // - alias_for: "other-property"
8 // Properties specifying alias_for should be virtually identical to the 8 // Properties specifying alias_for should be virtually identical to the
9 // properties they alias. Minor parsing differences are allowed as long as 9 // properties they alias. Minor parsing differences are allowed as long as
10 // the CSSValues created are of the same format of the aliased property. 10 // the CSSValues created are of the same format of the aliased property.
(...skipping 1226 matching lines...) Expand 10 before | Expand all | Expand 10 after
1237 interpolable: true, 1237 interpolable: true,
1238 type_name: "float", 1238 type_name: "float",
1239 field_template: "storage_only", 1239 field_template: "storage_only",
1240 default_value: "1.0f", 1240 default_value: "1.0f",
1241 field_group: "rare-non-inherited->flexible-box", 1241 field_group: "rare-non-inherited->flexible-box",
1242 }, 1242 },
1243 { 1243 {
1244 name: "flex-wrap", 1244 name: "flex-wrap",
1245 type_name: "EFlexWrap", 1245 type_name: "EFlexWrap",
1246 field_template: "storage_only", 1246 field_template: "storage_only",
1247 default_value: "kFlexNoWrap", 1247 default_value: "EFlexWrap::kNowrap",
1248 field_size: 2, 1248 field_size: 2,
1249 field_group: "rare-non-inherited->flexible-box", 1249 field_group: "rare-non-inherited->flexible-box",
1250 }, 1250 },
1251 { 1251 {
1252 name: "float", 1252 name: "float",
1253 default_value: "none", 1253 default_value: "none",
1254 field_template: "keyword", 1254 field_template: "keyword",
1255 keywords: ["none", "left", "right"], 1255 keywords: ["none", "left", "right"],
1256 name_for_methods: "Floating", 1256 name_for_methods: "Floating",
1257 type_name: "EFloat", 1257 type_name: "EFloat",
(...skipping 2835 matching lines...) Expand 10 before | Expand all | Expand 10 after
4093 { 4093 {
4094 name: "-webkit-transition-timing-function", 4094 name: "-webkit-transition-timing-function",
4095 alias_for: "transition-timing-function", 4095 alias_for: "transition-timing-function",
4096 }, 4096 },
4097 { 4097 {
4098 name: "-webkit-user-select", 4098 name: "-webkit-user-select",
4099 alias_for: "user-select", 4099 alias_for: "user-select",
4100 }, 4100 },
4101 ], 4101 ],
4102 } 4102 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698