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

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

Issue 2897833003: Generate getters/setters for tab-size. (Closed)
Patch Set: 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 1954 matching lines...) Expand 10 before | Expand all | Expand 10 after
1965 ] 1965 ]
1966 }, 1966 },
1967 { 1967 {
1968 name: "tab-size", 1968 name: "tab-size",
1969 api_class: true, 1969 api_class: true,
1970 api_methods: ["parseSingleValue"], 1970 api_methods: ["parseSingleValue"],
1971 converter: "ConvertLengthOrTabSpaces", 1971 converter: "ConvertLengthOrTabSpaces",
1972 inherited: true, 1972 inherited: true,
1973 getter: "GetTabSize", 1973 getter: "GetTabSize",
1974 field_type_path: "platform/text/TabSize", 1974 field_type_path: "platform/text/TabSize",
1975 field_template: "storage_only", 1975 field_template: "external",
1976 default_value: "TabSize(8)", 1976 default_value: "TabSize(8)",
1977 field_group: "rare-inherited", 1977 field_group: "rare-inherited",
1978 }, 1978 },
1979 { 1979 {
1980 name: "text-align", 1980 name: "text-align",
1981 custom_value: true, 1981 custom_value: true,
1982 independent: false, 1982 independent: false,
1983 inherited: true, 1983 inherited: true,
1984 default_value: "start", 1984 default_value: "start",
1985 field_template: "keyword", 1985 field_template: "keyword",
(...skipping 1506 matching lines...) Expand 10 before | Expand all | Expand 10 after
3492 { 3492 {
3493 name: "-webkit-transition-timing-function", 3493 name: "-webkit-transition-timing-function",
3494 alias_for: "transition-timing-function", 3494 alias_for: "transition-timing-function",
3495 }, 3495 },
3496 { 3496 {
3497 name: "-webkit-user-select", 3497 name: "-webkit-user-select",
3498 alias_for: "user-select", 3498 alias_for: "user-select",
3499 }, 3499 },
3500 ], 3500 ],
3501 } 3501 }
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