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

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

Issue 2642033002: Implements CSSPropertyAPI for the d 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 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after
1014 }, 1014 },
1015 { 1015 {
1016 name: "cy", 1016 name: "cy",
1017 api_class: "CSSPropertyAPIStrokeOrLength", 1017 api_class: "CSSPropertyAPIStrokeOrLength",
1018 converter: "ConvertLength", 1018 converter: "ConvertLength",
1019 interpolable: true, 1019 interpolable: true,
1020 svg: true, 1020 svg: true,
1021 }, 1021 },
1022 { 1022 {
1023 name: "d", 1023 name: "d",
1024 api_class: true,
1025 api_methods: ["parseSingleValue"],
1024 converter: "ConvertPathOrNone", 1026 converter: "ConvertPathOrNone",
1025 interpolable: true, 1027 interpolable: true,
1026 svg: true, 1028 svg: true,
1027 }, 1029 },
1028 { 1030 {
1029 name: "display", 1031 name: "display",
1030 default_value: "inline", 1032 default_value: "inline",
1031 field_template: 'keyword', 1033 field_template: 'keyword',
1032 keywords: [ 1034 keywords: [
1033 "inline", "block", "list-item", "inline-block", "table", "inline-table", "table-row-group", "table-header-group", 1035 "inline", "block", "list-item", "inline-block", "table", "inline-table", "table-row-group", "table-header-group",
(...skipping 2231 matching lines...) Expand 10 before | Expand all | Expand 10 after
3265 { 3267 {
3266 name: "-webkit-transition-timing-function", 3268 name: "-webkit-transition-timing-function",
3267 alias_for: "transition-timing-function", 3269 alias_for: "transition-timing-function",
3268 }, 3270 },
3269 { 3271 {
3270 name: "-webkit-user-select", 3272 name: "-webkit-user-select",
3271 alias_for: "user-select", 3273 alias_for: "user-select",
3272 }, 3274 },
3273 ], 3275 ],
3274 } 3276 }
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