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

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

Issue 2841453002: Generate StyleVisualData in ComputedStyleBase. (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/css/ComputedStyleExtraFields.json5 » ('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 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 priority: "High", 536 priority: "High",
537 type_name: "TextRenderingMode", 537 type_name: "TextRenderingMode",
538 }, 538 },
539 { 539 {
540 name: "zoom", 540 name: "zoom",
541 api_class: true, 541 api_class: true,
542 api_methods: ["parseSingleValue"], 542 api_methods: ["parseSingleValue"],
543 custom_all: true, 543 custom_all: true,
544 is_descriptor: true, 544 is_descriptor: true,
545 priority: "High", 545 priority: "High",
546 field_template: "storage_only",
547 type_name: "float",
548 default_value: "1.0",
549 field_group: "visual",
546 }, 550 },
547 551
548 { 552 {
549 name: "align-content", 553 name: "align-content",
550 api_methods: ["parseSingleValue"], 554 api_methods: ["parseSingleValue"],
551 api_class: "CSSPropertyAPIAlignOrJustifyContent", 555 api_class: "CSSPropertyAPIAlignOrJustifyContent",
552 converter: "ConvertContentAlignmentData", 556 converter: "ConvertContentAlignmentData",
553 initial: "InitialContentAlignment", 557 initial: "InitialContentAlignment",
554 }, 558 },
555 { 559 {
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 field_template: "keyword", 875 field_template: "keyword",
872 keywords: ["none", "left", "right", "both"], 876 keywords: ["none", "left", "right", "both"],
873 }, 877 },
874 { 878 {
875 name: "clip", 879 name: "clip",
876 api_class: true, 880 api_class: true,
877 api_methods: ["parseSingleValue"], 881 api_methods: ["parseSingleValue"],
878 converter: "ConvertClip", 882 converter: "ConvertClip",
879 custom_all: true, 883 custom_all: true,
880 interpolable: true, 884 interpolable: true,
885 field_template: "storage_only",
886 field_type_path: "platform/LengthBox",
887 default_value: "LengthBox()",
888 field_group: "visual",
881 }, 889 },
882 { 890 {
883 name: "clip-path", 891 name: "clip-path",
884 api_class: true, 892 api_class: true,
885 api_methods: ["parseSingleValue"], 893 api_methods: ["parseSingleValue"],
886 converter: "ConvertClipPath", 894 converter: "ConvertClipPath",
887 interpolable: true, 895 interpolable: true,
888 }, 896 },
889 { 897 {
890 name: "clip-rule", 898 name: "clip-rule",
(...skipping 2346 matching lines...) Expand 10 before | Expand all | Expand 10 after
3237 { 3245 {
3238 name: "-webkit-transition-timing-function", 3246 name: "-webkit-transition-timing-function",
3239 alias_for: "transition-timing-function", 3247 alias_for: "transition-timing-function",
3240 }, 3248 },
3241 { 3249 {
3242 name: "-webkit-user-select", 3250 name: "-webkit-user-select",
3243 alias_for: "user-select", 3251 alias_for: "user-select",
3244 }, 3252 },
3245 ], 3253 ],
3246 } 3254 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/ComputedStyleExtraFields.json5 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698