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

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

Issue 2899633002: Make EImageRendering an enum class. (Closed)
Patch Set: Rebase 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 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 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after
1264 type_name: "Hyphens", 1264 type_name: "Hyphens",
1265 default_value: "Hyphens::kManual", 1265 default_value: "Hyphens::kManual",
1266 field_size: 2, 1266 field_size: 2,
1267 field_group: "rare-inherited", 1267 field_group: "rare-inherited",
1268 }, 1268 },
1269 { 1269 {
1270 name: "image-rendering", 1270 name: "image-rendering",
1271 inherited: true, 1271 inherited: true,
1272 field_template: "storage_only", 1272 field_template: "storage_only",
1273 type_name: "EImageRendering", 1273 type_name: "EImageRendering",
1274 default_value: "kImageRenderingAuto", 1274 default_value: "EImageRendering::kAuto",
1275 field_size: 3, 1275 field_size: 3,
1276 field_group: "rare-inherited", 1276 field_group: "rare-inherited",
1277 }, 1277 },
1278 { 1278 {
1279 name: "image-orientation", 1279 name: "image-orientation",
1280 api_class: true, 1280 api_class: true,
1281 api_methods: ["parseSingleValue"], 1281 api_methods: ["parseSingleValue"],
1282 converter: "ConvertImageOrientation", 1282 converter: "ConvertImageOrientation",
1283 inherited: true, 1283 inherited: true,
1284 name_for_methods: "RespectImageOrientation", 1284 name_for_methods: "RespectImageOrientation",
(...skipping 2203 matching lines...) Expand 10 before | Expand all | Expand 10 after
3488 { 3488 {
3489 name: "-webkit-transition-timing-function", 3489 name: "-webkit-transition-timing-function",
3490 alias_for: "transition-timing-function", 3490 alias_for: "transition-timing-function",
3491 }, 3491 },
3492 { 3492 {
3493 name: "-webkit-user-select", 3493 name: "-webkit-user-select",
3494 alias_for: "user-select", 3494 alias_for: "user-select",
3495 }, 3495 },
3496 ], 3496 ],
3497 } 3497 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698