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

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

Issue 2853433003: Generate enum/getters/setters/mappings for box-sizing. (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
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 858 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 field_template: "external", 869 field_template: "external",
870 field_type_path: "platform/Length", 870 field_type_path: "platform/Length",
871 field_group: "surround", 871 field_group: "surround",
872 default_value: "Length()", 872 default_value: "Length()",
873 }, 873 },
874 { 874 {
875 name: "box-shadow", 875 name: "box-shadow",
876 converter: "ConvertShadowList", 876 converter: "ConvertShadowList",
877 interpolable: true, 877 interpolable: true,
878 }, 878 },
879 "box-sizing", 879 {
880 name: "box-sizing",
881 field_template: "keyword",
882 type_name: "EBoxSizing",
883 default_value: "content-box",
884 keywords: ["content-box", "border-box"],
885 field_group: "box",
886 },
880 { 887 {
881 name: "break-after", 888 name: "break-after",
882 // Storage for this property also covers these legacy properties: 889 // Storage for this property also covers these legacy properties:
883 // page-break-after, -webkit-column-break-after 890 // page-break-after, -webkit-column-break-after
884 default_value: "auto", 891 default_value: "auto",
885 field_template: "keyword", 892 field_template: "keyword",
886 keywords: [ 893 keywords: [
887 "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page", "recto", "right", "verso" 894 "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page", "recto", "right", "verso"
888 ], 895 ],
889 type_name: "EBreakBetween", 896 type_name: "EBreakBetween",
(...skipping 2418 matching lines...) Expand 10 before | Expand all | Expand 10 after
3308 { 3315 {
3309 name: "-webkit-transition-timing-function", 3316 name: "-webkit-transition-timing-function",
3310 alias_for: "transition-timing-function", 3317 alias_for: "transition-timing-function",
3311 }, 3318 },
3312 { 3319 {
3313 name: "-webkit-user-select", 3320 name: "-webkit-user-select",
3314 alias_for: "user-select", 3321 alias_for: "user-select",
3315 }, 3322 },
3316 ], 3323 ],
3317 } 3324 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698