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

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

Issue 2898363002: Generate enum/getters/setters/mappings for word-break. (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 2685 matching lines...) Expand 10 before | Expand all | Expand 10 after
2696 field_type_path: "platform/Length", 2696 field_type_path: "platform/Length",
2697 field_group: "box", 2697 field_group: "box",
2698 default_value: "Length()" 2698 default_value: "Length()"
2699 }, 2699 },
2700 { 2700 {
2701 name: "will-change", 2701 name: "will-change",
2702 api_class: true, 2702 api_class: true,
2703 api_methods: ["parseSingleValue"], 2703 api_methods: ["parseSingleValue"],
2704 custom_all: true, 2704 custom_all: true,
2705 }, 2705 },
2706 // Word Break Values. Matches WinIE and CSS3
alancutter (OOO until 2018) 2017/05/26 01:53:20 Move this next to the keywords field.
2706 { 2707 {
2707 name: "word-break", 2708 name: "word-break",
2708 inherited: true, 2709 inherited: true,
2709 field_template: "storage_only", 2710 field_template: "keyword",
2710 type_name: "EWordBreak", 2711 keywords: ["normal", "break-all", "keep-all", "break-word"],
2711 default_value: "EWordBreak::kNormal", 2712 default_value: "normal",
2712 field_size: 2,
2713 field_group: "rare-inherited", 2713 field_group: "rare-inherited",
2714 }, 2714 },
2715 { 2715 {
2716 name: "word-spacing", 2716 name: "word-spacing",
2717 api_class: "CSSPropertyAPILetterAndWordSpacing", 2717 api_class: "CSSPropertyAPILetterAndWordSpacing",
2718 api_methods: ["parseSingleValue"], 2718 api_methods: ["parseSingleValue"],
2719 converter: "ConvertSpacing", 2719 converter: "ConvertSpacing",
2720 inherited: true, 2720 inherited: true,
2721 initial: "InitialLetterWordSpacing", 2721 initial: "InitialLetterWordSpacing",
2722 interpolable: true, 2722 interpolable: true,
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
3488 { 3488 {
3489 name: "-webkit-transition-timing-function", 3489 name: "-webkit-transition-timing-function",
3490 alias_for: "transition-timing-function", 3490 alias_for: "transition-timing-function",
3491 }, 3491 },
3492 { 3492 {
3493 name: "-webkit-user-select", 3493 name: "-webkit-user-select",
3494 alias_for: "user-select", 3494 alias_for: "user-select",
3495 }, 3495 },
3496 ], 3496 ],
3497 } 3497 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698