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

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

Issue 2895143002: Generate getters/setters for line-step-height. (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
« 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 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 default_value: "Length(-100.0, kPercent)", 1352 default_value: "Length(-100.0, kPercent)",
1353 field_group: "inherited", 1353 field_group: "inherited",
1354 }, 1354 },
1355 { 1355 {
1356 name: "line-height-step", 1356 name: "line-height-step",
1357 api_class: true, 1357 api_class: true,
1358 api_methods: ["parseSingleValue"], 1358 api_methods: ["parseSingleValue"],
1359 converter: "ConvertComputedLength<uint8_t>", 1359 converter: "ConvertComputedLength<uint8_t>",
1360 inherited: true, 1360 inherited: true,
1361 runtime_flag: "CSSSnapSize", 1361 runtime_flag: "CSSSnapSize",
1362 field_template: "storage_only", 1362 field_template: "primitive",
1363 type_name: "uint8_t", 1363 type_name: "uint8_t",
1364 default_value: "0", 1364 default_value: "0",
1365 field_group: "rare-inherited", 1365 field_group: "rare-inherited",
1366 }, 1366 },
1367 { 1367 {
1368 name: "list-style-image", 1368 name: "list-style-image",
1369 api_class: "CSSPropertyAPIImage", 1369 api_class: "CSSPropertyAPIImage",
1370 api_methods: ["parseSingleValue"], 1370 api_methods: ["parseSingleValue"],
1371 custom_value: true, 1371 custom_value: true,
1372 inherited: true, 1372 inherited: true,
(...skipping 2115 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
« 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