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

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

Issue 2654403003: Added api_methods flag to CSSProperties.json5. (Closed)
Patch Set: Added valid_type to CSSProperties.json5 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 13 matching lines...) Expand all
24 }, 24 },
25 25
26 // - longhands: "property;other-property" 26 // - longhands: "property;other-property"
27 // The property is a shorthand for several other properties. 27 // The property is a shorthand for several other properties.
28 longhands: { 28 longhands: {
29 default: '', 29 default: '',
30 }, 30 },
31 31
32 // - api_class: true|"classname" 32 // - api_class: true|"classname"
33 // Specifies the existance (and optionally name) of a CSSPropertyAPI 33 // Specifies the existance (and optionally name) of a CSSPropertyAPI
34 // implementation for the property to be used by make_css_property_descripto r.py. 34 // implementation for the property to be used by make_css_property_apis.py.
35 // See core/css/properties/CSSPropertyAPI.h for API details. 35 // See core/css/properties/CSSPropertyAPI.h for API details.
36 // * Add this flag if the API has been implemented for this property. 36 // * Add this flag if the API has been implemented for this property.
37 // * If the classname for this is different to the name of the property, spe cify a 37 // * If the classname for this is different to the name of the property, spe cify a
38 // value for this flag. e.g. api_class=CSSPropertyAPIWebkitPadding 38 // value for this flag. e.g. api_class=CSSPropertyAPIWebkitPadding
39 // TODO(aazzam): When most properties have been implemented, modify this so that 39 // TODO(aazzam): When most properties have been implemented, modify this so that
40 // properties with default classnames do not get this flag, and introduce a 40 // properties with default classnames do not get this flag, and introduce a
41 // 'not_implemented' flag instead. 41 // 'not_implemented' flag instead.
42 api_class: { 42 api_class: {
43 }, 43 },
44 44
45 // - api_methods: ["method1", "method2"]
46 // List of methods that are implemented in the CSSPropertyAPI for this prope rty.
47 // This is used by make_css_property_apis.py to specify which functions are defined
48 // in the .h file for this property, and also used in CSSPropertyAPIFiles.h. tmpl to
49 // generate declarations for only the methods this property has implementati ons for.
50 api_methods: {
51 default: [],
52 valid_type: "list",
53 valid_values: [["parseSingleValue"]],
sashab 2017/01/31 22:50:58 Is this right? I think with https://codereview.chr
aazzam 2017/01/31 22:55:43 Yeah fixed for kevins change :)
ktyliu 2017/01/31 23:02:46 committing my change now also feel free to use [[
54 },
55
45 // - keyword_only 56 // - keyword_only
46 // These properties only store keyword values. This is used when 57 // These properties only store keyword values. This is used when
47 // generating the ComputedStyle storage for the property. The initial 58 // generating the ComputedStyle storage for the property. The initial
48 // value for this property on a ComputedStyle is specified with the 59 // value for this property on a ComputedStyle is specified with the
49 // initial_keyword flag below. 60 // initial_keyword flag below.
50 // TODO(sashab): Rename this to field_type=keyword once we support 61 // TODO(sashab): Rename this to field_type=keyword once we support
51 // multiple types of generatable fields in ComputedStyle 62 // multiple types of generatable fields in ComputedStyle
52 // TODO(sashab, meade): Remove this once TypedOM types are specified for 63 // TODO(sashab, meade): Remove this once TypedOM types are specified for
53 // every property, since this value can be inferred from that. 64 // every property, since this value can be inferred from that.
54 keyword_only: { 65 keyword_only: {
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 font: true, 356 font: true,
346 getter: "getSize", 357 getter: "getSize",
347 inherited: true, 358 inherited: true,
348 interpolable: true, 359 interpolable: true,
349 name_for_methods: "Size", 360 name_for_methods: "Size",
350 priority: "High", 361 priority: "High",
351 }, 362 },
352 { 363 {
353 name: "font-size-adjust", 364 name: "font-size-adjust",
354 api_class: true, 365 api_class: true,
366 api_methods: ["parseSingleValue"],
355 converter: "convertFontSizeAdjust", 367 converter: "convertFontSizeAdjust",
356 font: true, 368 font: true,
357 inherited: true, 369 inherited: true,
358 interpolable: true, 370 interpolable: true,
359 name_for_methods: "SizeAdjust", 371 name_for_methods: "SizeAdjust",
360 priority: "High", 372 priority: "High",
361 runtime_flag: "CSSFontSizeAdjust", 373 runtime_flag: "CSSFontSizeAdjust",
362 }, 374 },
363 { 375 {
364 name: "font-stretch", 376 name: "font-stretch",
365 font: true, 377 font: true,
366 inherited: true, 378 inherited: true,
367 name_for_methods: "Stretch", 379 name_for_methods: "Stretch",
368 priority: "High", 380 priority: "High",
369 type_name: "FontStretch", 381 type_name: "FontStretch",
370 }, 382 },
371 { 383 {
372 name: "font-style", 384 name: "font-style",
373 font: true, 385 font: true,
374 inherited: true, 386 inherited: true,
375 name_for_methods: "Style", 387 name_for_methods: "Style",
376 priority: "High", 388 priority: "High",
377 type_name: "FontStyle", 389 type_name: "FontStyle",
378 }, 390 },
379 { 391 {
380 name: "font-variant-ligatures", 392 name: "font-variant-ligatures",
381 api_class: true, 393 api_class: true,
394 api_methods: ["parseSingleValue"],
382 converter: "convertFontVariantLigatures", 395 converter: "convertFontVariantLigatures",
383 font: true, 396 font: true,
384 inherited: true, 397 inherited: true,
385 name_for_methods: "VariantLigatures", 398 name_for_methods: "VariantLigatures",
386 priority: "High", 399 priority: "High",
387 type_name: "VariantLigatures", 400 type_name: "VariantLigatures",
388 }, 401 },
389 { 402 {
390 name: "font-variant-caps", 403 name: "font-variant-caps",
391 api_class: true, 404 api_class: true,
405 api_methods: ["parseSingleValue"],
392 converter: "convertFontVariantCaps", 406 converter: "convertFontVariantCaps",
393 font: true, 407 font: true,
394 inherited: true, 408 inherited: true,
395 name_for_methods: "VariantCaps", 409 name_for_methods: "VariantCaps",
396 priority: "High", 410 priority: "High",
397 }, 411 },
398 { 412 {
399 name: "font-variant-numeric", 413 name: "font-variant-numeric",
400 api_class: true, 414 api_class: true,
415 api_methods: ["parseSingleValue"],
401 converter: "convertFontVariantNumeric", 416 converter: "convertFontVariantNumeric",
402 font: true, 417 font: true,
403 inherited: true, 418 inherited: true,
404 name_for_methods: "VariantNumeric", 419 name_for_methods: "VariantNumeric",
405 priority: "High", 420 priority: "High",
406 }, 421 },
407 { 422 {
408 name: "font-weight", 423 name: "font-weight",
409 converter: "convertFontWeight", 424 converter: "convertFontWeight",
410 font: true, 425 font: true,
411 inherited: true, 426 inherited: true,
412 interpolable: true, 427 interpolable: true,
413 name_for_methods: "Weight", 428 name_for_methods: "Weight",
414 priority: "High", 429 priority: "High",
415 type_name: "FontWeight", 430 type_name: "FontWeight",
416 }, 431 },
417 { 432 {
418 name: "font-feature-settings", 433 name: "font-feature-settings",
419 converter: "convertFontFeatureSettings", 434 converter: "convertFontFeatureSettings",
420 font: true, 435 font: true,
421 inherited: true, 436 inherited: true,
422 name_for_methods: "FeatureSettings", 437 name_for_methods: "FeatureSettings",
423 priority: "High", 438 priority: "High",
424 }, 439 },
425 { 440 {
426 name: "font-variation-settings", 441 name: "font-variation-settings",
427 api_class: true, 442 api_class: true,
443 api_methods: ["parseSingleValue"],
428 converter: "convertFontVariationSettings", 444 converter: "convertFontVariationSettings",
429 font: true, 445 font: true,
430 inherited: true, 446 inherited: true,
431 name_for_methods: "VariationSettings", 447 name_for_methods: "VariationSettings",
432 priority: "High", 448 priority: "High",
433 runtime_flag: "CSSVariableFonts", 449 runtime_flag: "CSSVariableFonts",
434 }, 450 },
435 { 451 {
436 name: "-webkit-font-smoothing", 452 name: "-webkit-font-smoothing",
437 font: true, 453 font: true,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 { 497 {
482 name: "text-rendering", 498 name: "text-rendering",
483 font: true, 499 font: true,
484 inherited: true, 500 inherited: true,
485 priority: "High", 501 priority: "High",
486 type_name: "TextRenderingMode", 502 type_name: "TextRenderingMode",
487 }, 503 },
488 { 504 {
489 name: "zoom", 505 name: "zoom",
490 api_class: true, 506 api_class: true,
507 api_methods: ["parseSingleValue"],
491 custom_all: true, 508 custom_all: true,
492 priority: "High", 509 priority: "High",
493 }, 510 },
494 511
495 { 512 {
496 name: "align-content", 513 name: "align-content",
497 converter: "convertContentAlignmentData", 514 converter: "convertContentAlignmentData",
498 initial: "initialContentAlignment", 515 initial: "initialContentAlignment",
499 }, 516 },
500 { 517 {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 svg: true, 594 svg: true,
578 }, 595 },
579 { 596 {
580 name: "border-bottom-color", 597 name: "border-bottom-color",
581 custom_all: true, 598 custom_all: true,
582 interpolable: true, 599 interpolable: true,
583 }, 600 },
584 { 601 {
585 name: "border-bottom-left-radius", 602 name: "border-bottom-left-radius",
586 api_class: "CSSPropertyAPIBorderRadius", 603 api_class: "CSSPropertyAPIBorderRadius",
604 api_methods: ["parseSingleValue"],
587 converter: "convertRadius", 605 converter: "convertRadius",
588 initial: "initialBorderRadius", 606 initial: "initialBorderRadius",
589 interpolable: true, 607 interpolable: true,
590 }, 608 },
591 { 609 {
592 name: "border-bottom-right-radius", 610 name: "border-bottom-right-radius",
593 api_class: "CSSPropertyAPIBorderRadius", 611 api_class: "CSSPropertyAPIBorderRadius",
612 api_methods: ["parseSingleValue"],
594 converter: "convertRadius", 613 converter: "convertRadius",
595 initial: "initialBorderRadius", 614 initial: "initialBorderRadius",
596 interpolable: true, 615 interpolable: true,
597 }, 616 },
598 { 617 {
599 name: "border-bottom-style", 618 name: "border-bottom-style",
600 initial: "initialBorderStyle", 619 initial: "initialBorderStyle",
601 type_name: "EBorderStyle", 620 type_name: "EBorderStyle",
602 }, 621 },
603 { 622 {
(...skipping 20 matching lines...) Expand all
624 custom_all: true, 643 custom_all: true,
625 }, 644 },
626 { 645 {
627 name: "border-image-slice", 646 name: "border-image-slice",
628 custom_all: true, 647 custom_all: true,
629 interpolable: true, 648 interpolable: true,
630 }, 649 },
631 { 650 {
632 name: "border-image-source", 651 name: "border-image-source",
633 api_class: "CSSPropertyAPIImage", 652 api_class: "CSSPropertyAPIImage",
653 api_methods: ["parseSingleValue"],
634 custom_value: true, 654 custom_value: true,
635 interpolable: true, 655 interpolable: true,
636 keywords: ["none"], 656 keywords: ["none"],
637 typedom_types: ["Image"], 657 typedom_types: ["Image"],
638 }, 658 },
639 { 659 {
640 name: "border-image-width", 660 name: "border-image-width",
641 custom_all: true, 661 custom_all: true,
642 interpolable: true, 662 interpolable: true,
643 }, 663 },
(...skipping 30 matching lines...) Expand all
674 interpolable: true, 694 interpolable: true,
675 }, 695 },
676 { 696 {
677 name: "border-top-color", 697 name: "border-top-color",
678 custom_all: true, 698 custom_all: true,
679 interpolable: true, 699 interpolable: true,
680 }, 700 },
681 { 701 {
682 name: "border-top-left-radius", 702 name: "border-top-left-radius",
683 api_class: "CSSPropertyAPIBorderRadius", 703 api_class: "CSSPropertyAPIBorderRadius",
704 api_methods: ["parseSingleValue"],
684 converter: "convertRadius", 705 converter: "convertRadius",
685 initial: "initialBorderRadius", 706 initial: "initialBorderRadius",
686 interpolable: true, 707 interpolable: true,
687 }, 708 },
688 { 709 {
689 name: "border-top-right-radius", 710 name: "border-top-right-radius",
690 api_class: "CSSPropertyAPIBorderRadius", 711 api_class: "CSSPropertyAPIBorderRadius",
712 api_methods: ["parseSingleValue"],
691 converter: "convertRadius", 713 converter: "convertRadius",
692 initial: "initialBorderRadius", 714 initial: "initialBorderRadius",
693 interpolable: true, 715 interpolable: true,
694 }, 716 },
695 { 717 {
696 name: "border-top-style", 718 name: "border-top-style",
697 initial: "initialBorderStyle", 719 initial: "initialBorderStyle",
698 type_name: "EBorderStyle", 720 type_name: "EBorderStyle",
699 }, 721 },
700 { 722 {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 name: "caption-side", 763 name: "caption-side",
742 independent: true, 764 independent: true,
743 inherited: true, 765 inherited: true,
744 initial_keyword: "top", 766 initial_keyword: "top",
745 keyword_only: true, 767 keyword_only: true,
746 keywords: ["top", "bottom", "left", "right"], 768 keywords: ["top", "bottom", "left", "right"],
747 }, 769 },
748 { 770 {
749 name: "caret-color", 771 name: "caret-color",
750 api_class: true, 772 api_class: true,
773 api_methods: ["parseSingleValue"],
751 custom_all: true, 774 custom_all: true,
752 inherited: true, 775 inherited: true,
753 interpolable: true, 776 interpolable: true,
754 }, 777 },
755 "clear", 778 "clear",
756 { 779 {
757 name: "clip", 780 name: "clip",
758 api_class: true, 781 api_class: true,
782 api_methods: ["parseSingleValue"],
759 converter: "convertClip", 783 converter: "convertClip",
760 custom_all: true, 784 custom_all: true,
761 interpolable: true, 785 interpolable: true,
762 }, 786 },
763 { 787 {
764 name: "clip-path", 788 name: "clip-path",
765 api_class: true, 789 api_class: true,
790 api_methods: ["parseSingleValue"],
766 converter: "convertClipPath", 791 converter: "convertClipPath",
767 interpolable: true, 792 interpolable: true,
768 }, 793 },
769 { 794 {
770 name: "clip-rule", 795 name: "clip-rule",
771 inherited: true, 796 inherited: true,
772 svg: true, 797 svg: true,
773 type_name: "WindRule", 798 type_name: "WindRule",
774 }, 799 },
775 { 800 {
(...skipping 12 matching lines...) Expand all
788 inherited: true, 813 inherited: true,
789 svg: true, 814 svg: true,
790 }, 815 },
791 { 816 {
792 name: "column-fill", 817 name: "column-fill",
793 type_name: "ColumnFill", 818 type_name: "ColumnFill",
794 }, 819 },
795 { 820 {
796 name: "contain", 821 name: "contain",
797 api_class: true, 822 api_class: true,
823 api_methods: ["parseSingleValue"],
798 converter: "convertFlags<Containment>", 824 converter: "convertFlags<Containment>",
799 runtime_flag: "CSSContainment", 825 runtime_flag: "CSSContainment",
800 }, 826 },
801 { 827 {
802 name: "content", 828 name: "content",
803 api_class: true, 829 api_class: true,
830 api_methods: ["parseSingleValue"],
804 custom_all: true, 831 custom_all: true,
805 repeated: true, 832 repeated: true,
806 typedom_types: ["Image"], 833 typedom_types: ["Image"],
807 }, 834 },
808 { 835 {
809 name: "counter-increment", 836 name: "counter-increment",
810 custom_all: true, 837 custom_all: true,
811 }, 838 },
812 { 839 {
813 name: "counter-reset", 840 name: "counter-reset",
814 custom_all: true, 841 custom_all: true,
815 }, 842 },
816 { 843 {
817 name: "cursor", 844 name: "cursor",
818 api_class: true, 845 api_class: true,
846 api_methods: ["parseSingleValue"],
819 custom_all: true, 847 custom_all: true,
820 inherited: true, 848 inherited: true,
821 }, 849 },
822 { 850 {
823 name: "cx", 851 name: "cx",
824 converter: "convertLength", 852 converter: "convertLength",
825 interpolable: true, 853 interpolable: true,
826 svg: true, 854 svg: true,
827 }, 855 },
828 { 856 {
(...skipping 19 matching lines...) Expand all
848 independent: true, 876 independent: true,
849 inherited: true, 877 inherited: true,
850 initial_keyword: "show", 878 initial_keyword: "show",
851 keyword_only: true, 879 keyword_only: true,
852 keywords: ["show", "hide"], 880 keywords: ["show", "hide"],
853 type_name: "EEmptyCells", 881 type_name: "EEmptyCells",
854 }, 882 },
855 { 883 {
856 name: "fill", 884 name: "fill",
857 api_class: "CSSPropertyAPIPaintStroke", 885 api_class: "CSSPropertyAPIPaintStroke",
886 api_methods: ["parseSingleValue"],
858 custom_all: true, 887 custom_all: true,
859 inherited: true, 888 inherited: true,
860 interpolable: true, 889 interpolable: true,
861 setter: "setFillPaint", 890 setter: "setFillPaint",
862 svg: true, 891 svg: true,
863 }, 892 },
864 { 893 {
865 name: "fill-opacity", 894 name: "fill-opacity",
866 api_class: "CSSPropertyAPIOpacity", 895 api_class: "CSSPropertyAPIOpacity",
896 api_methods: ["parseSingleValue"],
867 converter: "convertNumberOrPercentage", 897 converter: "convertNumberOrPercentage",
868 inherited: true, 898 inherited: true,
869 interpolable: true, 899 interpolable: true,
870 svg: true, 900 svg: true,
871 }, 901 },
872 { 902 {
873 name: "fill-rule", 903 name: "fill-rule",
874 inherited: true, 904 inherited: true,
875 svg: true, 905 svg: true,
876 type_name: "WindRule", 906 type_name: "WindRule",
877 }, 907 },
878 { 908 {
879 name: "filter", 909 name: "filter",
880 converter: "convertFilterOperations", 910 converter: "convertFilterOperations",
881 interpolable: true, 911 interpolable: true,
882 }, 912 },
883 { 913 {
884 name: "flex-basis", 914 name: "flex-basis",
885 api_class: true, 915 api_class: true,
916 api_methods: ["parseSingleValue"],
886 converter: "convertLengthOrAuto", 917 converter: "convertLengthOrAuto",
887 interpolable: true, 918 interpolable: true,
888 }, 919 },
889 "flex-direction", 920 "flex-direction",
890 { 921 {
891 name: "flex-grow", 922 name: "flex-grow",
892 interpolable: true, 923 interpolable: true,
893 type_name: "float", 924 type_name: "float",
894 }, 925 },
895 { 926 {
896 name: "flex-shrink", 927 name: "flex-shrink",
897 interpolable: true, 928 interpolable: true,
898 type_name: "float", 929 type_name: "float",
899 }, 930 },
900 "flex-wrap", 931 "flex-wrap",
901 { 932 {
902 name: "float", 933 name: "float",
903 initial_keyword: "none", 934 initial_keyword: "none",
904 keyword_only: true, 935 keyword_only: true,
905 keywords: ["none", "left", "right"], 936 keywords: ["none", "left", "right"],
906 name_for_methods: "Floating", 937 name_for_methods: "Floating",
907 type_name: "EFloat", 938 type_name: "EFloat",
908 }, 939 },
909 { 940 {
910 name: "flood-color", 941 name: "flood-color",
911 api_class: "CSSPropertyAPIColor", 942 api_class: "CSSPropertyAPIColor",
943 api_methods: ["parseSingleValue"],
912 converter: "convertColor", 944 converter: "convertColor",
913 interpolable: true, 945 interpolable: true,
914 svg: true, 946 svg: true,
915 }, 947 },
916 { 948 {
917 name: "flood-opacity", 949 name: "flood-opacity",
918 api_class: "CSSPropertyAPIOpacity", 950 api_class: "CSSPropertyAPIOpacity",
951 api_methods: ["parseSingleValue"],
919 converter: "convertNumberOrPercentage", 952 converter: "convertNumberOrPercentage",
920 interpolable: true, 953 interpolable: true,
921 svg: true, 954 svg: true,
922 }, 955 },
923 { 956 {
924 name: "grid-auto-columns", 957 name: "grid-auto-columns",
925 converter: "convertGridTrackSizeList", 958 converter: "convertGridTrackSizeList",
926 runtime_flag: "CSSGridLayout", 959 runtime_flag: "CSSGridLayout",
927 }, 960 },
928 { 961 {
929 name: "grid-auto-flow", 962 name: "grid-auto-flow",
930 api_class: true, 963 api_class: true,
964 api_methods: ["parseSingleValue"],
931 converter: "convertGridAutoFlow", 965 converter: "convertGridAutoFlow",
932 runtime_flag: "CSSGridLayout", 966 runtime_flag: "CSSGridLayout",
933 type_name: "GridAutoFlow", 967 type_name: "GridAutoFlow",
934 }, 968 },
935 { 969 {
936 name: "grid-auto-rows", 970 name: "grid-auto-rows",
937 converter: "convertGridTrackSizeList", 971 converter: "convertGridTrackSizeList",
938 runtime_flag: "CSSGridLayout", 972 runtime_flag: "CSSGridLayout",
939 }, 973 },
940 { 974 {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 runtime_flag: "CSSHyphens", 1031 runtime_flag: "CSSHyphens",
998 type_name: "Hyphens", 1032 type_name: "Hyphens",
999 }, 1033 },
1000 { 1034 {
1001 name: "image-rendering", 1035 name: "image-rendering",
1002 inherited: true, 1036 inherited: true,
1003 }, 1037 },
1004 { 1038 {
1005 name: "image-orientation", 1039 name: "image-orientation",
1006 api_class: true, 1040 api_class: true,
1041 api_methods: ["parseSingleValue"],
1007 converter: "convertImageOrientation", 1042 converter: "convertImageOrientation",
1008 inherited: true, 1043 inherited: true,
1009 name_for_methods: "RespectImageOrientation", 1044 name_for_methods: "RespectImageOrientation",
1010 runtime_flag: "ImageOrientation", 1045 runtime_flag: "ImageOrientation",
1011 }, 1046 },
1012 "isolation", 1047 "isolation",
1013 { 1048 {
1014 name: "justify-content", 1049 name: "justify-content",
1015 converter: "convertContentAlignmentData", 1050 converter: "convertContentAlignmentData",
1016 initial: "initialContentAlignment", 1051 initial: "initialContentAlignment",
(...skipping 15 matching lines...) Expand all
1032 converter: "convertLengthOrAuto", 1067 converter: "convertLengthOrAuto",
1033 initial: "initialOffset", 1068 initial: "initialOffset",
1034 interpolable: true, 1069 interpolable: true,
1035 keywords: ["auto"], 1070 keywords: ["auto"],
1036 supports_percentage: true, 1071 supports_percentage: true,
1037 typedom_types: ["Length"], 1072 typedom_types: ["Length"],
1038 }, 1073 },
1039 { 1074 {
1040 name: "letter-spacing", 1075 name: "letter-spacing",
1041 api_class: "CSSPropertyAPILetterAndWordSpacing", 1076 api_class: "CSSPropertyAPILetterAndWordSpacing",
1077 api_methods: ["parseSingleValue"],
1042 converter: "convertSpacing", 1078 converter: "convertSpacing",
1043 inherited: true, 1079 inherited: true,
1044 initial: "initialLetterWordSpacing", 1080 initial: "initialLetterWordSpacing",
1045 interpolable: true, 1081 interpolable: true,
1046 }, 1082 },
1047 { 1083 {
1048 name: "lighting-color", 1084 name: "lighting-color",
1049 api_class: "CSSPropertyAPIColor", 1085 api_class: "CSSPropertyAPIColor",
1086 api_methods: ["parseSingleValue"],
1050 converter: "convertColor", 1087 converter: "convertColor",
1051 interpolable: true, 1088 interpolable: true,
1052 svg: true, 1089 svg: true,
1053 }, 1090 },
1054 { 1091 {
1055 name: "line-height", 1092 name: "line-height",
1056 converter: "convertLineHeight", 1093 converter: "convertLineHeight",
1057 getter: "specifiedLineHeight", 1094 getter: "specifiedLineHeight",
1058 inherited: true, 1095 inherited: true,
1059 interpolable: true, 1096 interpolable: true,
1060 }, 1097 },
1061 { 1098 {
1062 name: "list-style-image", 1099 name: "list-style-image",
1063 api_class: "CSSPropertyAPIImage", 1100 api_class: "CSSPropertyAPIImage",
1101 api_methods: ["parseSingleValue"],
1064 custom_value: true, 1102 custom_value: true,
1065 inherited: true, 1103 inherited: true,
1066 interpolable: true, 1104 interpolable: true,
1067 typedom_types: ["Image"], 1105 typedom_types: ["Image"],
1068 }, 1106 },
1069 { 1107 {
1070 name: "list-style-position", 1108 name: "list-style-position",
1071 independent: true, 1109 independent: true,
1072 inherited: true, 1110 inherited: true,
1073 initial_keyword: "outside", 1111 initial_keyword: "outside",
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 converter: "convertLength", 1242 converter: "convertLength",
1205 interpolable: true, 1243 interpolable: true,
1206 }, 1244 },
1207 { 1245 {
1208 name: "offset-path", 1246 name: "offset-path",
1209 converter: "convertPathOrNone", 1247 converter: "convertPathOrNone",
1210 }, 1248 },
1211 { 1249 {
1212 name: "offset-position", 1250 name: "offset-position",
1213 api_class: true, 1251 api_class: true,
1252 api_methods: ["parseSingleValue"],
1214 converter: "convertPositionOrAuto", 1253 converter: "convertPositionOrAuto",
1215 interpolable: true, 1254 interpolable: true,
1216 runtime_flag: "CSSOffsetPositionAnchor", 1255 runtime_flag: "CSSOffsetPositionAnchor",
1217 }, 1256 },
1218 { 1257 {
1219 name: "offset-rotate", 1258 name: "offset-rotate",
1220 converter: "convertOffsetRotate", 1259 converter: "convertOffsetRotate",
1221 interpolable: true, 1260 interpolable: true,
1222 runtime_flag: "CSSOffsetRotate", 1261 runtime_flag: "CSSOffsetRotate",
1223 }, 1262 },
1224 { 1263 {
1225 name: "offset-rotation", 1264 name: "offset-rotation",
1226 converter: "convertOffsetRotate", 1265 converter: "convertOffsetRotate",
1227 interpolable: true, 1266 interpolable: true,
1228 runtime_flag: "CSSOffsetRotation", 1267 runtime_flag: "CSSOffsetRotation",
1229 }, 1268 },
1230 { 1269 {
1231 name: "opacity", 1270 name: "opacity",
1232 api_class: "CSSPropertyAPIOpacity", 1271 api_class: "CSSPropertyAPIOpacity",
1272 api_methods: ["parseSingleValue"],
1233 interpolable: true, 1273 interpolable: true,
1234 type_name: "float", 1274 type_name: "float",
1235 }, 1275 },
1236 { 1276 {
1237 name: "order", 1277 name: "order",
1238 api_class: true, 1278 api_class: true,
1279 api_methods: ["parseSingleValue"],
1239 type_name: "int", 1280 type_name: "int",
1240 }, 1281 },
1241 { 1282 {
1242 name: "orphans", 1283 name: "orphans",
1243 inherited: true, 1284 inherited: true,
1244 interpolable: true, 1285 interpolable: true,
1245 type_name: "short", 1286 type_name: "short",
1246 }, 1287 },
1247 { 1288 {
1248 name: "outline-color", 1289 name: "outline-color",
1249 api_class: true, 1290 api_class: true,
1291 api_methods: ["parseSingleValue"],
1250 custom_all: true, 1292 custom_all: true,
1251 interpolable: true, 1293 interpolable: true,
1252 }, 1294 },
1253 { 1295 {
1254 name: "outline-offset", 1296 name: "outline-offset",
1255 api_class: true, 1297 api_class: true,
1298 api_methods: ["parseSingleValue"],
1256 converter: "convertComputedLength<int>", 1299 converter: "convertComputedLength<int>",
1257 interpolable: true, 1300 interpolable: true,
1258 }, 1301 },
1259 { 1302 {
1260 name: "outline-style", 1303 name: "outline-style",
1261 custom_all: true, 1304 custom_all: true,
1262 }, 1305 },
1263 { 1306 {
1264 name: "outline-width", 1307 name: "outline-width",
1265 api_class: true, 1308 api_class: true,
1309 api_methods: ["parseSingleValue"],
1266 converter: "convertLineWidth<unsigned short>", 1310 converter: "convertLineWidth<unsigned short>",
1267 interpolable: true, 1311 interpolable: true,
1268 }, 1312 },
1269 { 1313 {
1270 name: "overflow-anchor", 1314 name: "overflow-anchor",
1271 runtime_flag: "ScrollAnchoring", 1315 runtime_flag: "ScrollAnchoring",
1272 type_name: "EOverflowAnchor", 1316 type_name: "EOverflowAnchor",
1273 }, 1317 },
1274 { 1318 {
1275 name: "overflow-wrap", 1319 name: "overflow-wrap",
1276 inherited: true, 1320 inherited: true,
1277 }, 1321 },
1278 { 1322 {
1279 name: "overflow-x", 1323 name: "overflow-x",
1280 type_name: "EOverflow", 1324 type_name: "EOverflow",
1281 }, 1325 },
1282 { 1326 {
1283 name: "overflow-y", 1327 name: "overflow-y",
1284 type_name: "EOverflow", 1328 type_name: "EOverflow",
1285 }, 1329 },
1286 { 1330 {
1287 name: "padding-bottom", 1331 name: "padding-bottom",
1288 api_class: "CSSPropertyAPIPadding", 1332 api_class: "CSSPropertyAPIPadding",
1333 api_methods: ["parseSingleValue"],
1289 converter: "convertLength", 1334 converter: "convertLength",
1290 initial: "initialPadding", 1335 initial: "initialPadding",
1291 interpolable: true, 1336 interpolable: true,
1292 }, 1337 },
1293 { 1338 {
1294 name: "padding-left", 1339 name: "padding-left",
1295 api_class: "CSSPropertyAPIPadding", 1340 api_class: "CSSPropertyAPIPadding",
1341 api_methods: ["parseSingleValue"],
1296 converter: "convertLength", 1342 converter: "convertLength",
1297 initial: "initialPadding", 1343 initial: "initialPadding",
1298 interpolable: true, 1344 interpolable: true,
1299 }, 1345 },
1300 { 1346 {
1301 name: "padding-right", 1347 name: "padding-right",
1302 api_class: "CSSPropertyAPIPadding", 1348 api_class: "CSSPropertyAPIPadding",
1349 api_methods: ["parseSingleValue"],
1303 converter: "convertLength", 1350 converter: "convertLength",
1304 initial: "initialPadding", 1351 initial: "initialPadding",
1305 interpolable: true, 1352 interpolable: true,
1306 }, 1353 },
1307 { 1354 {
1308 name: "padding-top", 1355 name: "padding-top",
1309 api_class: "CSSPropertyAPIPadding", 1356 api_class: "CSSPropertyAPIPadding",
1357 api_methods: ["parseSingleValue"],
1310 converter: "convertLength", 1358 converter: "convertLength",
1311 initial: "initialPadding", 1359 initial: "initialPadding",
1312 interpolable: true, 1360 interpolable: true,
1313 }, 1361 },
1314 { 1362 {
1315 name: "paint-order", 1363 name: "paint-order",
1316 api_class: true, 1364 api_class: true,
1365 api_methods: ["parseSingleValue"],
1317 converter: "convertPaintOrder", 1366 converter: "convertPaintOrder",
1318 inherited: true, 1367 inherited: true,
1319 svg: true, 1368 svg: true,
1320 }, 1369 },
1321 { 1370 {
1322 name: "perspective", 1371 name: "perspective",
1323 converter: "convertPerspective", 1372 converter: "convertPerspective",
1324 interpolable: true, 1373 interpolable: true,
1325 }, 1374 },
1326 { 1375 {
(...skipping 11 matching lines...) Expand all
1338 "none", "auto", "stroke", "fill", "painted", "visible", "visibleStroke", "visibleFill", "visiblePainted", "bounding-box", "all", 1387 "none", "auto", "stroke", "fill", "painted", "visible", "visibleStroke", "visibleFill", "visiblePainted", "bounding-box", "all",
1339 ], 1388 ],
1340 }, 1389 },
1341 { 1390 {
1342 name: "position", 1391 name: "position",
1343 custom_inherit: true, 1392 custom_inherit: true,
1344 }, 1393 },
1345 { 1394 {
1346 name: "quotes", 1395 name: "quotes",
1347 api_class: true, 1396 api_class: true,
1397 api_methods: ["parseSingleValue"],
1348 converter: "convertQuotes", 1398 converter: "convertQuotes",
1349 inherited: true, 1399 inherited: true,
1350 }, 1400 },
1351 { 1401 {
1352 name: "resize", 1402 name: "resize",
1353 custom_value: true, 1403 custom_value: true,
1354 }, 1404 },
1355 { 1405 {
1356 name: "right", 1406 name: "right",
1357 converter: "convertLengthOrAuto", 1407 converter: "convertLengthOrAuto",
1358 initial: "initialOffset", 1408 initial: "initialOffset",
1359 interpolable: true, 1409 interpolable: true,
1360 keywords: ["auto"], 1410 keywords: ["auto"],
1361 supports_percentage: true, 1411 supports_percentage: true,
1362 typedom_types: ["Length"], 1412 typedom_types: ["Length"],
1363 }, 1413 },
1364 { 1414 {
1365 name: "r", 1415 name: "r",
1366 converter: "convertLength", 1416 converter: "convertLength",
1367 interpolable: true, 1417 interpolable: true,
1368 svg: true, 1418 svg: true,
1369 }, 1419 },
1370 { 1420 {
1371 name: "rx", 1421 name: "rx",
1372 api_class: "CSSPropertyAPIRadius", 1422 api_class: "CSSPropertyAPIRadius",
1423 api_methods: ["parseSingleValue"],
1373 converter: "convertLengthOrAuto", 1424 converter: "convertLengthOrAuto",
1374 interpolable: true, 1425 interpolable: true,
1375 svg: true, 1426 svg: true,
1376 }, 1427 },
1377 { 1428 {
1378 name: "ry", 1429 name: "ry",
1379 api_class: "CSSPropertyAPIRadius", 1430 api_class: "CSSPropertyAPIRadius",
1431 api_methods: ["parseSingleValue"],
1380 converter: "convertLengthOrAuto", 1432 converter: "convertLengthOrAuto",
1381 interpolable: true, 1433 interpolable: true,
1382 svg: true, 1434 svg: true,
1383 }, 1435 },
1384 { 1436 {
1385 name: "scroll-behavior", 1437 name: "scroll-behavior",
1386 runtime_flag: "CSSOMSmoothScroll", 1438 runtime_flag: "CSSOMSmoothScroll",
1387 type_name: "ScrollBehavior", 1439 type_name: "ScrollBehavior",
1388 }, 1440 },
1389 { 1441 {
(...skipping 12 matching lines...) Expand all
1402 runtime_flag: "CSSScrollSnapPoints", 1454 runtime_flag: "CSSScrollSnapPoints",
1403 }, 1455 },
1404 { 1456 {
1405 name: "scroll-snap-destination", 1457 name: "scroll-snap-destination",
1406 converter: "convertPosition", 1458 converter: "convertPosition",
1407 runtime_flag: "CSSScrollSnapPoints", 1459 runtime_flag: "CSSScrollSnapPoints",
1408 }, 1460 },
1409 { 1461 {
1410 name: "scroll-snap-coordinate", 1462 name: "scroll-snap-coordinate",
1411 api_class: true, 1463 api_class: true,
1464 api_methods: ["parseSingleValue"],
1412 converter: "convertSnapCoordinates", 1465 converter: "convertSnapCoordinates",
1413 runtime_flag: "CSSScrollSnapPoints", 1466 runtime_flag: "CSSScrollSnapPoints",
1414 }, 1467 },
1415 { 1468 {
1416 name: "shape-image-threshold", 1469 name: "shape-image-threshold",
1417 api_class: true, 1470 api_class: true,
1471 api_methods: ["parseSingleValue"],
1418 interpolable: true, 1472 interpolable: true,
1419 type_name: "float", 1473 type_name: "float",
1420 }, 1474 },
1421 { 1475 {
1422 name: "shape-margin", 1476 name: "shape-margin",
1423 api_class: true, 1477 api_class: true,
1478 api_methods: ["parseSingleValue"],
1424 converter: "convertLength", 1479 converter: "convertLength",
1425 interpolable: true, 1480 interpolable: true,
1426 }, 1481 },
1427 { 1482 {
1428 name: "shape-outside", 1483 name: "shape-outside",
1429 api_class: true, 1484 api_class: true,
1485 api_methods: ["parseSingleValue"],
1430 converter: "convertShapeValue", 1486 converter: "convertShapeValue",
1431 interpolable: true, 1487 interpolable: true,
1432 typedom_types: ["Image"], 1488 typedom_types: ["Image"],
1433 }, 1489 },
1434 { 1490 {
1435 name: "shape-rendering", 1491 name: "shape-rendering",
1436 inherited: true, 1492 inherited: true,
1437 svg: true, 1493 svg: true,
1438 }, 1494 },
1439 { 1495 {
1440 name: "size", 1496 name: "size",
1441 api_class: true, 1497 api_class: true,
1498 api_methods: ["parseSingleValue"],
1442 custom_all: true, 1499 custom_all: true,
1443 }, 1500 },
1444 { 1501 {
1445 name: "snap-height", 1502 name: "snap-height",
1446 api_class: true, 1503 api_class: true,
1504 api_methods: ["parseSingleValue"],
1447 custom_all: true, 1505 custom_all: true,
1448 inherited: true, 1506 inherited: true,
1449 runtime_flag: "CSSSnapSize", 1507 runtime_flag: "CSSSnapSize",
1450 }, 1508 },
1451 { 1509 {
1452 name: "speak", 1510 name: "speak",
1453 inherited: true, 1511 inherited: true,
1454 }, 1512 },
1455 { 1513 {
1456 name: "stop-color", 1514 name: "stop-color",
1457 api_class: "CSSPropertyAPIColor", 1515 api_class: "CSSPropertyAPIColor",
1516 api_methods: ["parseSingleValue"],
1458 converter: "convertColor", 1517 converter: "convertColor",
1459 interpolable: true, 1518 interpolable: true,
1460 svg: true, 1519 svg: true,
1461 }, 1520 },
1462 { 1521 {
1463 name: "stop-opacity", 1522 name: "stop-opacity",
1464 api_class: "CSSPropertyAPIOpacity", 1523 api_class: "CSSPropertyAPIOpacity",
1524 api_methods: ["parseSingleValue"],
1465 converter: "convertNumberOrPercentage", 1525 converter: "convertNumberOrPercentage",
1466 interpolable: true, 1526 interpolable: true,
1467 svg: true, 1527 svg: true,
1468 }, 1528 },
1469 { 1529 {
1470 name: "stroke", 1530 name: "stroke",
1471 api_class: "CSSPropertyAPIPaintStroke", 1531 api_class: "CSSPropertyAPIPaintStroke",
1532 api_methods: ["parseSingleValue"],
1472 custom_all: true, 1533 custom_all: true,
1473 inherited: true, 1534 inherited: true,
1474 interpolable: true, 1535 interpolable: true,
1475 setter: "setStrokePaint", 1536 setter: "setStrokePaint",
1476 svg: true, 1537 svg: true,
1477 }, 1538 },
1478 { 1539 {
1479 name: "stroke-dasharray", 1540 name: "stroke-dasharray",
1480 api_class: true, 1541 api_class: true,
1542 api_methods: ["parseSingleValue"],
1481 converter: "convertStrokeDasharray", 1543 converter: "convertStrokeDasharray",
1482 inherited: true, 1544 inherited: true,
1483 interpolable: true, 1545 interpolable: true,
1484 name_for_methods: "StrokeDashArray", 1546 name_for_methods: "StrokeDashArray",
1485 svg: true, 1547 svg: true,
1486 }, 1548 },
1487 { 1549 {
1488 name: "stroke-dashoffset", 1550 name: "stroke-dashoffset",
1489 converter: "convertLength", 1551 converter: "convertLength",
1490 inherited: true, 1552 inherited: true,
(...skipping 11 matching lines...) Expand all
1502 { 1564 {
1503 name: "stroke-linejoin", 1565 name: "stroke-linejoin",
1504 inherited: true, 1566 inherited: true,
1505 name_for_methods: "JoinStyle", 1567 name_for_methods: "JoinStyle",
1506 svg: true, 1568 svg: true,
1507 type_name: "LineJoin", 1569 type_name: "LineJoin",
1508 }, 1570 },
1509 { 1571 {
1510 name: "stroke-miterlimit", 1572 name: "stroke-miterlimit",
1511 api_class: true, 1573 api_class: true,
1574 api_methods: ["parseSingleValue"],
1512 inherited: true, 1575 inherited: true,
1513 interpolable: true, 1576 interpolable: true,
1514 name_for_methods: "StrokeMiterLimit", 1577 name_for_methods: "StrokeMiterLimit",
1515 svg: true, 1578 svg: true,
1516 type_name: "float", 1579 type_name: "float",
1517 }, 1580 },
1518 { 1581 {
1519 name: "stroke-opacity", 1582 name: "stroke-opacity",
1520 api_class: "CSSPropertyAPIOpacity", 1583 api_class: "CSSPropertyAPIOpacity",
1584 api_methods: ["parseSingleValue"],
1521 converter: "convertNumberOrPercentage", 1585 converter: "convertNumberOrPercentage",
1522 inherited: true, 1586 inherited: true,
1523 interpolable: true, 1587 interpolable: true,
1524 svg: true, 1588 svg: true,
1525 }, 1589 },
1526 { 1590 {
1527 name: "stroke-width", 1591 name: "stroke-width",
1528 converter: "convertUnzoomedLength", 1592 converter: "convertUnzoomedLength",
1529 inherited: true, 1593 inherited: true,
1530 interpolable: true, 1594 interpolable: true,
1531 svg: true, 1595 svg: true,
1532 }, 1596 },
1533 "table-layout", 1597 "table-layout",
1534 { 1598 {
1535 name: "tab-size", 1599 name: "tab-size",
1536 api_class: true, 1600 api_class: true,
1601 api_methods: ["parseSingleValue"],
1537 converter: "convertLengthOrTabSpaces", 1602 converter: "convertLengthOrTabSpaces",
1538 inherited: true, 1603 inherited: true,
1539 type_name: "TabSize", 1604 type_name: "TabSize",
1540 }, 1605 },
1541 { 1606 {
1542 name: "text-align", 1607 name: "text-align",
1543 custom_value: true, 1608 custom_value: true,
1544 inherited: true, 1609 inherited: true,
1545 initial_keyword: "start", 1610 initial_keyword: "start",
1546 keyword_only: true, 1611 keyword_only: true,
(...skipping 19 matching lines...) Expand all
1566 }, 1631 },
1567 // FIXME: We shouldn't switch between shorthand/not shorthand based on a run time flag 1632 // FIXME: We shouldn't switch between shorthand/not shorthand based on a run time flag
1568 { 1633 {
1569 name: "text-decoration", 1634 name: "text-decoration",
1570 longhands: "text-decoration-line;text-decoration-style;text-decoration-col or", 1635 longhands: "text-decoration-line;text-decoration-style;text-decoration-col or",
1571 use_handlers_for: "CSSPropertyTextDecorationLine", 1636 use_handlers_for: "CSSPropertyTextDecorationLine",
1572 }, 1637 },
1573 { 1638 {
1574 name: "text-decoration-color", 1639 name: "text-decoration-color",
1575 api_class: true, 1640 api_class: true,
1641 api_methods: ["parseSingleValue"],
1576 custom_all: true, 1642 custom_all: true,
1577 interpolable: true, 1643 interpolable: true,
1578 runtime_flag: "CSS3TextDecorations", 1644 runtime_flag: "CSS3TextDecorations",
1579 }, 1645 },
1580 { 1646 {
1581 name: "text-decoration-line", 1647 name: "text-decoration-line",
1582 converter: "convertFlags<TextDecoration>", 1648 converter: "convertFlags<TextDecoration>",
1583 name_for_methods: "TextDecoration", 1649 name_for_methods: "TextDecoration",
1584 runtime_flag: "CSS3TextDecorations", 1650 runtime_flag: "CSS3TextDecorations",
1585 type_name: "TextDecoration", 1651 type_name: "TextDecoration",
1586 }, 1652 },
1587 { 1653 {
1588 name: "text-decoration-skip", 1654 name: "text-decoration-skip",
1589 api_class: true, 1655 api_class: true,
1656 api_methods: ["parseSingleValue"],
1590 converter: "convertFlags<TextDecorationSkip>", 1657 converter: "convertFlags<TextDecorationSkip>",
1591 inherited: true, 1658 inherited: true,
1592 runtime_flag: "CSS3TextDecorations", 1659 runtime_flag: "CSS3TextDecorations",
1593 type_name: "TextDecorationSkip", 1660 type_name: "TextDecorationSkip",
1594 }, 1661 },
1595 { 1662 {
1596 name: "text-decoration-style", 1663 name: "text-decoration-style",
1597 runtime_flag: "CSS3TextDecorations", 1664 runtime_flag: "CSS3TextDecorations",
1598 type_name: "TextDecorationStyle", 1665 type_name: "TextDecorationStyle",
1599 }, 1666 },
1600 { 1667 {
1601 name: "text-indent", 1668 name: "text-indent",
1602 api_class: true, 1669 api_class: true,
1670 api_methods: ["parseSingleValue"],
1603 custom_all: true, 1671 custom_all: true,
1604 inherited: true, 1672 inherited: true,
1605 interpolable: true, 1673 interpolable: true,
1606 }, 1674 },
1607 { 1675 {
1608 name: "text-justify", 1676 name: "text-justify",
1609 inherited: true, 1677 inherited: true,
1610 runtime_flag: "CSS3Text", 1678 runtime_flag: "CSS3Text",
1611 type_name: "TextJustify", 1679 type_name: "TextJustify",
1612 }, 1680 },
1613 { 1681 {
1614 name: "text-overflow", 1682 name: "text-overflow",
1615 type_name: "TextOverflow", 1683 type_name: "TextOverflow",
1616 }, 1684 },
1617 { 1685 {
1618 name: "text-shadow", 1686 name: "text-shadow",
1619 converter: "convertShadowList", 1687 converter: "convertShadowList",
1620 inherited: true, 1688 inherited: true,
1621 interpolable: true, 1689 interpolable: true,
1622 }, 1690 },
1623 { 1691 {
1624 name: "text-size-adjust", 1692 name: "text-size-adjust",
1625 api_class: true, 1693 api_class: true,
1694 api_methods: ["parseSingleValue"],
1626 converter: "convertTextSizeAdjust", 1695 converter: "convertTextSizeAdjust",
1627 inherited: true, 1696 inherited: true,
1628 type_name: "TextSizeAdjust", 1697 type_name: "TextSizeAdjust",
1629 }, 1698 },
1630 { 1699 {
1631 name: "text-transform", 1700 name: "text-transform",
1632 independent: true, 1701 independent: true,
1633 inherited: true, 1702 inherited: true,
1634 initial_keyword: "none", 1703 initial_keyword: "none",
1635 keyword_only: true, 1704 keyword_only: true,
1636 keywords: ["capitalize", "uppercase", "lowercase", "none"], 1705 keywords: ["capitalize", "uppercase", "lowercase", "none"],
1637 }, 1706 },
1638 { 1707 {
1639 name: "text-underline-position", 1708 name: "text-underline-position",
1640 api_class: true, 1709 api_class: true,
1710 api_methods: ["parseSingleValue"],
1641 inherited: true, 1711 inherited: true,
1642 runtime_flag: "CSS3TextDecorations", 1712 runtime_flag: "CSS3TextDecorations",
1643 type_name: "TextUnderlinePosition", 1713 type_name: "TextUnderlinePosition",
1644 }, 1714 },
1645 { 1715 {
1646 name: "top", 1716 name: "top",
1647 converter: "convertLengthOrAuto", 1717 converter: "convertLengthOrAuto",
1648 initial: "initialOffset", 1718 initial: "initialOffset",
1649 interpolable: true, 1719 interpolable: true,
1650 keywords: ["auto"], 1720 keywords: ["auto"],
1651 supports_percentage: true, 1721 supports_percentage: true,
1652 typedom_types: ["Length"], 1722 typedom_types: ["Length"],
1653 }, 1723 },
1654 { 1724 {
1655 name: "touch-action", 1725 name: "touch-action",
1656 api_class: true, 1726 api_class: true,
1727 api_methods: ["parseSingleValue"],
1657 converter: "convertFlags<TouchAction>", 1728 converter: "convertFlags<TouchAction>",
1658 type_name: "TouchAction", 1729 type_name: "TouchAction",
1659 }, 1730 },
1660 { 1731 {
1661 name: "transform", 1732 name: "transform",
1662 converter: "convertTransformOperations", 1733 converter: "convertTransformOperations",
1663 interpolable: true, 1734 interpolable: true,
1664 keywords: ["none"], 1735 keywords: ["none"],
1665 typedom_types: ["Transform"], 1736 typedom_types: ["Transform"],
1666 }, 1737 },
1667 { 1738 {
1668 name: "transform-origin", 1739 name: "transform-origin",
1669 api_class: true, 1740 api_class: true,
1741 api_methods: ["parseSingleValue"],
1670 converter: "convertTransformOrigin", 1742 converter: "convertTransformOrigin",
1671 interpolable: true, 1743 interpolable: true,
1672 }, 1744 },
1673 { 1745 {
1674 name: "transform-style", 1746 name: "transform-style",
1675 name_for_methods: "TransformStyle3D", 1747 name_for_methods: "TransformStyle3D",
1676 }, 1748 },
1677 { 1749 {
1678 name: "translate", 1750 name: "translate",
1679 api_class: true, 1751 api_class: true,
1752 api_methods: ["parseSingleValue"],
1680 converter: "convertTranslate", 1753 converter: "convertTranslate",
1681 interpolable: true, 1754 interpolable: true,
1682 runtime_flag: "CSSIndependentTransformProperties", 1755 runtime_flag: "CSSIndependentTransformProperties",
1683 }, 1756 },
1684 { 1757 {
1685 name: "rotate", 1758 name: "rotate",
1686 api_class: true, 1759 api_class: true,
1760 api_methods: ["parseSingleValue"],
1687 converter: "convertRotate", 1761 converter: "convertRotate",
1688 interpolable: true, 1762 interpolable: true,
1689 runtime_flag: "CSSIndependentTransformProperties", 1763 runtime_flag: "CSSIndependentTransformProperties",
1690 }, 1764 },
1691 { 1765 {
1692 name: "scale", 1766 name: "scale",
1693 api_class: true, 1767 api_class: true,
1768 api_methods: ["parseSingleValue"],
1694 converter: "convertScale", 1769 converter: "convertScale",
1695 interpolable: true, 1770 interpolable: true,
1696 runtime_flag: "CSSIndependentTransformProperties", 1771 runtime_flag: "CSSIndependentTransformProperties",
1697 }, 1772 },
1698 { 1773 {
1699 name: "unicode-bidi", 1774 name: "unicode-bidi",
1700 field_storage_type: "platform/text/UnicodeBidi", 1775 field_storage_type: "platform/text/UnicodeBidi",
1701 initial_keyword: "normal", 1776 initial_keyword: "normal",
1702 keyword_only: true, 1777 keyword_only: true,
1703 keywords: [ 1778 keywords: [
1704 "normal", "embed", "bidi-override", "isolate", "plaintext", "isolate-ove rride", 1779 "normal", "embed", "bidi-override", "isolate", "plaintext", "isolate-ove rride",
1705 ], 1780 ],
1706 type_name: "UnicodeBidi", 1781 type_name: "UnicodeBidi",
1707 }, 1782 },
1708 { 1783 {
1709 name: "vector-effect", 1784 name: "vector-effect",
1710 svg: true, 1785 svg: true,
1711 }, 1786 },
1712 { 1787 {
1713 name: "vertical-align", 1788 name: "vertical-align",
1714 api_class: true, 1789 api_class: true,
1790 api_methods: ["parseSingleValue"],
1715 custom_inherit: true, 1791 custom_inherit: true,
1716 custom_value: true, 1792 custom_value: true,
1717 interpolable: true, 1793 interpolable: true,
1718 }, 1794 },
1719 { 1795 {
1720 name: "visibility", 1796 name: "visibility",
1721 independent: true, 1797 independent: true,
1722 inherited: true, 1798 inherited: true,
1723 initial_keyword: "visible", 1799 initial_keyword: "visible",
1724 interpolable: true, 1800 interpolable: true,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1785 keyword_only: true, 1861 keyword_only: true,
1786 keywords: ["normal", "reverse"], 1862 keywords: ["normal", "reverse"],
1787 }, 1863 },
1788 { 1864 {
1789 name: "-webkit-box-flex", 1865 name: "-webkit-box-flex",
1790 type_name: "float", 1866 type_name: "float",
1791 }, 1867 },
1792 { 1868 {
1793 name: "-webkit-box-flex-group", 1869 name: "-webkit-box-flex-group",
1794 api_class: true, 1870 api_class: true,
1871 api_methods: ["parseSingleValue"],
1795 type_name: "unsigned int", 1872 type_name: "unsigned int",
1796 }, 1873 },
1797 "-webkit-box-lines", 1874 "-webkit-box-lines",
1798 { 1875 {
1799 name: "-webkit-box-ordinal-group", 1876 name: "-webkit-box-ordinal-group",
1800 type_name: "unsigned int", 1877 type_name: "unsigned int",
1801 }, 1878 },
1802 "-webkit-box-orient", 1879 "-webkit-box-orient",
1803 "-webkit-box-pack", 1880 "-webkit-box-pack",
1804 { 1881 {
1805 name: "-webkit-box-reflect", 1882 name: "-webkit-box-reflect",
1806 converter: "convertBoxReflect", 1883 converter: "convertBoxReflect",
1807 }, 1884 },
1808 { 1885 {
1809 name: "column-count", 1886 name: "column-count",
1810 custom_all: true, 1887 custom_all: true,
1811 interpolable: true, 1888 interpolable: true,
1812 type_name: "unsigned short", 1889 type_name: "unsigned short",
1813 }, 1890 },
1814 { 1891 {
1815 name: "column-gap", 1892 name: "column-gap",
1816 api_class: true, 1893 api_class: true,
1894 api_methods: ["parseSingleValue"],
1817 converter: "convertComputedLength<float>", 1895 converter: "convertComputedLength<float>",
1818 custom_all: true, 1896 custom_all: true,
1819 interpolable: true, 1897 interpolable: true,
1820 }, 1898 },
1821 { 1899 {
1822 name: "column-rule-color", 1900 name: "column-rule-color",
1823 api_class: "CSSPropertyAPIColor", 1901 api_class: "CSSPropertyAPIColor",
1902 api_methods: ["parseSingleValue"],
1824 custom_all: true, 1903 custom_all: true,
1825 interpolable: true, 1904 interpolable: true,
1826 }, 1905 },
1827 { 1906 {
1828 name: "column-rule-style", 1907 name: "column-rule-style",
1829 initial: "initialBorderStyle", 1908 initial: "initialBorderStyle",
1830 type_name: "EBorderStyle", 1909 type_name: "EBorderStyle",
1831 }, 1910 },
1832 { 1911 {
1833 name: "column-rule-width", 1912 name: "column-rule-width",
1834 api_class: true, 1913 api_class: true,
1914 api_methods: ["parseSingleValue"],
1835 converter: "convertLineWidth<unsigned short>", 1915 converter: "convertLineWidth<unsigned short>",
1836 interpolable: true, 1916 interpolable: true,
1837 }, 1917 },
1838 { 1918 {
1839 name: "column-span", 1919 name: "column-span",
1840 api_class: true, 1920 api_class: true,
1921 api_methods: ["parseSingleValue"],
1841 type_name: "ColumnSpan", 1922 type_name: "ColumnSpan",
1842 }, 1923 },
1843 { 1924 {
1844 name: "column-width", 1925 name: "column-width",
1845 converter: "convertComputedLength<float>", 1926 converter: "convertComputedLength<float>",
1846 custom_all: true, 1927 custom_all: true,
1847 interpolable: true, 1928 interpolable: true,
1848 }, 1929 },
1849 { 1930 {
1850 name: "-webkit-highlight", 1931 name: "-webkit-highlight",
1851 api_class: true, 1932 api_class: true,
1933 api_methods: ["parseSingleValue"],
1852 converter: "convertString<CSSValueNone>", 1934 converter: "convertString<CSSValueNone>",
1853 inherited: true, 1935 inherited: true,
1854 }, 1936 },
1855 { 1937 {
1856 name: "-webkit-hyphenate-character", 1938 name: "-webkit-hyphenate-character",
1857 converter: "convertString<CSSValueAuto>", 1939 converter: "convertString<CSSValueAuto>",
1858 inherited: true, 1940 inherited: true,
1859 name_for_methods: "HyphenationString", 1941 name_for_methods: "HyphenationString",
1860 }, 1942 },
1861 { 1943 {
1862 name: "-webkit-line-break", 1944 name: "-webkit-line-break",
1863 inherited: true, 1945 inherited: true,
1864 type_name: "LineBreak", 1946 type_name: "LineBreak",
1865 }, 1947 },
1866 { 1948 {
1867 name: "-webkit-line-clamp", 1949 name: "-webkit-line-clamp",
1868 api_class: true, 1950 api_class: true,
1951 api_methods: ["parseSingleValue"],
1869 type_name: "LineClampValue", 1952 type_name: "LineClampValue",
1870 }, 1953 },
1871 { 1954 {
1872 name: "-webkit-margin-after-collapse", 1955 name: "-webkit-margin-after-collapse",
1873 type_name: "EMarginCollapse", 1956 type_name: "EMarginCollapse",
1874 }, 1957 },
1875 { 1958 {
1876 name: "-webkit-margin-before-collapse", 1959 name: "-webkit-margin-before-collapse",
1877 type_name: "EMarginCollapse", 1960 type_name: "EMarginCollapse",
1878 }, 1961 },
(...skipping 17 matching lines...) Expand all
1896 custom_all: true, 1979 custom_all: true,
1897 }, 1980 },
1898 { 1981 {
1899 name: "-webkit-mask-box-image-slice", 1982 name: "-webkit-mask-box-image-slice",
1900 custom_all: true, 1983 custom_all: true,
1901 interpolable: true, 1984 interpolable: true,
1902 }, 1985 },
1903 { 1986 {
1904 name: "-webkit-mask-box-image-source", 1987 name: "-webkit-mask-box-image-source",
1905 api_class: "CSSPropertyAPIImage", 1988 api_class: "CSSPropertyAPIImage",
1989 api_methods: ["parseSingleValue"],
1906 custom_value: true, 1990 custom_value: true,
1907 interpolable: true, 1991 interpolable: true,
1908 }, 1992 },
1909 { 1993 {
1910 name: "-webkit-mask-box-image-width", 1994 name: "-webkit-mask-box-image-width",
1911 custom_all: true, 1995 custom_all: true,
1912 interpolable: true, 1996 interpolable: true,
1913 }, 1997 },
1914 { 1998 {
1915 name: "-webkit-mask-clip", 1999 name: "-webkit-mask-clip",
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
1981 type_name: "EOrder", 2065 type_name: "EOrder",
1982 }, 2066 },
1983 { 2067 {
1984 name: "-webkit-ruby-position", 2068 name: "-webkit-ruby-position",
1985 inherited: true, 2069 inherited: true,
1986 type_name: "RubyPosition", 2070 type_name: "RubyPosition",
1987 }, 2071 },
1988 { 2072 {
1989 name: "-webkit-tap-highlight-color", 2073 name: "-webkit-tap-highlight-color",
1990 api_class: "CSSPropertyAPIColor", 2074 api_class: "CSSPropertyAPIColor",
2075 api_methods: ["parseSingleValue"],
1991 converter: "convertColor", 2076 converter: "convertColor",
1992 inherited: true, 2077 inherited: true,
1993 }, 2078 },
1994 { 2079 {
1995 name: "-webkit-text-combine", 2080 name: "-webkit-text-combine",
1996 inherited: true, 2081 inherited: true,
1997 name_for_methods: "TextCombine", 2082 name_for_methods: "TextCombine",
1998 type_name: "TextCombine", 2083 type_name: "TextCombine",
1999 }, 2084 },
2000 { 2085 {
2001 name: "-webkit-text-emphasis-color", 2086 name: "-webkit-text-emphasis-color",
2002 api_class: "CSSPropertyAPIColor", 2087 api_class: "CSSPropertyAPIColor",
2088 api_methods: ["parseSingleValue"],
2003 custom_all: true, 2089 custom_all: true,
2004 inherited: true, 2090 inherited: true,
2005 }, 2091 },
2006 { 2092 {
2007 name: "-webkit-text-emphasis-position", 2093 name: "-webkit-text-emphasis-position",
2008 inherited: true, 2094 inherited: true,
2009 type_name: "TextEmphasisPosition", 2095 type_name: "TextEmphasisPosition",
2010 }, 2096 },
2011 { 2097 {
2012 name: "-webkit-text-emphasis-style", 2098 name: "-webkit-text-emphasis-style",
2013 api_class: true, 2099 api_class: true,
2100 api_methods: ["parseSingleValue"],
2014 custom_all: true, 2101 custom_all: true,
2015 inherited: true, 2102 inherited: true,
2016 }, 2103 },
2017 { 2104 {
2018 name: "-webkit-text-fill-color", 2105 name: "-webkit-text-fill-color",
2019 api_class: "CSSPropertyAPIColor", 2106 api_class: "CSSPropertyAPIColor",
2107 api_methods: ["parseSingleValue"],
2020 custom_all: true, 2108 custom_all: true,
2021 inherited: true, 2109 inherited: true,
2022 }, 2110 },
2023 { 2111 {
2024 name: "-webkit-text-security", 2112 name: "-webkit-text-security",
2025 inherited: true, 2113 inherited: true,
2026 }, 2114 },
2027 { 2115 {
2028 name: "-webkit-text-stroke-color", 2116 name: "-webkit-text-stroke-color",
2029 api_class: "CSSPropertyAPIColor", 2117 api_class: "CSSPropertyAPIColor",
2118 api_methods: ["parseSingleValue"],
2030 custom_all: true, 2119 custom_all: true,
2031 inherited: true, 2120 inherited: true,
2032 interpolable: true, 2121 interpolable: true,
2033 }, 2122 },
2034 { 2123 {
2035 name: "-webkit-text-stroke-width", 2124 name: "-webkit-text-stroke-width",
2036 api_class: true, 2125 api_class: true,
2126 api_methods: ["parseSingleValue"],
2037 converter: "convertTextStrokeWidth", 2127 converter: "convertTextStrokeWidth",
2038 inherited: true, 2128 inherited: true,
2039 }, 2129 },
2040 { 2130 {
2041 name: "-webkit-transform-origin-x", 2131 name: "-webkit-transform-origin-x",
2042 converter: "convertLength", 2132 converter: "convertLength",
2043 interpolable: true, 2133 interpolable: true,
2044 }, 2134 },
2045 { 2135 {
2046 name: "-webkit-transform-origin-y", 2136 name: "-webkit-transform-origin-y",
2047 converter: "convertLength", 2137 converter: "convertLength",
2048 interpolable: true, 2138 interpolable: true,
2049 }, 2139 },
2050 { 2140 {
2051 name: "-webkit-transform-origin-z", 2141 name: "-webkit-transform-origin-z",
2052 api_class: true, 2142 api_class: true,
2143 api_methods: ["parseSingleValue"],
2053 converter: "convertComputedLength<float>", 2144 converter: "convertComputedLength<float>",
2054 interpolable: true, 2145 interpolable: true,
2055 }, 2146 },
2056 "-webkit-user-drag", 2147 "-webkit-user-drag",
2057 { 2148 {
2058 name: "-webkit-user-modify", 2149 name: "-webkit-user-modify",
2059 inherited: true, 2150 inherited: true,
2060 }, 2151 },
2061 { 2152 {
2062 name: "user-select", 2153 name: "user-select",
(...skipping 18 matching lines...) Expand all
2081 converter: "convertLengthSizing", 2172 converter: "convertLengthSizing",
2082 initial: "initialSize", 2173 initial: "initialSize",
2083 interpolable: true, 2174 interpolable: true,
2084 keywords: ["auto"], 2175 keywords: ["auto"],
2085 supports_percentage: true, 2176 supports_percentage: true,
2086 typedom_types: ["Length"], 2177 typedom_types: ["Length"],
2087 }, 2178 },
2088 { 2179 {
2089 name: "will-change", 2180 name: "will-change",
2090 api_class: true, 2181 api_class: true,
2182 api_methods: ["parseSingleValue"],
2091 custom_all: true, 2183 custom_all: true,
2092 }, 2184 },
2093 { 2185 {
2094 name: "word-break", 2186 name: "word-break",
2095 inherited: true, 2187 inherited: true,
2096 }, 2188 },
2097 { 2189 {
2098 name: "word-spacing", 2190 name: "word-spacing",
2099 api_class: "CSSPropertyAPILetterAndWordSpacing", 2191 api_class: "CSSPropertyAPILetterAndWordSpacing",
2192 api_methods: ["parseSingleValue"],
2100 converter: "convertSpacing", 2193 converter: "convertSpacing",
2101 inherited: true, 2194 inherited: true,
2102 initial: "initialLetterWordSpacing", 2195 initial: "initialLetterWordSpacing",
2103 interpolable: true, 2196 interpolable: true,
2104 }, 2197 },
2105 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' p roperty. So using the same handlers. 2198 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' p roperty. So using the same handlers.
2106 { 2199 {
2107 name: "word-wrap", 2200 name: "word-wrap",
2108 inherited: true, 2201 inherited: true,
2109 name_for_methods: "OverflowWrap", 2202 name_for_methods: "OverflowWrap",
2110 }, 2203 },
2111 { 2204 {
2112 name: "z-index", 2205 name: "z-index",
2113 api_class: true, 2206 api_class: true,
2207 api_methods: ["parseSingleValue"],
2114 custom_all: true, 2208 custom_all: true,
2115 interpolable: true, 2209 interpolable: true,
2116 type_name: "int", 2210 type_name: "int",
2117 }, 2211 },
2118 2212
2119 // CSS logical props 2213 // CSS logical props
2120 { 2214 {
2121 name: "inline-size", 2215 name: "inline-size",
2122 direction_aware: true, 2216 direction_aware: true,
2123 }, 2217 },
2124 { 2218 {
2125 name: "block-size", 2219 name: "block-size",
2126 direction_aware: true, 2220 direction_aware: true,
2127 }, 2221 },
2128 { 2222 {
2129 name: "min-inline-size", 2223 name: "min-inline-size",
2130 direction_aware: true, 2224 direction_aware: true,
2131 }, 2225 },
2132 { 2226 {
2133 name: "min-block-size", 2227 name: "min-block-size",
2134 direction_aware: true, 2228 direction_aware: true,
2135 }, 2229 },
2136 { 2230 {
2137 name: "max-inline-size", 2231 name: "max-inline-size",
2138 api_class: "CSSPropertyAPIWebkitMaxLogicalWidthOrHeight", 2232 api_class: "CSSPropertyAPIWebkitMaxLogicalWidthOrHeight",
2233 api_methods: ["parseSingleValue"],
2139 direction_aware: true, 2234 direction_aware: true,
2140 }, 2235 },
2141 { 2236 {
2142 name: "max-block-size", 2237 name: "max-block-size",
2143 api_class: "CSSPropertyAPIWebkitMaxLogicalWidthOrHeight", 2238 api_class: "CSSPropertyAPIWebkitMaxLogicalWidthOrHeight",
2239 api_methods: ["parseSingleValue"],
2144 direction_aware: true, 2240 direction_aware: true,
2145 }, 2241 },
2146 2242
2147 // Non-standard direction aware properties 2243 // Non-standard direction aware properties
2148 2244
2149 { 2245 {
2150 name: "-webkit-border-end-color", 2246 name: "-webkit-border-end-color",
2151 api_class: "CSSPropertyAPIColor", 2247 api_class: "CSSPropertyAPIColor",
2248 api_methods: ["parseSingleValue"],
2152 direction_aware: true, 2249 direction_aware: true,
2153 }, 2250 },
2154 { 2251 {
2155 name: "-webkit-border-end-style", 2252 name: "-webkit-border-end-style",
2156 direction_aware: true, 2253 direction_aware: true,
2157 }, 2254 },
2158 { 2255 {
2159 name: "-webkit-border-end-width", 2256 name: "-webkit-border-end-width",
2160 direction_aware: true, 2257 direction_aware: true,
2161 }, 2258 },
2162 { 2259 {
2163 name: "-webkit-border-start-color", 2260 name: "-webkit-border-start-color",
2164 api_class: "CSSPropertyAPIColor", 2261 api_class: "CSSPropertyAPIColor",
2262 api_methods: ["parseSingleValue"],
2165 direction_aware: true, 2263 direction_aware: true,
2166 }, 2264 },
2167 { 2265 {
2168 name: "-webkit-border-start-style", 2266 name: "-webkit-border-start-style",
2169 direction_aware: true, 2267 direction_aware: true,
2170 }, 2268 },
2171 { 2269 {
2172 name: "-webkit-border-start-width", 2270 name: "-webkit-border-start-width",
2173 direction_aware: true, 2271 direction_aware: true,
2174 }, 2272 },
2175 { 2273 {
2176 name: "-webkit-border-before-color", 2274 name: "-webkit-border-before-color",
2177 api_class: "CSSPropertyAPIColor", 2275 api_class: "CSSPropertyAPIColor",
2276 api_methods: ["parseSingleValue"],
2178 direction_aware: true, 2277 direction_aware: true,
2179 }, 2278 },
2180 { 2279 {
2181 name: "-webkit-border-before-style", 2280 name: "-webkit-border-before-style",
2182 direction_aware: true, 2281 direction_aware: true,
2183 }, 2282 },
2184 { 2283 {
2185 name: "-webkit-border-before-width", 2284 name: "-webkit-border-before-width",
2186 direction_aware: true, 2285 direction_aware: true,
2187 }, 2286 },
2188 { 2287 {
2189 name: "-webkit-border-after-color", 2288 name: "-webkit-border-after-color",
2190 api_class: "CSSPropertyAPIColor", 2289 api_class: "CSSPropertyAPIColor",
2290 api_methods: ["parseSingleValue"],
2191 direction_aware: true, 2291 direction_aware: true,
2192 }, 2292 },
2193 { 2293 {
2194 name: "-webkit-border-after-style", 2294 name: "-webkit-border-after-style",
2195 direction_aware: true, 2295 direction_aware: true,
2196 }, 2296 },
2197 { 2297 {
2198 name: "-webkit-border-after-width", 2298 name: "-webkit-border-after-width",
2199 direction_aware: true, 2299 direction_aware: true,
2200 }, 2300 },
2201 { 2301 {
2202 name: "-webkit-margin-end", 2302 name: "-webkit-margin-end",
2203 direction_aware: true, 2303 direction_aware: true,
2204 }, 2304 },
2205 { 2305 {
2206 name: "-webkit-margin-start", 2306 name: "-webkit-margin-start",
2207 direction_aware: true, 2307 direction_aware: true,
2208 }, 2308 },
2209 { 2309 {
2210 name: "-webkit-margin-before", 2310 name: "-webkit-margin-before",
2211 direction_aware: true, 2311 direction_aware: true,
2212 }, 2312 },
2213 { 2313 {
2214 name: "-webkit-margin-after", 2314 name: "-webkit-margin-after",
2215 direction_aware: true, 2315 direction_aware: true,
2216 }, 2316 },
2217 { 2317 {
2218 name: "-webkit-padding-end", 2318 name: "-webkit-padding-end",
2219 api_class: "CSSPropertyAPIWebkitPadding", 2319 api_class: "CSSPropertyAPIWebkitPadding",
2320 api_methods: ["parseSingleValue"],
2220 direction_aware: true, 2321 direction_aware: true,
2221 }, 2322 },
2222 { 2323 {
2223 name: "-webkit-padding-start", 2324 name: "-webkit-padding-start",
2224 api_class: "CSSPropertyAPIWebkitPadding", 2325 api_class: "CSSPropertyAPIWebkitPadding",
2326 api_methods: ["parseSingleValue"],
2225 direction_aware: true, 2327 direction_aware: true,
2226 }, 2328 },
2227 { 2329 {
2228 name: "-webkit-padding-before", 2330 name: "-webkit-padding-before",
2229 api_class: "CSSPropertyAPIWebkitPadding", 2331 api_class: "CSSPropertyAPIWebkitPadding",
2332 api_methods: ["parseSingleValue"],
2230 direction_aware: true, 2333 direction_aware: true,
2231 }, 2334 },
2232 { 2335 {
2233 name: "-webkit-padding-after", 2336 name: "-webkit-padding-after",
2234 api_class: "CSSPropertyAPIWebkitPadding", 2337 api_class: "CSSPropertyAPIWebkitPadding",
2338 api_methods: ["parseSingleValue"],
2235 direction_aware: true, 2339 direction_aware: true,
2236 }, 2340 },
2237 { 2341 {
2238 name: "-webkit-logical-width", 2342 name: "-webkit-logical-width",
2239 direction_aware: true, 2343 direction_aware: true,
2240 }, 2344 },
2241 { 2345 {
2242 name: "-webkit-logical-height", 2346 name: "-webkit-logical-height",
2243 direction_aware: true, 2347 direction_aware: true,
2244 }, 2348 },
2245 { 2349 {
2246 name: "-webkit-min-logical-width", 2350 name: "-webkit-min-logical-width",
2247 direction_aware: true, 2351 direction_aware: true,
2248 }, 2352 },
2249 { 2353 {
2250 name: "-webkit-min-logical-height", 2354 name: "-webkit-min-logical-height",
2251 direction_aware: true, 2355 direction_aware: true,
2252 }, 2356 },
2253 { 2357 {
2254 name: "-webkit-max-logical-width", 2358 name: "-webkit-max-logical-width",
2255 api_class: "CSSPropertyAPIWebkitMaxLogicalWidthOrHeight", 2359 api_class: "CSSPropertyAPIWebkitMaxLogicalWidthOrHeight",
2360 api_methods: ["parseSingleValue"],
2256 direction_aware: true, 2361 direction_aware: true,
2257 }, 2362 },
2258 { 2363 {
2259 name: "-webkit-max-logical-height", 2364 name: "-webkit-max-logical-height",
2260 api_class: "CSSPropertyAPIWebkitMaxLogicalWidthOrHeight", 2365 api_class: "CSSPropertyAPIWebkitMaxLogicalWidthOrHeight",
2366 api_methods: ["parseSingleValue"],
2261 direction_aware: true, 2367 direction_aware: true,
2262 }, 2368 },
2263 2369
2264 // Properties that we ignore in the StyleBuilder. 2370 // Properties that we ignore in the StyleBuilder.
2265 // TODO(timloh): This seems wrong, most of these shouldn't reach the StyleBu ilder 2371 // TODO(timloh): This seems wrong, most of these shouldn't reach the StyleBu ilder
2266 2372
2267 { 2373 {
2268 name: "all", 2374 name: "all",
2269 builder_skip: true, 2375 builder_skip: true,
2270 }, 2376 },
2271 { 2377 {
2272 name: "page", 2378 name: "page",
2273 api_class: true, 2379 api_class: true,
2380 api_methods: ["parseSingleValue"],
2274 builder_skip: true, 2381 builder_skip: true,
2275 }, 2382 },
2276 { 2383 {
2277 name: "-webkit-font-size-delta", 2384 name: "-webkit-font-size-delta",
2278 api_class: true, 2385 api_class: true,
2386 api_methods: ["parseSingleValue"],
2279 builder_skip: true, 2387 builder_skip: true,
2280 }, 2388 },
2281 { 2389 {
2282 name: "-webkit-text-decorations-in-effect", 2390 name: "-webkit-text-decorations-in-effect",
2283 builder_skip: true, 2391 builder_skip: true,
2284 inherited: true, 2392 inherited: true,
2285 }, 2393 },
2286 2394
2287 // Descriptors 2395 // Descriptors
2288 2396
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
2804 { 2912 {
2805 name: "-webkit-transition-timing-function", 2913 name: "-webkit-transition-timing-function",
2806 alias_for: "transition-timing-function", 2914 alias_for: "transition-timing-function",
2807 }, 2915 },
2808 { 2916 {
2809 name: "-webkit-user-select", 2917 name: "-webkit-user-select",
2810 alias_for: "user-select", 2918 alias_for: "user-select",
2811 }, 2919 },
2812 ], 2920 ],
2813 } 2921 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698