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

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

Issue 2845233002: Generate getters/setters for border-spacing. (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
« 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 2149 matching lines...) Expand 10 before | Expand all | Expand 10 after
2160 use_handlers_for: "CSSPropertyBackgroundOrigin", 2160 use_handlers_for: "CSSPropertyBackgroundOrigin",
2161 }, 2161 },
2162 { 2162 {
2163 name: "-webkit-border-horizontal-spacing", 2163 name: "-webkit-border-horizontal-spacing",
2164 api_class: "CSSPropertyAPIWebkitBorderSpacing", 2164 api_class: "CSSPropertyAPIWebkitBorderSpacing",
2165 api_methods: ["parseSingleValue"], 2165 api_methods: ["parseSingleValue"],
2166 converter: "ConvertComputedLength<short>", 2166 converter: "ConvertComputedLength<short>",
2167 inherited: true, 2167 inherited: true,
2168 interpolable: true, 2168 interpolable: true,
2169 name_for_methods: "HorizontalBorderSpacing", 2169 name_for_methods: "HorizontalBorderSpacing",
2170 field_template: "storage_only", 2170 field_template: "primitive",
2171 type_name: "short", 2171 type_name: "short",
2172 field_group: "inherited", 2172 field_group: "inherited",
2173 default_value: "0", 2173 default_value: "0",
2174 }, 2174 },
2175 { 2175 {
2176 name: "-webkit-border-image", 2176 name: "-webkit-border-image",
2177 api_class: true, 2177 api_class: true,
2178 custom_value: true, 2178 custom_value: true,
2179 initial: "InitialNinePieceImage", 2179 initial: "InitialNinePieceImage",
2180 }, 2180 },
2181 { 2181 {
2182 name: "-webkit-border-vertical-spacing", 2182 name: "-webkit-border-vertical-spacing",
2183 api_class: "CSSPropertyAPIWebkitBorderSpacing", 2183 api_class: "CSSPropertyAPIWebkitBorderSpacing",
2184 api_methods: ["parseSingleValue"], 2184 api_methods: ["parseSingleValue"],
2185 converter: "ConvertComputedLength<short>", 2185 converter: "ConvertComputedLength<short>",
2186 inherited: true, 2186 inherited: true,
2187 interpolable: true, 2187 interpolable: true,
2188 name_for_methods: "VerticalBorderSpacing", 2188 name_for_methods: "VerticalBorderSpacing",
2189 field_template: "storage_only", 2189 field_template: "primitive",
2190 type_name: "short", 2190 type_name: "short",
2191 field_group: "inherited", 2191 field_group: "inherited",
2192 default_value: "0", 2192 default_value: "0",
2193 }, 2193 },
2194 { 2194 {
2195 name: "-webkit-box-align", 2195 name: "-webkit-box-align",
2196 type_name: "EBoxAlignment", 2196 type_name: "EBoxAlignment",
2197 }, 2197 },
2198 { 2198 {
2199 name: "-webkit-box-decoration-break", 2199 name: "-webkit-box-decoration-break",
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after
3335 { 3335 {
3336 name: "-webkit-transition-timing-function", 3336 name: "-webkit-transition-timing-function",
3337 alias_for: "transition-timing-function", 3337 alias_for: "transition-timing-function",
3338 }, 3338 },
3339 { 3339 {
3340 name: "-webkit-user-select", 3340 name: "-webkit-user-select",
3341 alias_for: "user-select", 3341 alias_for: "user-select",
3342 }, 3342 },
3343 ], 3343 ],
3344 } 3344 }
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