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

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

Issue 2878533004: Implements CSSPropertyAPI for the offset-path property (Closed)
Patch Set: add the new generated .h file to core/BUILD.gn 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 1448 matching lines...) Expand 10 before | Expand all | Expand 10 after
1459 runtime_flag: "CSSOffsetPositionAnchor", 1459 runtime_flag: "CSSOffsetPositionAnchor",
1460 }, 1460 },
1461 { 1461 {
1462 name: "offset-distance", 1462 name: "offset-distance",
1463 api_class: true, 1463 api_class: true,
1464 converter: "ConvertLength", 1464 converter: "ConvertLength",
1465 interpolable: true, 1465 interpolable: true,
1466 }, 1466 },
1467 { 1467 {
1468 name: "offset-path", 1468 name: "offset-path",
1469 api_class: true,
1470 api_methods: ["parseSingleValue"],
1469 converter: "ConvertPathOrNone", 1471 converter: "ConvertPathOrNone",
1470 }, 1472 },
1471 { 1473 {
1472 name: "offset-position", 1474 name: "offset-position",
1473 api_class: true, 1475 api_class: true,
1474 api_methods: ["parseSingleValue"], 1476 api_methods: ["parseSingleValue"],
1475 converter: "ConvertPositionOrAuto", 1477 converter: "ConvertPositionOrAuto",
1476 interpolable: true, 1478 interpolable: true,
1477 runtime_flag: "CSSOffsetPositionAnchor", 1479 runtime_flag: "CSSOffsetPositionAnchor",
1478 }, 1480 },
(...skipping 1788 matching lines...) Expand 10 before | Expand all | Expand 10 after
3267 { 3269 {
3268 name: "-webkit-transition-timing-function", 3270 name: "-webkit-transition-timing-function",
3269 alias_for: "transition-timing-function", 3271 alias_for: "transition-timing-function",
3270 }, 3272 },
3271 { 3273 {
3272 name: "-webkit-user-select", 3274 name: "-webkit-user-select",
3273 alias_for: "user-select", 3275 alias_for: "user-select",
3274 }, 3276 },
3275 ], 3277 ],
3276 } 3278 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/BUILD.gn ('k') | third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698