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

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

Issue 2922483004: Generate enum/getters/setters/mappings for image-rendering. (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
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 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after
1277 runtime_flag: "CSSHyphens", 1277 runtime_flag: "CSSHyphens",
1278 field_template: "keyword", 1278 field_template: "keyword",
1279 type_name: "Hyphens", 1279 type_name: "Hyphens",
1280 keywords: ["none", "manual", "auto"], 1280 keywords: ["none", "manual", "auto"],
1281 default_value: "manual", 1281 default_value: "manual",
1282 field_group: "rare-inherited", 1282 field_group: "rare-inherited",
1283 }, 1283 },
1284 { 1284 {
1285 name: "image-rendering", 1285 name: "image-rendering",
1286 inherited: true, 1286 inherited: true,
1287 field_template: "storage_only", 1287 field_template: "keyword",
1288 type_name: "EImageRendering", 1288 keywords: ["auto", "optimize-speed", "optimize-quality", "-webkit-optimize -contrast", "pixelated"],
1289 default_value: "EImageRendering::kAuto", 1289 default_value: "auto",
1290 field_size: 3,
1291 field_group: "rare-inherited", 1290 field_group: "rare-inherited",
1292 }, 1291 },
1293 { 1292 {
1294 name: "image-orientation", 1293 name: "image-orientation",
1295 api_class: true, 1294 api_class: true,
1296 api_methods: ["parseSingleValue"], 1295 api_methods: ["parseSingleValue"],
1297 converter: "ConvertImageOrientation", 1296 converter: "ConvertImageOrientation",
1298 inherited: true, 1297 inherited: true,
1299 name_for_methods: "RespectImageOrientation", 1298 name_for_methods: "RespectImageOrientation",
1300 runtime_flag: "ImageOrientation", 1299 runtime_flag: "ImageOrientation",
(...skipping 2226 matching lines...) Expand 10 before | Expand all | Expand 10 after
3527 { 3526 {
3528 name: "-webkit-transition-timing-function", 3527 name: "-webkit-transition-timing-function",
3529 alias_for: "transition-timing-function", 3528 alias_for: "transition-timing-function",
3530 }, 3529 },
3531 { 3530 {
3532 name: "-webkit-user-select", 3531 name: "-webkit-user-select",
3533 alias_for: "user-select", 3532 alias_for: "user-select",
3534 }, 3533 },
3535 ], 3534 ],
3536 } 3535 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698