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

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

Issue 2911383002: Generate enum/getters/setters/mappings for line-break. (Closed)
Patch Set: 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 2417 matching lines...) Expand 10 before | Expand all | Expand 10 after
2428 name_for_methods: "HyphenationString", 2428 name_for_methods: "HyphenationString",
2429 field_template: "external", 2429 field_template: "external",
2430 type_name: "AtomicString", 2430 type_name: "AtomicString",
2431 include_paths: ["platform/wtf/text/AtomicString.h"], 2431 include_paths: ["platform/wtf/text/AtomicString.h"],
2432 default_value: "AtomicString()", 2432 default_value: "AtomicString()",
2433 field_group: "rare-inherited", 2433 field_group: "rare-inherited",
2434 }, 2434 },
2435 { 2435 {
2436 name: "-webkit-line-break", 2436 name: "-webkit-line-break",
2437 inherited: true, 2437 inherited: true,
2438 field_template: "storage_only", 2438 field_template: "keyword",
2439 type_name: "LineBreak", 2439 type_name: "LineBreak",
2440 default_value: "LineBreak::kAuto", 2440 keywords: ["auto", "loose", "normal", "strict", "after-white-space"],
2441 field_size: 3, 2441 default_value: "auto",
2442 field_group: "rare-inherited", 2442 field_group: "rare-inherited",
2443 }, 2443 },
2444 { 2444 {
2445 name: "-webkit-line-clamp", 2445 name: "-webkit-line-clamp",
2446 api_class: true, 2446 api_class: true,
2447 api_methods: ["parseSingleValue"], 2447 api_methods: ["parseSingleValue"],
2448 type_name: "LineClampValue", 2448 type_name: "LineClampValue",
2449 }, 2449 },
2450 { 2450 {
2451 name: "-webkit-margin-after-collapse", 2451 name: "-webkit-margin-after-collapse",
(...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after
3525 { 3525 {
3526 name: "-webkit-transition-timing-function", 3526 name: "-webkit-transition-timing-function",
3527 alias_for: "transition-timing-function", 3527 alias_for: "transition-timing-function",
3528 }, 3528 },
3529 { 3529 {
3530 name: "-webkit-user-select", 3530 name: "-webkit-user-select",
3531 alias_for: "user-select", 3531 alias_for: "user-select",
3532 }, 3532 },
3533 ], 3533 ],
3534 } 3534 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698