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

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

Issue 2640143005: Support subpixel layout for borders. (Closed)
Patch Set: Rebased patch set. Created 3 years, 10 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 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 initial: "initialBorderRadius", 595 initial: "initialBorderRadius",
596 interpolable: true, 596 interpolable: true,
597 }, 597 },
598 { 598 {
599 name: "border-bottom-style", 599 name: "border-bottom-style",
600 initial: "initialBorderStyle", 600 initial: "initialBorderStyle",
601 type_name: "EBorderStyle", 601 type_name: "EBorderStyle",
602 }, 602 },
603 { 603 {
604 name: "border-bottom-width", 604 name: "border-bottom-width",
605 converter: "convertLineWidth<unsigned>", 605 converter: "convertLineWidth<float>",
606 initial: "initialBorderWidth", 606 initial: "initialBorderWidth",
607 interpolable: true, 607 interpolable: true,
608 }, 608 },
609 { 609 {
610 name: "border-collapse", 610 name: "border-collapse",
611 independent: true, 611 independent: true,
612 inherited: true, 612 inherited: true,
613 initial_keyword: "separate", 613 initial_keyword: "separate",
614 keyword_only: true, 614 keyword_only: true,
615 keywords: ["separate", "collapse"], 615 keywords: ["separate", "collapse"],
(...skipping 30 matching lines...) Expand all
646 custom_all: true, 646 custom_all: true,
647 interpolable: true, 647 interpolable: true,
648 }, 648 },
649 { 649 {
650 name: "border-left-style", 650 name: "border-left-style",
651 initial: "initialBorderStyle", 651 initial: "initialBorderStyle",
652 type_name: "EBorderStyle", 652 type_name: "EBorderStyle",
653 }, 653 },
654 { 654 {
655 name: "border-left-width", 655 name: "border-left-width",
656 converter: "convertLineWidth<unsigned>", 656 converter: "convertLineWidth<float>",
657 initial: "initialBorderWidth", 657 initial: "initialBorderWidth",
658 interpolable: true, 658 interpolable: true,
659 }, 659 },
660 { 660 {
661 name: "border-right-color", 661 name: "border-right-color",
662 custom_all: true, 662 custom_all: true,
663 interpolable: true, 663 interpolable: true,
664 }, 664 },
665 { 665 {
666 name: "border-right-style", 666 name: "border-right-style",
667 initial: "initialBorderStyle", 667 initial: "initialBorderStyle",
668 type_name: "EBorderStyle", 668 type_name: "EBorderStyle",
669 }, 669 },
670 { 670 {
671 name: "border-right-width", 671 name: "border-right-width",
672 converter: "convertLineWidth<unsigned>", 672 converter: "convertLineWidth<float>",
673 initial: "initialBorderWidth", 673 initial: "initialBorderWidth",
674 interpolable: true, 674 interpolable: true,
675 }, 675 },
676 { 676 {
677 name: "border-top-color", 677 name: "border-top-color",
678 custom_all: true, 678 custom_all: true,
679 interpolable: true, 679 interpolable: true,
680 }, 680 },
681 { 681 {
682 name: "border-top-left-radius", 682 name: "border-top-left-radius",
683 api_class: "CSSPropertyAPIBorderRadius", 683 api_class: "CSSPropertyAPIBorderRadius",
684 converter: "convertRadius", 684 converter: "convertRadius",
685 initial: "initialBorderRadius", 685 initial: "initialBorderRadius",
686 interpolable: true, 686 interpolable: true,
687 }, 687 },
688 { 688 {
689 name: "border-top-right-radius", 689 name: "border-top-right-radius",
690 api_class: "CSSPropertyAPIBorderRadius", 690 api_class: "CSSPropertyAPIBorderRadius",
691 converter: "convertRadius", 691 converter: "convertRadius",
692 initial: "initialBorderRadius", 692 initial: "initialBorderRadius",
693 interpolable: true, 693 interpolable: true,
694 }, 694 },
695 { 695 {
696 name: "border-top-style", 696 name: "border-top-style",
697 initial: "initialBorderStyle", 697 initial: "initialBorderStyle",
698 type_name: "EBorderStyle", 698 type_name: "EBorderStyle",
699 }, 699 },
700 { 700 {
701 name: "border-top-width", 701 name: "border-top-width",
702 converter: "convertLineWidth<unsigned>", 702 converter: "convertLineWidth<float>",
703 initial: "initialBorderWidth", 703 initial: "initialBorderWidth",
704 interpolable: true, 704 interpolable: true,
705 keywords: ["thin", "medium", "thick"], 705 keywords: ["thin", "medium", "thick"],
706 supports_percentage: true, 706 supports_percentage: true,
707 typedom_types: ["Length"], 707 typedom_types: ["Length"],
708 }, 708 },
709 { 709 {
710 name: "bottom", 710 name: "bottom",
711 converter: "convertLengthOrAuto", 711 converter: "convertLengthOrAuto",
712 initial: "initialOffset", 712 initial: "initialOffset",
(...skipping 2091 matching lines...) Expand 10 before | Expand all | Expand 10 after
2804 { 2804 {
2805 name: "-webkit-transition-timing-function", 2805 name: "-webkit-transition-timing-function",
2806 alias_for: "transition-timing-function", 2806 alias_for: "transition-timing-function",
2807 }, 2807 },
2808 { 2808 {
2809 name: "-webkit-user-select", 2809 name: "-webkit-user-select",
2810 alias_for: "user-select", 2810 alias_for: "user-select",
2811 }, 2811 },
2812 ], 2812 ],
2813 } 2813 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698