OLD | NEW |
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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 interpolable: true, | 625 interpolable: true, |
626 }, | 626 }, |
627 { | 627 { |
628 name: "border-bottom-style", | 628 name: "border-bottom-style", |
629 initial: "initialBorderStyle", | 629 initial: "initialBorderStyle", |
630 type_name: "EBorderStyle", | 630 type_name: "EBorderStyle", |
631 }, | 631 }, |
632 { | 632 { |
633 name: "border-bottom-width", | 633 name: "border-bottom-width", |
634 api_class: "CSSPropertyAPIBorderWidth", | 634 api_class: "CSSPropertyAPIBorderWidth", |
635 converter: "convertLineWidth<unsigned>", | 635 converter: "convertLineWidth<float>", |
636 initial: "initialBorderWidth", | 636 initial: "initialBorderWidth", |
637 interpolable: true, | 637 interpolable: true, |
638 }, | 638 }, |
639 { | 639 { |
640 name: "border-collapse", | 640 name: "border-collapse", |
641 independent: true, | 641 independent: true, |
642 inherited: true, | 642 inherited: true, |
643 initial_keyword: "separate", | 643 initial_keyword: "separate", |
644 keyword_only: true, | 644 keyword_only: true, |
645 keywords: ["separate", "collapse"], | 645 keywords: ["separate", "collapse"], |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 interpolable: true, | 682 interpolable: true, |
683 }, | 683 }, |
684 { | 684 { |
685 name: "border-left-style", | 685 name: "border-left-style", |
686 initial: "initialBorderStyle", | 686 initial: "initialBorderStyle", |
687 type_name: "EBorderStyle", | 687 type_name: "EBorderStyle", |
688 }, | 688 }, |
689 { | 689 { |
690 name: "border-left-width", | 690 name: "border-left-width", |
691 api_class: "CSSPropertyAPIBorderWidth", | 691 api_class: "CSSPropertyAPIBorderWidth", |
692 converter: "convertLineWidth<unsigned>", | 692 converter: "convertLineWidth<float>", |
693 initial: "initialBorderWidth", | 693 initial: "initialBorderWidth", |
694 interpolable: true, | 694 interpolable: true, |
695 }, | 695 }, |
696 { | 696 { |
697 name: "border-right-color", | 697 name: "border-right-color", |
698 custom_all: true, | 698 custom_all: true, |
699 interpolable: true, | 699 interpolable: true, |
700 }, | 700 }, |
701 { | 701 { |
702 name: "border-right-style", | 702 name: "border-right-style", |
703 initial: "initialBorderStyle", | 703 initial: "initialBorderStyle", |
704 type_name: "EBorderStyle", | 704 type_name: "EBorderStyle", |
705 }, | 705 }, |
706 { | 706 { |
707 name: "border-right-width", | 707 name: "border-right-width", |
708 api_class: "CSSPropertyAPIBorderWidth", | 708 api_class: "CSSPropertyAPIBorderWidth", |
709 converter: "convertLineWidth<unsigned>", | 709 converter: "convertLineWidth<float>", |
710 initial: "initialBorderWidth", | 710 initial: "initialBorderWidth", |
711 interpolable: true, | 711 interpolable: true, |
712 }, | 712 }, |
713 { | 713 { |
714 name: "border-top-color", | 714 name: "border-top-color", |
715 custom_all: true, | 715 custom_all: true, |
716 interpolable: true, | 716 interpolable: true, |
717 }, | 717 }, |
718 { | 718 { |
719 name: "border-top-left-radius", | 719 name: "border-top-left-radius", |
(...skipping 12 matching lines...) Expand all Loading... |
732 interpolable: true, | 732 interpolable: true, |
733 }, | 733 }, |
734 { | 734 { |
735 name: "border-top-style", | 735 name: "border-top-style", |
736 initial: "initialBorderStyle", | 736 initial: "initialBorderStyle", |
737 type_name: "EBorderStyle", | 737 type_name: "EBorderStyle", |
738 }, | 738 }, |
739 { | 739 { |
740 name: "border-top-width", | 740 name: "border-top-width", |
741 api_class: "CSSPropertyAPIBorderWidth", | 741 api_class: "CSSPropertyAPIBorderWidth", |
742 converter: "convertLineWidth<unsigned>", | 742 converter: "convertLineWidth<float>", |
743 initial: "initialBorderWidth", | 743 initial: "initialBorderWidth", |
744 interpolable: true, | 744 interpolable: true, |
745 keywords: ["thin", "medium", "thick"], | 745 keywords: ["thin", "medium", "thick"], |
746 supports_percentage: true, | 746 supports_percentage: true, |
747 typedom_types: ["Length"], | 747 typedom_types: ["Length"], |
748 }, | 748 }, |
749 { | 749 { |
750 name: "bottom", | 750 name: "bottom", |
751 api_class: "CSSPropertyAPIMargin", | 751 api_class: "CSSPropertyAPIMargin", |
752 api_methods: ["parseSingleValue"], | 752 api_methods: ["parseSingleValue"], |
(...skipping 2287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3040 { | 3040 { |
3041 name: "-webkit-transition-timing-function", | 3041 name: "-webkit-transition-timing-function", |
3042 alias_for: "transition-timing-function", | 3042 alias_for: "transition-timing-function", |
3043 }, | 3043 }, |
3044 { | 3044 { |
3045 name: "-webkit-user-select", | 3045 name: "-webkit-user-select", |
3046 alias_for: "user-select", | 3046 alias_for: "user-select", |
3047 }, | 3047 }, |
3048 ], | 3048 ], |
3049 } | 3049 } |
OLD | NEW |