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

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

Issue 2896723003: Generate enum/getters/setters/mappings for speak. (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
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 1842 matching lines...) Expand 10 before | Expand all | Expand 10 after
1853 }, 1853 },
1854 { 1854 {
1855 name: "size", 1855 name: "size",
1856 api_class: true, 1856 api_class: true,
1857 api_methods: ["parseSingleValue"], 1857 api_methods: ["parseSingleValue"],
1858 custom_all: true, 1858 custom_all: true,
1859 }, 1859 },
1860 { 1860 {
1861 name: "speak", 1861 name: "speak",
1862 inherited: true, 1862 inherited: true,
1863 field_template: "storage_only", 1863 field_template: "keyword",
1864 type_name: "ESpeak", 1864 keywords: ["none", "normal", "spell-out", "digits", "literal-punctuation", "no-punctuation"],
1865 default_value: "ESpeak::kNormal", 1865 default_value: "normal",
1866 field_size: 3,
1867 field_group: "rare-inherited", 1866 field_group: "rare-inherited",
1868 }, 1867 },
1869 { 1868 {
1870 name: "stop-color", 1869 name: "stop-color",
1871 api_class: "CSSPropertyAPIColor", 1870 api_class: "CSSPropertyAPIColor",
1872 api_methods: ["parseSingleValue"], 1871 api_methods: ["parseSingleValue"],
1873 converter: "ConvertColor", 1872 converter: "ConvertColor",
1874 interpolable: true, 1873 interpolable: true,
1875 svg: true, 1874 svg: true,
1876 }, 1875 },
(...skipping 1611 matching lines...) Expand 10 before | Expand all | Expand 10 after
3488 { 3487 {
3489 name: "-webkit-transition-timing-function", 3488 name: "-webkit-transition-timing-function",
3490 alias_for: "transition-timing-function", 3489 alias_for: "transition-timing-function",
3491 }, 3490 },
3492 { 3491 {
3493 name: "-webkit-user-select", 3492 name: "-webkit-user-select",
3494 alias_for: "user-select", 3493 alias_for: "user-select",
3495 }, 3494 },
3496 ], 3495 ],
3497 } 3496 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698