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

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

Issue 2860333002: Implements CSSPropertyAPI for the -webkit-border-[start|end|before|after]-width properties. (Closed)
Patch Set: 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 2506 matching lines...) Expand 10 before | Expand all | Expand 10 after
2517 api_methods: ["parseSingleValue"], 2517 api_methods: ["parseSingleValue"],
2518 direction_aware: true, 2518 direction_aware: true,
2519 }, 2519 },
2520 { 2520 {
2521 name: "-webkit-border-end-style", 2521 name: "-webkit-border-end-style",
2522 direction_aware: true, 2522 direction_aware: true,
2523 }, 2523 },
2524 { 2524 {
2525 name: "-webkit-border-end-width", 2525 name: "-webkit-border-end-width",
2526 api_class: "CSSPropertyAPIWebkitBorderWidth", 2526 api_class: "CSSPropertyAPIWebkitBorderWidth",
2527 api_methods: ["parseSingleValue"],
2527 direction_aware: true, 2528 direction_aware: true,
2528 }, 2529 },
2529 { 2530 {
2530 name: "-webkit-border-start-color", 2531 name: "-webkit-border-start-color",
2531 api_class: "CSSPropertyAPIColor", 2532 api_class: "CSSPropertyAPIColor",
2532 api_methods: ["parseSingleValue"], 2533 api_methods: ["parseSingleValue"],
2533 direction_aware: true, 2534 direction_aware: true,
2534 }, 2535 },
2535 { 2536 {
2536 name: "-webkit-border-start-style", 2537 name: "-webkit-border-start-style",
2537 direction_aware: true, 2538 direction_aware: true,
2538 }, 2539 },
2539 { 2540 {
2540 name: "-webkit-border-start-width", 2541 name: "-webkit-border-start-width",
2541 api_class: "CSSPropertyAPIWebkitBorderWidth", 2542 api_class: "CSSPropertyAPIWebkitBorderWidth",
2543 api_methods: ["parseSingleValue"],
2542 direction_aware: true, 2544 direction_aware: true,
2543 }, 2545 },
2544 { 2546 {
2545 name: "-webkit-border-before-color", 2547 name: "-webkit-border-before-color",
2546 api_class: "CSSPropertyAPIColor", 2548 api_class: "CSSPropertyAPIColor",
2547 api_methods: ["parseSingleValue"], 2549 api_methods: ["parseSingleValue"],
2548 direction_aware: true, 2550 direction_aware: true,
2549 }, 2551 },
2550 { 2552 {
2551 name: "-webkit-border-before-style", 2553 name: "-webkit-border-before-style",
2552 direction_aware: true, 2554 direction_aware: true,
2553 }, 2555 },
2554 { 2556 {
2555 name: "-webkit-border-before-width", 2557 name: "-webkit-border-before-width",
2556 api_class: "CSSPropertyAPIWebkitBorderWidth", 2558 api_class: "CSSPropertyAPIWebkitBorderWidth",
2559 api_methods: ["parseSingleValue"],
2557 direction_aware: true, 2560 direction_aware: true,
2558 }, 2561 },
2559 { 2562 {
2560 name: "-webkit-border-after-color", 2563 name: "-webkit-border-after-color",
2561 api_class: "CSSPropertyAPIColor", 2564 api_class: "CSSPropertyAPIColor",
2562 api_methods: ["parseSingleValue"], 2565 api_methods: ["parseSingleValue"],
2563 direction_aware: true, 2566 direction_aware: true,
2564 }, 2567 },
2565 { 2568 {
2566 name: "-webkit-border-after-style", 2569 name: "-webkit-border-after-style",
2567 direction_aware: true, 2570 direction_aware: true,
2568 }, 2571 },
2569 { 2572 {
2570 name: "-webkit-border-after-width", 2573 name: "-webkit-border-after-width",
2571 api_class: "CSSPropertyAPIWebkitBorderWidth", 2574 api_class: "CSSPropertyAPIWebkitBorderWidth",
2575 api_methods: ["parseSingleValue"],
2572 direction_aware: true, 2576 direction_aware: true,
2573 }, 2577 },
2574 { 2578 {
2575 name: "-webkit-margin-end", 2579 name: "-webkit-margin-end",
2576 api_class: "CSSPropertyAPIWebkitMargin", 2580 api_class: "CSSPropertyAPIWebkitMargin",
2577 api_methods: ["parseSingleValue"], 2581 api_methods: ["parseSingleValue"],
2578 direction_aware: true, 2582 direction_aware: true,
2579 }, 2583 },
2580 { 2584 {
2581 name: "-webkit-margin-start", 2585 name: "-webkit-margin-start",
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
3225 { 3229 {
3226 name: "-webkit-transition-timing-function", 3230 name: "-webkit-transition-timing-function",
3227 alias_for: "transition-timing-function", 3231 alias_for: "transition-timing-function",
3228 }, 3232 },
3229 { 3233 {
3230 name: "-webkit-user-select", 3234 name: "-webkit-user-select",
3231 alias_for: "user-select", 3235 alias_for: "user-select",
3232 }, 3236 },
3233 ], 3237 ],
3234 } 3238 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/BUILD.gn ('k') | third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698