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

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

Issue 2715213003: Use independent property inheritance fast-path for text-align. (Closed)
Patch Set: Created 3 years, 9 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 1705 matching lines...) Expand 10 before | Expand all | Expand 10 after
1716 name: "tab-size", 1716 name: "tab-size",
1717 api_class: true, 1717 api_class: true,
1718 api_methods: ["parseSingleValue"], 1718 api_methods: ["parseSingleValue"],
1719 converter: "convertLengthOrTabSpaces", 1719 converter: "convertLengthOrTabSpaces",
1720 inherited: true, 1720 inherited: true,
1721 type_name: "TabSize", 1721 type_name: "TabSize",
1722 }, 1722 },
1723 { 1723 {
1724 name: "text-align", 1724 name: "text-align",
1725 custom_value: true, 1725 custom_value: true,
1726 independent: true,
1726 inherited: true, 1727 inherited: true,
1727 initial_keyword: "start", 1728 initial_keyword: "start",
1728 field_template: "keyword", 1729 field_template: "keyword",
1729 keywords: [ 1730 keywords: [
1730 "left", "right", "center", "justify", "webkitLeft", "webkitRight", "webk itCenter", "start", "end", 1731 "left", "right", "center", "justify", "webkitLeft", "webkitRight", "webk itCenter", "start", "end",
1731 ], 1732 ],
1732 }, 1733 },
1733 { 1734 {
1734 name: "text-align-last", 1735 name: "text-align-last",
1735 inherited: true, 1736 inherited: true,
(...skipping 1337 matching lines...) Expand 10 before | Expand all | Expand 10 after
3073 { 3074 {
3074 name: "-webkit-transition-timing-function", 3075 name: "-webkit-transition-timing-function",
3075 alias_for: "transition-timing-function", 3076 alias_for: "transition-timing-function",
3076 }, 3077 },
3077 { 3078 {
3078 name: "-webkit-user-select", 3079 name: "-webkit-user-select",
3079 alias_for: "user-select", 3080 alias_for: "user-select",
3080 }, 3081 },
3081 ], 3082 ],
3082 } 3083 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698