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

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

Issue 2943413003: Generate getters/setters for remaining flex-* properties. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.h » ('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 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 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1201 converter: "ConvertFilterOperations", 1201 converter: "ConvertFilterOperations",
1202 interpolable: true, 1202 interpolable: true,
1203 }, 1203 },
1204 { 1204 {
1205 name: "flex-basis", 1205 name: "flex-basis",
1206 api_class: true, 1206 api_class: true,
1207 api_methods: ["parseSingleValue"], 1207 api_methods: ["parseSingleValue"],
1208 converter: "ConvertLengthOrAuto", 1208 converter: "ConvertLengthOrAuto",
1209 interpolable: true, 1209 interpolable: true,
1210 type_name: "Length", 1210 type_name: "Length",
1211 field_template: "storage_only", 1211 field_template: "external",
1212 default_value: "Length(kAuto)", 1212 default_value: "Length(kAuto)",
1213 field_group: "rare-non-inherited->flexible-box", 1213 field_group: "rare-non-inherited->flexible-box",
1214 }, 1214 },
1215 { 1215 {
1216 name: "flex-direction", 1216 name: "flex-direction",
1217 type_name: "EFlexDirection", 1217 type_name: "EFlexDirection",
1218 field_template: "keyword", 1218 field_template: "keyword",
1219 default_value: "row", 1219 default_value: "row",
1220 field_group: "rare-non-inherited->flexible-box", 1220 field_group: "rare-non-inherited->flexible-box",
1221 keywords: ["row", "row-reverse", "column", "column-reverse"], 1221 keywords: ["row", "row-reverse", "column", "column-reverse"],
1222 }, 1222 },
1223 { 1223 {
1224 name: "flex-grow", 1224 name: "flex-grow",
1225 api_class: "CSSPropertyAPIFlexGrowOrShrink", 1225 api_class: "CSSPropertyAPIFlexGrowOrShrink",
1226 api_methods: ["parseSingleValue"], 1226 api_methods: ["parseSingleValue"],
1227 interpolable: true, 1227 interpolable: true,
1228 type_name: "float", 1228 type_name: "float",
1229 field_template: "storage_only", 1229 field_template: "primitive",
1230 default_value: "0.0f", 1230 default_value: "0.0f",
1231 field_group: "rare-non-inherited->flexible-box", 1231 field_group: "rare-non-inherited->flexible-box",
1232 }, 1232 },
1233 { 1233 {
1234 name: "flex-shrink", 1234 name: "flex-shrink",
1235 api_class: "CSSPropertyAPIFlexGrowOrShrink", 1235 api_class: "CSSPropertyAPIFlexGrowOrShrink",
1236 api_methods: ["parseSingleValue"], 1236 api_methods: ["parseSingleValue"],
1237 interpolable: true, 1237 interpolable: true,
1238 type_name: "float", 1238 type_name: "float",
1239 field_template: "storage_only", 1239 field_template: "primitive",
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: "keyword", 1246 field_template: "keyword",
1247 default_value: "nowrap", 1247 default_value: "nowrap",
1248 field_group: "rare-non-inherited->flexible-box", 1248 field_group: "rare-non-inherited->flexible-box",
1249 keywords: ["nowrap", "wrap", "wrap-reverse"], 1249 keywords: ["nowrap", "wrap", "wrap-reverse"],
(...skipping 2844 matching lines...) Expand 10 before | Expand all | Expand 10 after
4094 { 4094 {
4095 name: "-webkit-transition-timing-function", 4095 name: "-webkit-transition-timing-function",
4096 alias_for: "transition-timing-function", 4096 alias_for: "transition-timing-function",
4097 }, 4097 },
4098 { 4098 {
4099 name: "-webkit-user-select", 4099 name: "-webkit-user-select",
4100 alias_for: "user-select", 4100 alias_for: "user-select",
4101 }, 4101 },
4102 ], 4102 ],
4103 } 4103 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698