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

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

Issue 2654403003: Added api_methods flag to CSSProperties.json5. (Closed)
Patch Set: rebase 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"],
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 {
501 name: "align-items", 518 name: "align-items",
519 api_class: true,
520 api_methods: ["parseSingleValue"],
502 converter: "convertSelfOrDefaultAlignmentData", 521 converter: "convertSelfOrDefaultAlignmentData",
503 initial: "initialDefaultAlignment", 522 initial: "initialDefaultAlignment",
504 api_class: true,
505 }, 523 },
506 { 524 {
507 name: "alignment-baseline", 525 name: "alignment-baseline",
508 svg: true, 526 svg: true,
509 }, 527 },
510 { 528 {
529 api_class: "CSSPropertyAPIAlignOrJustifySelf",
530 api_methods: ["parseSingleValue"],
511 name: "align-self", 531 name: "align-self",
512 converter: "convertSelfOrDefaultAlignmentData", 532 converter: "convertSelfOrDefaultAlignmentData",
513 initial: "initialSelfAlignment", 533 initial: "initialSelfAlignment",
514 api_class: "CSSPropertyAPIAlignOrJustifySelf",
515 }, 534 },
516 { 535 {
517 name: "backdrop-filter", 536 name: "backdrop-filter",
518 converter: "convertFilterOperations", 537 converter: "convertFilterOperations",
519 interpolable: true, 538 interpolable: true,
520 runtime_flag: "CSSBackdropFilter", 539 runtime_flag: "CSSBackdropFilter",
521 }, 540 },
522 "backface-visibility", 541 "backface-visibility",
523 { 542 {
524 name: "background-attachment", 543 name: "background-attachment",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 custom_all: true, 586 custom_all: true,
568 }, 587 },
569 { 588 {
570 name: "background-size", 589 name: "background-size",
571 custom_all: true, 590 custom_all: true,
572 interpolable: true, 591 interpolable: true,
573 }, 592 },
574 { 593 {
575 name: "baseline-shift", 594 name: "baseline-shift",
576 api_class: true, 595 api_class: true,
596 api_methods: ["parseSingleValue"],
577 custom_inherit: true, 597 custom_inherit: true,
578 custom_value: true, 598 custom_value: true,
579 interpolable: true, 599 interpolable: true,
580 svg: true, 600 svg: true,
581 }, 601 },
582 { 602 {
583 name: "border-bottom-color", 603 name: "border-bottom-color",
584 custom_all: true, 604 custom_all: true,
585 interpolable: true, 605 interpolable: true,
586 }, 606 },
587 { 607 {
588 name: "border-bottom-left-radius", 608 name: "border-bottom-left-radius",
589 api_class: "CSSPropertyAPIBorderRadius", 609 api_class: "CSSPropertyAPIBorderRadius",
610 api_methods: ["parseSingleValue"],
590 converter: "convertRadius", 611 converter: "convertRadius",
591 initial: "initialBorderRadius", 612 initial: "initialBorderRadius",
592 interpolable: true, 613 interpolable: true,
593 }, 614 },
594 { 615 {
595 name: "border-bottom-right-radius", 616 name: "border-bottom-right-radius",
596 api_class: "CSSPropertyAPIBorderRadius", 617 api_class: "CSSPropertyAPIBorderRadius",
618 api_methods: ["parseSingleValue"],
597 converter: "convertRadius", 619 converter: "convertRadius",
598 initial: "initialBorderRadius", 620 initial: "initialBorderRadius",
599 interpolable: true, 621 interpolable: true,
600 }, 622 },
601 { 623 {
602 name: "border-bottom-style", 624 name: "border-bottom-style",
603 initial: "initialBorderStyle", 625 initial: "initialBorderStyle",
604 type_name: "EBorderStyle", 626 type_name: "EBorderStyle",
605 }, 627 },
606 { 628 {
(...skipping 20 matching lines...) Expand all
627 custom_all: true, 649 custom_all: true,
628 }, 650 },
629 { 651 {
630 name: "border-image-slice", 652 name: "border-image-slice",
631 custom_all: true, 653 custom_all: true,
632 interpolable: true, 654 interpolable: true,
633 }, 655 },
634 { 656 {
635 name: "border-image-source", 657 name: "border-image-source",
636 api_class: "CSSPropertyAPIImage", 658 api_class: "CSSPropertyAPIImage",
659 api_methods: ["parseSingleValue"],
637 custom_value: true, 660 custom_value: true,
638 interpolable: true, 661 interpolable: true,
639 keywords: ["none"], 662 keywords: ["none"],
640 typedom_types: ["Image"], 663 typedom_types: ["Image"],
641 }, 664 },
642 { 665 {
643 name: "border-image-width", 666 name: "border-image-width",
644 custom_all: true, 667 custom_all: true,
645 interpolable: true, 668 interpolable: true,
646 }, 669 },
(...skipping 30 matching lines...) Expand all
677 interpolable: true, 700 interpolable: true,
678 }, 701 },
679 { 702 {
680 name: "border-top-color", 703 name: "border-top-color",
681 custom_all: true, 704 custom_all: true,
682 interpolable: true, 705 interpolable: true,
683 }, 706 },
684 { 707 {
685 name: "border-top-left-radius", 708 name: "border-top-left-radius",
686 api_class: "CSSPropertyAPIBorderRadius", 709 api_class: "CSSPropertyAPIBorderRadius",
710 api_methods: ["parseSingleValue"],
687 converter: "convertRadius", 711 converter: "convertRadius",
688 initial: "initialBorderRadius", 712 initial: "initialBorderRadius",
689 interpolable: true, 713 interpolable: true,
690 }, 714 },
691 { 715 {
692 name: "border-top-right-radius", 716 name: "border-top-right-radius",
693 api_class: "CSSPropertyAPIBorderRadius", 717 api_class: "CSSPropertyAPIBorderRadius",
718 api_methods: ["parseSingleValue"],
694 converter: "convertRadius", 719 converter: "convertRadius",
695 initial: "initialBorderRadius", 720 initial: "initialBorderRadius",
696 interpolable: true, 721 interpolable: true,
697 }, 722 },
698 { 723 {
699 name: "border-top-style", 724 name: "border-top-style",
700 initial: "initialBorderStyle", 725 initial: "initialBorderStyle",
701 type_name: "EBorderStyle", 726 type_name: "EBorderStyle",
702 }, 727 },
703 { 728 {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 name: "caption-side", 769 name: "caption-side",
745 independent: true, 770 independent: true,
746 inherited: true, 771 inherited: true,
747 initial_keyword: "top", 772 initial_keyword: "top",
748 keyword_only: true, 773 keyword_only: true,
749 keywords: ["top", "bottom", "left", "right"], 774 keywords: ["top", "bottom", "left", "right"],
750 }, 775 },
751 { 776 {
752 name: "caret-color", 777 name: "caret-color",
753 api_class: true, 778 api_class: true,
779 api_methods: ["parseSingleValue"],
754 custom_all: true, 780 custom_all: true,
755 inherited: true, 781 inherited: true,
756 interpolable: true, 782 interpolable: true,
757 }, 783 },
758 { 784 {
759 name: "clear", 785 name: "clear",
760 initial_keyword: "none", 786 initial_keyword: "none",
761 keyword_only: true, 787 keyword_only: true,
762 keywords: ["none", "left", "right", "both"], 788 keywords: ["none", "left", "right", "both"],
763 }, 789 },
764 { 790 {
765 name: "clip", 791 name: "clip",
766 api_class: true, 792 api_class: true,
793 api_methods: ["parseSingleValue"],
767 converter: "convertClip", 794 converter: "convertClip",
768 custom_all: true, 795 custom_all: true,
769 interpolable: true, 796 interpolable: true,
770 }, 797 },
771 { 798 {
772 name: "clip-path", 799 name: "clip-path",
773 api_class: true, 800 api_class: true,
801 api_methods: ["parseSingleValue"],
774 converter: "convertClipPath", 802 converter: "convertClipPath",
775 interpolable: true, 803 interpolable: true,
776 }, 804 },
777 { 805 {
778 name: "clip-rule", 806 name: "clip-rule",
779 inherited: true, 807 inherited: true,
780 svg: true, 808 svg: true,
781 type_name: "WindRule", 809 type_name: "WindRule",
782 }, 810 },
783 { 811 {
(...skipping 12 matching lines...) Expand all
796 inherited: true, 824 inherited: true,
797 svg: true, 825 svg: true,
798 }, 826 },
799 { 827 {
800 name: "column-fill", 828 name: "column-fill",
801 type_name: "ColumnFill", 829 type_name: "ColumnFill",
802 }, 830 },
803 { 831 {
804 name: "contain", 832 name: "contain",
805 api_class: true, 833 api_class: true,
834 api_methods: ["parseSingleValue"],
806 converter: "convertFlags<Containment>", 835 converter: "convertFlags<Containment>",
807 runtime_flag: "CSSContainment", 836 runtime_flag: "CSSContainment",
808 }, 837 },
809 { 838 {
810 name: "content", 839 name: "content",
811 api_class: true, 840 api_class: true,
841 api_methods: ["parseSingleValue"],
812 custom_all: true, 842 custom_all: true,
813 repeated: true, 843 repeated: true,
814 typedom_types: ["Image"], 844 typedom_types: ["Image"],
815 }, 845 },
816 { 846 {
817 name: "counter-increment", 847 name: "counter-increment",
818 custom_all: true, 848 custom_all: true,
819 }, 849 },
820 { 850 {
821 name: "counter-reset", 851 name: "counter-reset",
822 custom_all: true, 852 custom_all: true,
823 }, 853 },
824 { 854 {
825 name: "cursor", 855 name: "cursor",
826 api_class: true, 856 api_class: true,
857 api_methods: ["parseSingleValue"],
827 custom_all: true, 858 custom_all: true,
828 inherited: true, 859 inherited: true,
829 }, 860 },
830 { 861 {
831 name: "cx", 862 name: "cx",
832 converter: "convertLength", 863 converter: "convertLength",
833 interpolable: true, 864 interpolable: true,
834 svg: true, 865 svg: true,
835 }, 866 },
836 { 867 {
(...skipping 19 matching lines...) Expand all
856 independent: true, 887 independent: true,
857 inherited: true, 888 inherited: true,
858 initial_keyword: "show", 889 initial_keyword: "show",
859 keyword_only: true, 890 keyword_only: true,
860 keywords: ["show", "hide"], 891 keywords: ["show", "hide"],
861 type_name: "EEmptyCells", 892 type_name: "EEmptyCells",
862 }, 893 },
863 { 894 {
864 name: "fill", 895 name: "fill",
865 api_class: "CSSPropertyAPIPaintStroke", 896 api_class: "CSSPropertyAPIPaintStroke",
897 api_methods: ["parseSingleValue"],
866 custom_all: true, 898 custom_all: true,
867 inherited: true, 899 inherited: true,
868 interpolable: true, 900 interpolable: true,
869 setter: "setFillPaint", 901 setter: "setFillPaint",
870 svg: true, 902 svg: true,
871 }, 903 },
872 { 904 {
873 name: "fill-opacity", 905 name: "fill-opacity",
874 api_class: "CSSPropertyAPIOpacity", 906 api_class: "CSSPropertyAPIOpacity",
907 api_methods: ["parseSingleValue"],
875 converter: "convertNumberOrPercentage", 908 converter: "convertNumberOrPercentage",
876 inherited: true, 909 inherited: true,
877 interpolable: true, 910 interpolable: true,
878 svg: true, 911 svg: true,
879 }, 912 },
880 { 913 {
881 name: "fill-rule", 914 name: "fill-rule",
882 inherited: true, 915 inherited: true,
883 svg: true, 916 svg: true,
884 type_name: "WindRule", 917 type_name: "WindRule",
885 }, 918 },
886 { 919 {
887 name: "filter", 920 name: "filter",
888 converter: "convertFilterOperations", 921 converter: "convertFilterOperations",
889 interpolable: true, 922 interpolable: true,
890 }, 923 },
891 { 924 {
892 name: "flex-basis", 925 name: "flex-basis",
893 api_class: true, 926 api_class: true,
927 api_methods: ["parseSingleValue"],
894 converter: "convertLengthOrAuto", 928 converter: "convertLengthOrAuto",
895 interpolable: true, 929 interpolable: true,
896 }, 930 },
897 "flex-direction", 931 "flex-direction",
898 { 932 {
899 name: "flex-grow", 933 name: "flex-grow",
900 interpolable: true, 934 interpolable: true,
901 type_name: "float", 935 type_name: "float",
902 }, 936 },
903 { 937 {
904 name: "flex-shrink", 938 name: "flex-shrink",
905 interpolable: true, 939 interpolable: true,
906 type_name: "float", 940 type_name: "float",
907 }, 941 },
908 "flex-wrap", 942 "flex-wrap",
909 { 943 {
910 name: "float", 944 name: "float",
911 initial_keyword: "none", 945 initial_keyword: "none",
912 keyword_only: true, 946 keyword_only: true,
913 keywords: ["none", "left", "right"], 947 keywords: ["none", "left", "right"],
914 name_for_methods: "Floating", 948 name_for_methods: "Floating",
915 type_name: "EFloat", 949 type_name: "EFloat",
916 }, 950 },
917 { 951 {
918 name: "flood-color", 952 name: "flood-color",
919 api_class: "CSSPropertyAPIColor", 953 api_class: "CSSPropertyAPIColor",
954 api_methods: ["parseSingleValue"],
920 converter: "convertColor", 955 converter: "convertColor",
921 interpolable: true, 956 interpolable: true,
922 svg: true, 957 svg: true,
923 }, 958 },
924 { 959 {
925 name: "flood-opacity", 960 name: "flood-opacity",
926 api_class: "CSSPropertyAPIOpacity", 961 api_class: "CSSPropertyAPIOpacity",
962 api_methods: ["parseSingleValue"],
927 converter: "convertNumberOrPercentage", 963 converter: "convertNumberOrPercentage",
928 interpolable: true, 964 interpolable: true,
929 svg: true, 965 svg: true,
930 }, 966 },
931 { 967 {
932 name: "grid-auto-columns", 968 name: "grid-auto-columns",
933 converter: "convertGridTrackSizeList", 969 converter: "convertGridTrackSizeList",
934 runtime_flag: "CSSGridLayout", 970 runtime_flag: "CSSGridLayout",
935 }, 971 },
936 { 972 {
937 name: "grid-auto-flow", 973 name: "grid-auto-flow",
938 api_class: true, 974 api_class: true,
975 api_methods: ["parseSingleValue"],
939 converter: "convertGridAutoFlow", 976 converter: "convertGridAutoFlow",
940 runtime_flag: "CSSGridLayout", 977 runtime_flag: "CSSGridLayout",
941 type_name: "GridAutoFlow", 978 type_name: "GridAutoFlow",
942 }, 979 },
943 { 980 {
944 name: "grid-auto-rows", 981 name: "grid-auto-rows",
945 converter: "convertGridTrackSizeList", 982 converter: "convertGridTrackSizeList",
946 runtime_flag: "CSSGridLayout", 983 runtime_flag: "CSSGridLayout",
947 }, 984 },
948 { 985 {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 runtime_flag: "CSSHyphens", 1042 runtime_flag: "CSSHyphens",
1006 type_name: "Hyphens", 1043 type_name: "Hyphens",
1007 }, 1044 },
1008 { 1045 {
1009 name: "image-rendering", 1046 name: "image-rendering",
1010 inherited: true, 1047 inherited: true,
1011 }, 1048 },
1012 { 1049 {
1013 name: "image-orientation", 1050 name: "image-orientation",
1014 api_class: true, 1051 api_class: true,
1052 api_methods: ["parseSingleValue"],
1015 converter: "convertImageOrientation", 1053 converter: "convertImageOrientation",
1016 inherited: true, 1054 inherited: true,
1017 name_for_methods: "RespectImageOrientation", 1055 name_for_methods: "RespectImageOrientation",
1018 runtime_flag: "ImageOrientation", 1056 runtime_flag: "ImageOrientation",
1019 }, 1057 },
1020 "isolation", 1058 "isolation",
1021 { 1059 {
1022 name: "justify-content", 1060 name: "justify-content",
1023 converter: "convertContentAlignmentData", 1061 converter: "convertContentAlignmentData",
1024 initial: "initialContentAlignment", 1062 initial: "initialContentAlignment",
1025 }, 1063 },
1026 { 1064 {
1027 name: "justify-items", 1065 name: "justify-items",
1066 api_class: true,
1067 api_methods: ["parseSingleValue"],
1028 converter: "convertSelfOrDefaultAlignmentData", 1068 converter: "convertSelfOrDefaultAlignmentData",
1029 initial: "initialSelfAlignment", 1069 initial: "initialSelfAlignment",
1030 runtime_flag: "CSSGridLayout", 1070 runtime_flag: "CSSGridLayout",
1031 api_class: true,
1032 }, 1071 },
1033 { 1072 {
1034 name: "justify-self", 1073 name: "justify-self",
1074 api_class: "CSSPropertyAPIAlignOrJustifySelf",
1075 api_methods: ["parseSingleValue"],
1035 converter: "convertSelfOrDefaultAlignmentData", 1076 converter: "convertSelfOrDefaultAlignmentData",
1036 initial: "initialSelfAlignment", 1077 initial: "initialSelfAlignment",
1037 runtime_flag: "CSSGridLayout", 1078 runtime_flag: "CSSGridLayout",
1038 api_class: "CSSPropertyAPIAlignOrJustifySelf",
1039 }, 1079 },
1040 { 1080 {
1041 name: "left", 1081 name: "left",
1042 converter: "convertLengthOrAuto", 1082 converter: "convertLengthOrAuto",
1043 initial: "initialOffset", 1083 initial: "initialOffset",
1044 interpolable: true, 1084 interpolable: true,
1045 keywords: ["auto"], 1085 keywords: ["auto"],
1046 supports_percentage: true, 1086 supports_percentage: true,
1047 typedom_types: ["Length"], 1087 typedom_types: ["Length"],
1048 }, 1088 },
1049 { 1089 {
1050 name: "letter-spacing", 1090 name: "letter-spacing",
1051 api_class: "CSSPropertyAPILetterAndWordSpacing", 1091 api_class: "CSSPropertyAPILetterAndWordSpacing",
1092 api_methods: ["parseSingleValue"],
1052 converter: "convertSpacing", 1093 converter: "convertSpacing",
1053 inherited: true, 1094 inherited: true,
1054 initial: "initialLetterWordSpacing", 1095 initial: "initialLetterWordSpacing",
1055 interpolable: true, 1096 interpolable: true,
1056 }, 1097 },
1057 { 1098 {
1058 name: "lighting-color", 1099 name: "lighting-color",
1059 api_class: "CSSPropertyAPIColor", 1100 api_class: "CSSPropertyAPIColor",
1101 api_methods: ["parseSingleValue"],
1060 converter: "convertColor", 1102 converter: "convertColor",
1061 interpolable: true, 1103 interpolable: true,
1062 svg: true, 1104 svg: true,
1063 }, 1105 },
1064 { 1106 {
1065 name: "line-height", 1107 name: "line-height",
1066 converter: "convertLineHeight", 1108 converter: "convertLineHeight",
1067 getter: "specifiedLineHeight", 1109 getter: "specifiedLineHeight",
1068 inherited: true, 1110 inherited: true,
1069 interpolable: true, 1111 interpolable: true,
1070 }, 1112 },
1071 { 1113 {
1072 name: "list-style-image", 1114 name: "list-style-image",
1073 api_class: "CSSPropertyAPIImage", 1115 api_class: "CSSPropertyAPIImage",
1116 api_methods: ["parseSingleValue"],
1074 custom_value: true, 1117 custom_value: true,
1075 inherited: true, 1118 inherited: true,
1076 interpolable: true, 1119 interpolable: true,
1077 typedom_types: ["Image"], 1120 typedom_types: ["Image"],
1078 }, 1121 },
1079 { 1122 {
1080 name: "list-style-position", 1123 name: "list-style-position",
1081 independent: true, 1124 independent: true,
1082 inherited: true, 1125 inherited: true,
1083 initial_keyword: "outside", 1126 initial_keyword: "outside",
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 converter: "convertLength", 1257 converter: "convertLength",
1215 interpolable: true, 1258 interpolable: true,
1216 }, 1259 },
1217 { 1260 {
1218 name: "offset-path", 1261 name: "offset-path",
1219 converter: "convertPathOrNone", 1262 converter: "convertPathOrNone",
1220 }, 1263 },
1221 { 1264 {
1222 name: "offset-position", 1265 name: "offset-position",
1223 api_class: true, 1266 api_class: true,
1267 api_methods: ["parseSingleValue"],
1224 converter: "convertPositionOrAuto", 1268 converter: "convertPositionOrAuto",
1225 interpolable: true, 1269 interpolable: true,
1226 runtime_flag: "CSSOffsetPositionAnchor", 1270 runtime_flag: "CSSOffsetPositionAnchor",
1227 }, 1271 },
1228 { 1272 {
1229 name: "offset-rotate", 1273 name: "offset-rotate",
1230 converter: "convertOffsetRotate", 1274 converter: "convertOffsetRotate",
1231 interpolable: true, 1275 interpolable: true,
1232 runtime_flag: "CSSOffsetRotate", 1276 runtime_flag: "CSSOffsetRotate",
1233 }, 1277 },
1234 { 1278 {
1235 name: "offset-rotation", 1279 name: "offset-rotation",
1236 converter: "convertOffsetRotate", 1280 converter: "convertOffsetRotate",
1237 interpolable: true, 1281 interpolable: true,
1238 runtime_flag: "CSSOffsetRotation", 1282 runtime_flag: "CSSOffsetRotation",
1239 }, 1283 },
1240 { 1284 {
1241 name: "opacity", 1285 name: "opacity",
1242 api_class: "CSSPropertyAPIOpacity", 1286 api_class: "CSSPropertyAPIOpacity",
1287 api_methods: ["parseSingleValue"],
1243 interpolable: true, 1288 interpolable: true,
1244 type_name: "float", 1289 type_name: "float",
1245 }, 1290 },
1246 { 1291 {
1247 name: "order", 1292 name: "order",
1248 api_class: true, 1293 api_class: true,
1294 api_methods: ["parseSingleValue"],
1249 type_name: "int", 1295 type_name: "int",
1250 }, 1296 },
1251 { 1297 {
1252 name: "orphans", 1298 name: "orphans",
1253 inherited: true, 1299 inherited: true,
1254 interpolable: true, 1300 interpolable: true,
1255 type_name: "short", 1301 type_name: "short",
1256 }, 1302 },
1257 { 1303 {
1258 name: "outline-color", 1304 name: "outline-color",
1259 api_class: true, 1305 api_class: true,
1306 api_methods: ["parseSingleValue"],
1260 custom_all: true, 1307 custom_all: true,
1261 interpolable: true, 1308 interpolable: true,
1262 }, 1309 },
1263 { 1310 {
1264 name: "outline-offset", 1311 name: "outline-offset",
1265 api_class: true, 1312 api_class: true,
1313 api_methods: ["parseSingleValue"],
1266 converter: "convertComputedLength<int>", 1314 converter: "convertComputedLength<int>",
1267 interpolable: true, 1315 interpolable: true,
1268 }, 1316 },
1269 { 1317 {
1270 name: "outline-style", 1318 name: "outline-style",
1271 custom_all: true, 1319 custom_all: true,
1272 }, 1320 },
1273 { 1321 {
1274 name: "outline-width", 1322 name: "outline-width",
1275 api_class: true, 1323 api_class: true,
1324 api_methods: ["parseSingleValue"],
1276 converter: "convertLineWidth<unsigned short>", 1325 converter: "convertLineWidth<unsigned short>",
1277 interpolable: true, 1326 interpolable: true,
1278 }, 1327 },
1279 { 1328 {
1280 name: "overflow-anchor", 1329 name: "overflow-anchor",
1281 runtime_flag: "ScrollAnchoring", 1330 runtime_flag: "ScrollAnchoring",
1282 inherited: false, 1331 inherited: false,
1283 initial_keyword: "auto", 1332 initial_keyword: "auto",
1284 keyword_only: true, 1333 keyword_only: true,
1285 keywords: [ 1334 keywords: [
1286 "visible", "none", "auto", 1335 "visible", "none", "auto",
1287 ], 1336 ],
1288 }, 1337 },
1289 { 1338 {
1290 name: "overflow-wrap", 1339 name: "overflow-wrap",
1291 inherited: true, 1340 inherited: true,
1292 }, 1341 },
1293 { 1342 {
1294 name: "overflow-x", 1343 name: "overflow-x",
1295 type_name: "EOverflow", 1344 type_name: "EOverflow",
1296 }, 1345 },
1297 { 1346 {
1298 name: "overflow-y", 1347 name: "overflow-y",
1299 type_name: "EOverflow", 1348 type_name: "EOverflow",
1300 }, 1349 },
1301 { 1350 {
1302 name: "padding-bottom", 1351 name: "padding-bottom",
1303 api_class: "CSSPropertyAPIPadding", 1352 api_class: "CSSPropertyAPIPadding",
1353 api_methods: ["parseSingleValue"],
1304 converter: "convertLength", 1354 converter: "convertLength",
1305 initial: "initialPadding", 1355 initial: "initialPadding",
1306 interpolable: true, 1356 interpolable: true,
1307 }, 1357 },
1308 { 1358 {
1309 name: "padding-left", 1359 name: "padding-left",
1310 api_class: "CSSPropertyAPIPadding", 1360 api_class: "CSSPropertyAPIPadding",
1361 api_methods: ["parseSingleValue"],
1311 converter: "convertLength", 1362 converter: "convertLength",
1312 initial: "initialPadding", 1363 initial: "initialPadding",
1313 interpolable: true, 1364 interpolable: true,
1314 }, 1365 },
1315 { 1366 {
1316 name: "padding-right", 1367 name: "padding-right",
1317 api_class: "CSSPropertyAPIPadding", 1368 api_class: "CSSPropertyAPIPadding",
1369 api_methods: ["parseSingleValue"],
1318 converter: "convertLength", 1370 converter: "convertLength",
1319 initial: "initialPadding", 1371 initial: "initialPadding",
1320 interpolable: true, 1372 interpolable: true,
1321 }, 1373 },
1322 { 1374 {
1323 name: "padding-top", 1375 name: "padding-top",
1324 api_class: "CSSPropertyAPIPadding", 1376 api_class: "CSSPropertyAPIPadding",
1377 api_methods: ["parseSingleValue"],
1325 converter: "convertLength", 1378 converter: "convertLength",
1326 initial: "initialPadding", 1379 initial: "initialPadding",
1327 interpolable: true, 1380 interpolable: true,
1328 }, 1381 },
1329 { 1382 {
1330 name: "paint-order", 1383 name: "paint-order",
1331 api_class: true, 1384 api_class: true,
1385 api_methods: ["parseSingleValue"],
1332 converter: "convertPaintOrder", 1386 converter: "convertPaintOrder",
1333 inherited: true, 1387 inherited: true,
1334 svg: true, 1388 svg: true,
1335 }, 1389 },
1336 { 1390 {
1337 name: "perspective", 1391 name: "perspective",
1338 converter: "convertPerspective", 1392 converter: "convertPerspective",
1339 interpolable: true, 1393 interpolable: true,
1340 }, 1394 },
1341 { 1395 {
(...skipping 11 matching lines...) Expand all
1353 "none", "auto", "stroke", "fill", "painted", "visible", "visibleStroke", "visibleFill", "visiblePainted", "bounding-box", "all", 1407 "none", "auto", "stroke", "fill", "painted", "visible", "visibleStroke", "visibleFill", "visiblePainted", "bounding-box", "all",
1354 ], 1408 ],
1355 }, 1409 },
1356 { 1410 {
1357 name: "position", 1411 name: "position",
1358 custom_inherit: true, 1412 custom_inherit: true,
1359 }, 1413 },
1360 { 1414 {
1361 name: "quotes", 1415 name: "quotes",
1362 api_class: true, 1416 api_class: true,
1417 api_methods: ["parseSingleValue"],
1363 converter: "convertQuotes", 1418 converter: "convertQuotes",
1364 inherited: true, 1419 inherited: true,
1365 }, 1420 },
1366 { 1421 {
1367 name: "resize", 1422 name: "resize",
1368 custom_value: true, 1423 custom_value: true,
1369 }, 1424 },
1370 { 1425 {
1371 name: "right", 1426 name: "right",
1372 converter: "convertLengthOrAuto", 1427 converter: "convertLengthOrAuto",
1373 initial: "initialOffset", 1428 initial: "initialOffset",
1374 interpolable: true, 1429 interpolable: true,
1375 keywords: ["auto"], 1430 keywords: ["auto"],
1376 supports_percentage: true, 1431 supports_percentage: true,
1377 typedom_types: ["Length"], 1432 typedom_types: ["Length"],
1378 }, 1433 },
1379 { 1434 {
1380 name: "r", 1435 name: "r",
1381 converter: "convertLength", 1436 converter: "convertLength",
1382 interpolable: true, 1437 interpolable: true,
1383 svg: true, 1438 svg: true,
1384 }, 1439 },
1385 { 1440 {
1386 name: "rx", 1441 name: "rx",
1387 api_class: "CSSPropertyAPIRadius", 1442 api_class: "CSSPropertyAPIRadius",
1443 api_methods: ["parseSingleValue"],
1388 converter: "convertLengthOrAuto", 1444 converter: "convertLengthOrAuto",
1389 interpolable: true, 1445 interpolable: true,
1390 svg: true, 1446 svg: true,
1391 }, 1447 },
1392 { 1448 {
1393 name: "ry", 1449 name: "ry",
1394 api_class: "CSSPropertyAPIRadius", 1450 api_class: "CSSPropertyAPIRadius",
1451 api_methods: ["parseSingleValue"],
1395 converter: "convertLengthOrAuto", 1452 converter: "convertLengthOrAuto",
1396 interpolable: true, 1453 interpolable: true,
1397 svg: true, 1454 svg: true,
1398 }, 1455 },
1399 { 1456 {
1400 name: "scroll-behavior", 1457 name: "scroll-behavior",
1401 runtime_flag: "CSSOMSmoothScroll", 1458 runtime_flag: "CSSOMSmoothScroll",
1402 type_name: "ScrollBehavior", 1459 type_name: "ScrollBehavior",
1403 }, 1460 },
1404 { 1461 {
(...skipping 12 matching lines...) Expand all
1417 runtime_flag: "CSSScrollSnapPoints", 1474 runtime_flag: "CSSScrollSnapPoints",
1418 }, 1475 },
1419 { 1476 {
1420 name: "scroll-snap-destination", 1477 name: "scroll-snap-destination",
1421 converter: "convertPosition", 1478 converter: "convertPosition",
1422 runtime_flag: "CSSScrollSnapPoints", 1479 runtime_flag: "CSSScrollSnapPoints",
1423 }, 1480 },
1424 { 1481 {
1425 name: "scroll-snap-coordinate", 1482 name: "scroll-snap-coordinate",
1426 api_class: true, 1483 api_class: true,
1484 api_methods: ["parseSingleValue"],
1427 converter: "convertSnapCoordinates", 1485 converter: "convertSnapCoordinates",
1428 runtime_flag: "CSSScrollSnapPoints", 1486 runtime_flag: "CSSScrollSnapPoints",
1429 }, 1487 },
1430 { 1488 {
1431 name: "shape-image-threshold", 1489 name: "shape-image-threshold",
1432 api_class: true, 1490 api_class: true,
1491 api_methods: ["parseSingleValue"],
1433 interpolable: true, 1492 interpolable: true,
1434 type_name: "float", 1493 type_name: "float",
1435 }, 1494 },
1436 { 1495 {
1437 name: "shape-margin", 1496 name: "shape-margin",
1438 api_class: true, 1497 api_class: true,
1498 api_methods: ["parseSingleValue"],
1439 converter: "convertLength", 1499 converter: "convertLength",
1440 interpolable: true, 1500 interpolable: true,
1441 }, 1501 },
1442 { 1502 {
1443 name: "shape-outside", 1503 name: "shape-outside",
1444 api_class: true, 1504 api_class: true,
1505 api_methods: ["parseSingleValue"],
1445 converter: "convertShapeValue", 1506 converter: "convertShapeValue",
1446 interpolable: true, 1507 interpolable: true,
1447 typedom_types: ["Image"], 1508 typedom_types: ["Image"],
1448 }, 1509 },
1449 { 1510 {
1450 name: "shape-rendering", 1511 name: "shape-rendering",
1451 inherited: true, 1512 inherited: true,
1452 svg: true, 1513 svg: true,
1453 }, 1514 },
1454 { 1515 {
1455 name: "size", 1516 name: "size",
1456 api_class: true, 1517 api_class: true,
1518 api_methods: ["parseSingleValue"],
1457 custom_all: true, 1519 custom_all: true,
1458 }, 1520 },
1459 { 1521 {
1460 name: "snap-height", 1522 name: "snap-height",
1461 api_class: true, 1523 api_class: true,
1524 api_methods: ["parseSingleValue"],
1462 custom_all: true, 1525 custom_all: true,
1463 inherited: true, 1526 inherited: true,
1464 runtime_flag: "CSSSnapSize", 1527 runtime_flag: "CSSSnapSize",
1465 }, 1528 },
1466 { 1529 {
1467 name: "speak", 1530 name: "speak",
1468 inherited: true, 1531 inherited: true,
1469 }, 1532 },
1470 { 1533 {
1471 name: "stop-color", 1534 name: "stop-color",
1472 api_class: "CSSPropertyAPIColor", 1535 api_class: "CSSPropertyAPIColor",
1536 api_methods: ["parseSingleValue"],
1473 converter: "convertColor", 1537 converter: "convertColor",
1474 interpolable: true, 1538 interpolable: true,
1475 svg: true, 1539 svg: true,
1476 }, 1540 },
1477 { 1541 {
1478 name: "stop-opacity", 1542 name: "stop-opacity",
1479 api_class: "CSSPropertyAPIOpacity", 1543 api_class: "CSSPropertyAPIOpacity",
1544 api_methods: ["parseSingleValue"],
1480 converter: "convertNumberOrPercentage", 1545 converter: "convertNumberOrPercentage",
1481 interpolable: true, 1546 interpolable: true,
1482 svg: true, 1547 svg: true,
1483 }, 1548 },
1484 { 1549 {
1485 name: "stroke", 1550 name: "stroke",
1486 api_class: "CSSPropertyAPIPaintStroke", 1551 api_class: "CSSPropertyAPIPaintStroke",
1552 api_methods: ["parseSingleValue"],
1487 custom_all: true, 1553 custom_all: true,
1488 inherited: true, 1554 inherited: true,
1489 interpolable: true, 1555 interpolable: true,
1490 setter: "setStrokePaint", 1556 setter: "setStrokePaint",
1491 svg: true, 1557 svg: true,
1492 }, 1558 },
1493 { 1559 {
1494 name: "stroke-dasharray", 1560 name: "stroke-dasharray",
1495 api_class: true, 1561 api_class: true,
1562 api_methods: ["parseSingleValue"],
1496 converter: "convertStrokeDasharray", 1563 converter: "convertStrokeDasharray",
1497 inherited: true, 1564 inherited: true,
1498 interpolable: true, 1565 interpolable: true,
1499 name_for_methods: "StrokeDashArray", 1566 name_for_methods: "StrokeDashArray",
1500 svg: true, 1567 svg: true,
1501 }, 1568 },
1502 { 1569 {
1503 name: "stroke-dashoffset", 1570 name: "stroke-dashoffset",
1504 converter: "convertLength", 1571 converter: "convertLength",
1505 inherited: true, 1572 inherited: true,
(...skipping 11 matching lines...) Expand all
1517 { 1584 {
1518 name: "stroke-linejoin", 1585 name: "stroke-linejoin",
1519 inherited: true, 1586 inherited: true,
1520 name_for_methods: "JoinStyle", 1587 name_for_methods: "JoinStyle",
1521 svg: true, 1588 svg: true,
1522 type_name: "LineJoin", 1589 type_name: "LineJoin",
1523 }, 1590 },
1524 { 1591 {
1525 name: "stroke-miterlimit", 1592 name: "stroke-miterlimit",
1526 api_class: true, 1593 api_class: true,
1594 api_methods: ["parseSingleValue"],
1527 inherited: true, 1595 inherited: true,
1528 interpolable: true, 1596 interpolable: true,
1529 name_for_methods: "StrokeMiterLimit", 1597 name_for_methods: "StrokeMiterLimit",
1530 svg: true, 1598 svg: true,
1531 type_name: "float", 1599 type_name: "float",
1532 }, 1600 },
1533 { 1601 {
1534 name: "stroke-opacity", 1602 name: "stroke-opacity",
1535 api_class: "CSSPropertyAPIOpacity", 1603 api_class: "CSSPropertyAPIOpacity",
1604 api_methods: ["parseSingleValue"],
1536 converter: "convertNumberOrPercentage", 1605 converter: "convertNumberOrPercentage",
1537 inherited: true, 1606 inherited: true,
1538 interpolable: true, 1607 interpolable: true,
1539 svg: true, 1608 svg: true,
1540 }, 1609 },
1541 { 1610 {
1542 name: "stroke-width", 1611 name: "stroke-width",
1543 converter: "convertUnzoomedLength", 1612 converter: "convertUnzoomedLength",
1544 inherited: true, 1613 inherited: true,
1545 interpolable: true, 1614 interpolable: true,
1546 svg: true, 1615 svg: true,
1547 }, 1616 },
1548 "table-layout", 1617 "table-layout",
1549 { 1618 {
1550 name: "tab-size", 1619 name: "tab-size",
1551 api_class: true, 1620 api_class: true,
1621 api_methods: ["parseSingleValue"],
1552 converter: "convertLengthOrTabSpaces", 1622 converter: "convertLengthOrTabSpaces",
1553 inherited: true, 1623 inherited: true,
1554 type_name: "TabSize", 1624 type_name: "TabSize",
1555 }, 1625 },
1556 { 1626 {
1557 name: "text-align", 1627 name: "text-align",
1558 custom_value: true, 1628 custom_value: true,
1559 inherited: true, 1629 inherited: true,
1560 initial_keyword: "start", 1630 initial_keyword: "start",
1561 keyword_only: true, 1631 keyword_only: true,
(...skipping 19 matching lines...) Expand all
1581 }, 1651 },
1582 // FIXME: We shouldn't switch between shorthand/not shorthand based on a run time flag 1652 // FIXME: We shouldn't switch between shorthand/not shorthand based on a run time flag
1583 { 1653 {
1584 name: "text-decoration", 1654 name: "text-decoration",
1585 longhands: "text-decoration-line;text-decoration-style;text-decoration-col or", 1655 longhands: "text-decoration-line;text-decoration-style;text-decoration-col or",
1586 use_handlers_for: "CSSPropertyTextDecorationLine", 1656 use_handlers_for: "CSSPropertyTextDecorationLine",
1587 }, 1657 },
1588 { 1658 {
1589 name: "text-decoration-color", 1659 name: "text-decoration-color",
1590 api_class: true, 1660 api_class: true,
1661 api_methods: ["parseSingleValue"],
1591 custom_all: true, 1662 custom_all: true,
1592 interpolable: true, 1663 interpolable: true,
1593 runtime_flag: "CSS3TextDecorations", 1664 runtime_flag: "CSS3TextDecorations",
1594 }, 1665 },
1595 { 1666 {
1596 name: "text-decoration-line", 1667 name: "text-decoration-line",
1597 converter: "convertFlags<TextDecoration>", 1668 converter: "convertFlags<TextDecoration>",
1598 name_for_methods: "TextDecoration", 1669 name_for_methods: "TextDecoration",
1599 runtime_flag: "CSS3TextDecorations", 1670 runtime_flag: "CSS3TextDecorations",
1600 type_name: "TextDecoration", 1671 type_name: "TextDecoration",
1601 }, 1672 },
1602 { 1673 {
1603 name: "text-decoration-skip", 1674 name: "text-decoration-skip",
1604 api_class: true, 1675 api_class: true,
1676 api_methods: ["parseSingleValue"],
1605 converter: "convertFlags<TextDecorationSkip>", 1677 converter: "convertFlags<TextDecorationSkip>",
1606 inherited: true, 1678 inherited: true,
1607 runtime_flag: "CSS3TextDecorations", 1679 runtime_flag: "CSS3TextDecorations",
1608 type_name: "TextDecorationSkip", 1680 type_name: "TextDecorationSkip",
1609 }, 1681 },
1610 { 1682 {
1611 name: "text-decoration-style", 1683 name: "text-decoration-style",
1612 runtime_flag: "CSS3TextDecorations", 1684 runtime_flag: "CSS3TextDecorations",
1613 type_name: "TextDecorationStyle", 1685 type_name: "TextDecorationStyle",
1614 }, 1686 },
1615 { 1687 {
1616 name: "text-indent", 1688 name: "text-indent",
1617 api_class: true, 1689 api_class: true,
1690 api_methods: ["parseSingleValue"],
1618 custom_all: true, 1691 custom_all: true,
1619 inherited: true, 1692 inherited: true,
1620 interpolable: true, 1693 interpolable: true,
1621 }, 1694 },
1622 { 1695 {
1623 name: "text-justify", 1696 name: "text-justify",
1624 inherited: true, 1697 inherited: true,
1625 runtime_flag: "CSS3Text", 1698 runtime_flag: "CSS3Text",
1626 type_name: "TextJustify", 1699 type_name: "TextJustify",
1627 }, 1700 },
1628 { 1701 {
1629 name: "text-overflow", 1702 name: "text-overflow",
1630 type_name: "TextOverflow", 1703 type_name: "TextOverflow",
1631 }, 1704 },
1632 { 1705 {
1633 name: "text-shadow", 1706 name: "text-shadow",
1634 converter: "convertShadowList", 1707 converter: "convertShadowList",
1635 inherited: true, 1708 inherited: true,
1636 interpolable: true, 1709 interpolable: true,
1637 }, 1710 },
1638 { 1711 {
1639 name: "text-size-adjust", 1712 name: "text-size-adjust",
1640 api_class: true, 1713 api_class: true,
1714 api_methods: ["parseSingleValue"],
1641 converter: "convertTextSizeAdjust", 1715 converter: "convertTextSizeAdjust",
1642 inherited: true, 1716 inherited: true,
1643 type_name: "TextSizeAdjust", 1717 type_name: "TextSizeAdjust",
1644 }, 1718 },
1645 { 1719 {
1646 name: "text-transform", 1720 name: "text-transform",
1647 independent: true, 1721 independent: true,
1648 inherited: true, 1722 inherited: true,
1649 initial_keyword: "none", 1723 initial_keyword: "none",
1650 keyword_only: true, 1724 keyword_only: true,
1651 keywords: ["capitalize", "uppercase", "lowercase", "none"], 1725 keywords: ["capitalize", "uppercase", "lowercase", "none"],
1652 }, 1726 },
1653 { 1727 {
1654 name: "text-underline-position", 1728 name: "text-underline-position",
1655 api_class: true, 1729 api_class: true,
1730 api_methods: ["parseSingleValue"],
1656 inherited: true, 1731 inherited: true,
1657 runtime_flag: "CSS3TextDecorations", 1732 runtime_flag: "CSS3TextDecorations",
1658 type_name: "TextUnderlinePosition", 1733 type_name: "TextUnderlinePosition",
1659 }, 1734 },
1660 { 1735 {
1661 name: "top", 1736 name: "top",
1662 converter: "convertLengthOrAuto", 1737 converter: "convertLengthOrAuto",
1663 initial: "initialOffset", 1738 initial: "initialOffset",
1664 interpolable: true, 1739 interpolable: true,
1665 keywords: ["auto"], 1740 keywords: ["auto"],
1666 supports_percentage: true, 1741 supports_percentage: true,
1667 typedom_types: ["Length"], 1742 typedom_types: ["Length"],
1668 }, 1743 },
1669 { 1744 {
1670 name: "touch-action", 1745 name: "touch-action",
1671 api_class: true, 1746 api_class: true,
1747 api_methods: ["parseSingleValue"],
1672 converter: "convertFlags<TouchAction>", 1748 converter: "convertFlags<TouchAction>",
1673 type_name: "TouchAction", 1749 type_name: "TouchAction",
1674 }, 1750 },
1675 { 1751 {
1676 name: "transform", 1752 name: "transform",
1677 converter: "convertTransformOperations", 1753 converter: "convertTransformOperations",
1678 interpolable: true, 1754 interpolable: true,
1679 keywords: ["none"], 1755 keywords: ["none"],
1680 typedom_types: ["Transform"], 1756 typedom_types: ["Transform"],
1681 }, 1757 },
1682 { 1758 {
1683 name: "transform-origin", 1759 name: "transform-origin",
1684 api_class: true, 1760 api_class: true,
1761 api_methods: ["parseSingleValue"],
1685 converter: "convertTransformOrigin", 1762 converter: "convertTransformOrigin",
1686 interpolable: true, 1763 interpolable: true,
1687 }, 1764 },
1688 { 1765 {
1689 name: "transform-style", 1766 name: "transform-style",
1690 name_for_methods: "TransformStyle3D", 1767 name_for_methods: "TransformStyle3D",
1691 }, 1768 },
1692 { 1769 {
1693 name: "translate", 1770 name: "translate",
1694 api_class: true, 1771 api_class: true,
1772 api_methods: ["parseSingleValue"],
1695 converter: "convertTranslate", 1773 converter: "convertTranslate",
1696 interpolable: true, 1774 interpolable: true,
1697 runtime_flag: "CSSIndependentTransformProperties", 1775 runtime_flag: "CSSIndependentTransformProperties",
1698 }, 1776 },
1699 { 1777 {
1700 name: "rotate", 1778 name: "rotate",
1701 api_class: true, 1779 api_class: true,
1780 api_methods: ["parseSingleValue"],
1702 converter: "convertRotate", 1781 converter: "convertRotate",
1703 interpolable: true, 1782 interpolable: true,
1704 runtime_flag: "CSSIndependentTransformProperties", 1783 runtime_flag: "CSSIndependentTransformProperties",
1705 }, 1784 },
1706 { 1785 {
1707 name: "scale", 1786 name: "scale",
1708 api_class: true, 1787 api_class: true,
1788 api_methods: ["parseSingleValue"],
1709 converter: "convertScale", 1789 converter: "convertScale",
1710 interpolable: true, 1790 interpolable: true,
1711 runtime_flag: "CSSIndependentTransformProperties", 1791 runtime_flag: "CSSIndependentTransformProperties",
1712 }, 1792 },
1713 { 1793 {
1714 name: "unicode-bidi", 1794 name: "unicode-bidi",
1715 field_storage_type: "platform/text/UnicodeBidi", 1795 field_storage_type: "platform/text/UnicodeBidi",
1716 initial_keyword: "normal", 1796 initial_keyword: "normal",
1717 keyword_only: true, 1797 keyword_only: true,
1718 keywords: [ 1798 keywords: [
1719 "normal", "embed", "bidi-override", "isolate", "plaintext", "isolate-ove rride", 1799 "normal", "embed", "bidi-override", "isolate", "plaintext", "isolate-ove rride",
1720 ], 1800 ],
1721 type_name: "UnicodeBidi", 1801 type_name: "UnicodeBidi",
1722 }, 1802 },
1723 { 1803 {
1724 name: "vector-effect", 1804 name: "vector-effect",
1725 svg: true, 1805 svg: true,
1726 }, 1806 },
1727 { 1807 {
1728 name: "vertical-align", 1808 name: "vertical-align",
1729 api_class: true, 1809 api_class: true,
1810 api_methods: ["parseSingleValue"],
1730 custom_inherit: true, 1811 custom_inherit: true,
1731 custom_value: true, 1812 custom_value: true,
1732 interpolable: true, 1813 interpolable: true,
1733 }, 1814 },
1734 { 1815 {
1735 name: "visibility", 1816 name: "visibility",
1736 independent: true, 1817 independent: true,
1737 inherited: true, 1818 inherited: true,
1738 initial_keyword: "visible", 1819 initial_keyword: "visible",
1739 interpolable: true, 1820 interpolable: true,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1800 keyword_only: true, 1881 keyword_only: true,
1801 keywords: ["normal", "reverse"], 1882 keywords: ["normal", "reverse"],
1802 }, 1883 },
1803 { 1884 {
1804 name: "-webkit-box-flex", 1885 name: "-webkit-box-flex",
1805 type_name: "float", 1886 type_name: "float",
1806 }, 1887 },
1807 { 1888 {
1808 name: "-webkit-box-flex-group", 1889 name: "-webkit-box-flex-group",
1809 api_class: true, 1890 api_class: true,
1891 api_methods: ["parseSingleValue"],
1810 type_name: "unsigned int", 1892 type_name: "unsigned int",
1811 }, 1893 },
1812 "-webkit-box-lines", 1894 "-webkit-box-lines",
1813 { 1895 {
1814 name: "-webkit-box-ordinal-group", 1896 name: "-webkit-box-ordinal-group",
1815 type_name: "unsigned int", 1897 type_name: "unsigned int",
1816 }, 1898 },
1817 "-webkit-box-orient", 1899 "-webkit-box-orient",
1818 "-webkit-box-pack", 1900 "-webkit-box-pack",
1819 { 1901 {
1820 name: "-webkit-box-reflect", 1902 name: "-webkit-box-reflect",
1821 converter: "convertBoxReflect", 1903 converter: "convertBoxReflect",
1822 }, 1904 },
1823 { 1905 {
1824 name: "column-count", 1906 name: "column-count",
1825 custom_all: true, 1907 custom_all: true,
1826 interpolable: true, 1908 interpolable: true,
1827 type_name: "unsigned short", 1909 type_name: "unsigned short",
1828 }, 1910 },
1829 { 1911 {
1830 name: "column-gap", 1912 name: "column-gap",
1831 api_class: true, 1913 api_class: true,
1914 api_methods: ["parseSingleValue"],
1832 converter: "convertComputedLength<float>", 1915 converter: "convertComputedLength<float>",
1833 custom_all: true, 1916 custom_all: true,
1834 interpolable: true, 1917 interpolable: true,
1835 }, 1918 },
1836 { 1919 {
1837 name: "column-rule-color", 1920 name: "column-rule-color",
1838 api_class: "CSSPropertyAPIColor", 1921 api_class: "CSSPropertyAPIColor",
1922 api_methods: ["parseSingleValue"],
1839 custom_all: true, 1923 custom_all: true,
1840 interpolable: true, 1924 interpolable: true,
1841 }, 1925 },
1842 { 1926 {
1843 name: "column-rule-style", 1927 name: "column-rule-style",
1844 initial: "initialBorderStyle", 1928 initial: "initialBorderStyle",
1845 type_name: "EBorderStyle", 1929 type_name: "EBorderStyle",
1846 }, 1930 },
1847 { 1931 {
1848 name: "column-rule-width", 1932 name: "column-rule-width",
1849 api_class: true, 1933 api_class: true,
1934 api_methods: ["parseSingleValue"],
1850 converter: "convertLineWidth<unsigned short>", 1935 converter: "convertLineWidth<unsigned short>",
1851 interpolable: true, 1936 interpolable: true,
1852 }, 1937 },
1853 { 1938 {
1854 name: "column-span", 1939 name: "column-span",
1855 api_class: true, 1940 api_class: true,
1941 api_methods: ["parseSingleValue"],
1856 type_name: "ColumnSpan", 1942 type_name: "ColumnSpan",
1857 }, 1943 },
1858 { 1944 {
1859 name: "column-width", 1945 name: "column-width",
1860 converter: "convertComputedLength<float>", 1946 converter: "convertComputedLength<float>",
1861 custom_all: true, 1947 custom_all: true,
1862 interpolable: true, 1948 interpolable: true,
1863 }, 1949 },
1864 { 1950 {
1865 name: "-webkit-highlight", 1951 name: "-webkit-highlight",
1866 api_class: true, 1952 api_class: true,
1953 api_methods: ["parseSingleValue"],
1867 converter: "convertString<CSSValueNone>", 1954 converter: "convertString<CSSValueNone>",
1868 inherited: true, 1955 inherited: true,
1869 }, 1956 },
1870 { 1957 {
1871 name: "-webkit-hyphenate-character", 1958 name: "-webkit-hyphenate-character",
1872 converter: "convertString<CSSValueAuto>", 1959 converter: "convertString<CSSValueAuto>",
1873 inherited: true, 1960 inherited: true,
1874 name_for_methods: "HyphenationString", 1961 name_for_methods: "HyphenationString",
1875 }, 1962 },
1876 { 1963 {
1877 name: "-webkit-line-break", 1964 name: "-webkit-line-break",
1878 inherited: true, 1965 inherited: true,
1879 type_name: "LineBreak", 1966 type_name: "LineBreak",
1880 }, 1967 },
1881 { 1968 {
1882 name: "-webkit-line-clamp", 1969 name: "-webkit-line-clamp",
1883 api_class: true, 1970 api_class: true,
1971 api_methods: ["parseSingleValue"],
1884 type_name: "LineClampValue", 1972 type_name: "LineClampValue",
1885 }, 1973 },
1886 { 1974 {
1887 name: "-webkit-margin-after-collapse", 1975 name: "-webkit-margin-after-collapse",
1888 type_name: "EMarginCollapse", 1976 type_name: "EMarginCollapse",
1889 }, 1977 },
1890 { 1978 {
1891 name: "-webkit-margin-before-collapse", 1979 name: "-webkit-margin-before-collapse",
1892 type_name: "EMarginCollapse", 1980 type_name: "EMarginCollapse",
1893 }, 1981 },
(...skipping 17 matching lines...) Expand all
1911 custom_all: true, 1999 custom_all: true,
1912 }, 2000 },
1913 { 2001 {
1914 name: "-webkit-mask-box-image-slice", 2002 name: "-webkit-mask-box-image-slice",
1915 custom_all: true, 2003 custom_all: true,
1916 interpolable: true, 2004 interpolable: true,
1917 }, 2005 },
1918 { 2006 {
1919 name: "-webkit-mask-box-image-source", 2007 name: "-webkit-mask-box-image-source",
1920 api_class: "CSSPropertyAPIImage", 2008 api_class: "CSSPropertyAPIImage",
2009 api_methods: ["parseSingleValue"],
1921 custom_value: true, 2010 custom_value: true,
1922 interpolable: true, 2011 interpolable: true,
1923 }, 2012 },
1924 { 2013 {
1925 name: "-webkit-mask-box-image-width", 2014 name: "-webkit-mask-box-image-width",
1926 custom_all: true, 2015 custom_all: true,
1927 interpolable: true, 2016 interpolable: true,
1928 }, 2017 },
1929 { 2018 {
1930 name: "-webkit-mask-clip", 2019 name: "-webkit-mask-clip",
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
1996 type_name: "EOrder", 2085 type_name: "EOrder",
1997 }, 2086 },
1998 { 2087 {
1999 name: "-webkit-ruby-position", 2088 name: "-webkit-ruby-position",
2000 inherited: true, 2089 inherited: true,
2001 type_name: "RubyPosition", 2090 type_name: "RubyPosition",
2002 }, 2091 },
2003 { 2092 {
2004 name: "-webkit-tap-highlight-color", 2093 name: "-webkit-tap-highlight-color",
2005 api_class: "CSSPropertyAPIColor", 2094 api_class: "CSSPropertyAPIColor",
2095 api_methods: ["parseSingleValue"],
2006 converter: "convertColor", 2096 converter: "convertColor",
2007 inherited: true, 2097 inherited: true,
2008 }, 2098 },
2009 { 2099 {
2010 name: "-webkit-text-combine", 2100 name: "-webkit-text-combine",
2011 inherited: true, 2101 inherited: true,
2012 name_for_methods: "TextCombine", 2102 name_for_methods: "TextCombine",
2013 type_name: "TextCombine", 2103 type_name: "TextCombine",
2014 }, 2104 },
2015 { 2105 {
2016 name: "-webkit-text-emphasis-color", 2106 name: "-webkit-text-emphasis-color",
2017 api_class: "CSSPropertyAPIColor", 2107 api_class: "CSSPropertyAPIColor",
2108 api_methods: ["parseSingleValue"],
2018 custom_all: true, 2109 custom_all: true,
2019 inherited: true, 2110 inherited: true,
2020 }, 2111 },
2021 { 2112 {
2022 name: "-webkit-text-emphasis-position", 2113 name: "-webkit-text-emphasis-position",
2023 inherited: true, 2114 inherited: true,
2024 type_name: "TextEmphasisPosition", 2115 type_name: "TextEmphasisPosition",
2025 }, 2116 },
2026 { 2117 {
2027 name: "-webkit-text-emphasis-style", 2118 name: "-webkit-text-emphasis-style",
2028 api_class: true, 2119 api_class: true,
2120 api_methods: ["parseSingleValue"],
2029 custom_all: true, 2121 custom_all: true,
2030 inherited: true, 2122 inherited: true,
2031 }, 2123 },
2032 { 2124 {
2033 name: "-webkit-text-fill-color", 2125 name: "-webkit-text-fill-color",
2034 api_class: "CSSPropertyAPIColor", 2126 api_class: "CSSPropertyAPIColor",
2127 api_methods: ["parseSingleValue"],
2035 custom_all: true, 2128 custom_all: true,
2036 inherited: true, 2129 inherited: true,
2037 }, 2130 },
2038 { 2131 {
2039 name: "-webkit-text-security", 2132 name: "-webkit-text-security",
2040 inherited: true, 2133 inherited: true,
2041 }, 2134 },
2042 { 2135 {
2043 name: "-webkit-text-stroke-color", 2136 name: "-webkit-text-stroke-color",
2044 api_class: "CSSPropertyAPIColor", 2137 api_class: "CSSPropertyAPIColor",
2138 api_methods: ["parseSingleValue"],
2045 custom_all: true, 2139 custom_all: true,
2046 inherited: true, 2140 inherited: true,
2047 interpolable: true, 2141 interpolable: true,
2048 }, 2142 },
2049 { 2143 {
2050 name: "-webkit-text-stroke-width", 2144 name: "-webkit-text-stroke-width",
2051 api_class: true, 2145 api_class: true,
2146 api_methods: ["parseSingleValue"],
2052 converter: "convertTextStrokeWidth", 2147 converter: "convertTextStrokeWidth",
2053 inherited: true, 2148 inherited: true,
2054 }, 2149 },
2055 { 2150 {
2056 name: "-webkit-transform-origin-x", 2151 name: "-webkit-transform-origin-x",
2057 converter: "convertLength", 2152 converter: "convertLength",
2058 interpolable: true, 2153 interpolable: true,
2059 }, 2154 },
2060 { 2155 {
2061 name: "-webkit-transform-origin-y", 2156 name: "-webkit-transform-origin-y",
2062 converter: "convertLength", 2157 converter: "convertLength",
2063 interpolable: true, 2158 interpolable: true,
2064 }, 2159 },
2065 { 2160 {
2066 name: "-webkit-transform-origin-z", 2161 name: "-webkit-transform-origin-z",
2067 api_class: true, 2162 api_class: true,
2163 api_methods: ["parseSingleValue"],
2068 converter: "convertComputedLength<float>", 2164 converter: "convertComputedLength<float>",
2069 interpolable: true, 2165 interpolable: true,
2070 }, 2166 },
2071 "-webkit-user-drag", 2167 "-webkit-user-drag",
2072 { 2168 {
2073 name: "-webkit-user-modify", 2169 name: "-webkit-user-modify",
2074 inherited: true, 2170 inherited: true,
2075 }, 2171 },
2076 { 2172 {
2077 name: "user-select", 2173 name: "user-select",
(...skipping 18 matching lines...) Expand all
2096 converter: "convertLengthSizing", 2192 converter: "convertLengthSizing",
2097 initial: "initialSize", 2193 initial: "initialSize",
2098 interpolable: true, 2194 interpolable: true,
2099 keywords: ["auto"], 2195 keywords: ["auto"],
2100 supports_percentage: true, 2196 supports_percentage: true,
2101 typedom_types: ["Length"], 2197 typedom_types: ["Length"],
2102 }, 2198 },
2103 { 2199 {
2104 name: "will-change", 2200 name: "will-change",
2105 api_class: true, 2201 api_class: true,
2202 api_methods: ["parseSingleValue"],
2106 custom_all: true, 2203 custom_all: true,
2107 }, 2204 },
2108 { 2205 {
2109 name: "word-break", 2206 name: "word-break",
2110 inherited: true, 2207 inherited: true,
2111 }, 2208 },
2112 { 2209 {
2113 name: "word-spacing", 2210 name: "word-spacing",
2114 api_class: "CSSPropertyAPILetterAndWordSpacing", 2211 api_class: "CSSPropertyAPILetterAndWordSpacing",
2212 api_methods: ["parseSingleValue"],
2115 converter: "convertSpacing", 2213 converter: "convertSpacing",
2116 inherited: true, 2214 inherited: true,
2117 initial: "initialLetterWordSpacing", 2215 initial: "initialLetterWordSpacing",
2118 interpolable: true, 2216 interpolable: true,
2119 }, 2217 },
2120 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' p roperty. So using the same handlers. 2218 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' p roperty. So using the same handlers.
2121 { 2219 {
2122 name: "word-wrap", 2220 name: "word-wrap",
2123 inherited: true, 2221 inherited: true,
2124 name_for_methods: "OverflowWrap", 2222 name_for_methods: "OverflowWrap",
2125 }, 2223 },
2126 { 2224 {
2127 name: "z-index", 2225 name: "z-index",
2128 api_class: true, 2226 api_class: true,
2227 api_methods: ["parseSingleValue"],
2129 custom_all: true, 2228 custom_all: true,
2130 interpolable: true, 2229 interpolable: true,
2131 type_name: "int", 2230 type_name: "int",
2132 }, 2231 },
2133 2232
2134 // CSS logical props 2233 // CSS logical props
2135 { 2234 {
2136 name: "inline-size", 2235 name: "inline-size",
2137 direction_aware: true, 2236 direction_aware: true,
2138 }, 2237 },
2139 { 2238 {
2140 name: "block-size", 2239 name: "block-size",
2141 direction_aware: true, 2240 direction_aware: true,
2142 }, 2241 },
2143 { 2242 {
2144 name: "min-inline-size", 2243 name: "min-inline-size",
2145 direction_aware: true, 2244 direction_aware: true,
2146 }, 2245 },
2147 { 2246 {
2148 name: "min-block-size", 2247 name: "min-block-size",
2149 direction_aware: true, 2248 direction_aware: true,
2150 }, 2249 },
2151 { 2250 {
2152 name: "max-inline-size", 2251 name: "max-inline-size",
2153 api_class: "CSSPropertyAPIWebkitMaxLogicalWidthOrHeight", 2252 api_class: "CSSPropertyAPIWebkitMaxLogicalWidthOrHeight",
2253 api_methods: ["parseSingleValue"],
2154 direction_aware: true, 2254 direction_aware: true,
2155 }, 2255 },
2156 { 2256 {
2157 name: "max-block-size", 2257 name: "max-block-size",
2158 api_class: "CSSPropertyAPIWebkitMaxLogicalWidthOrHeight", 2258 api_class: "CSSPropertyAPIWebkitMaxLogicalWidthOrHeight",
2259 api_methods: ["parseSingleValue"],
2159 direction_aware: true, 2260 direction_aware: true,
2160 }, 2261 },
2161 2262
2162 // Non-standard direction aware properties 2263 // Non-standard direction aware properties
2163 2264
2164 { 2265 {
2165 name: "-webkit-border-end-color", 2266 name: "-webkit-border-end-color",
2166 api_class: "CSSPropertyAPIColor", 2267 api_class: "CSSPropertyAPIColor",
2268 api_methods: ["parseSingleValue"],
2167 direction_aware: true, 2269 direction_aware: true,
2168 }, 2270 },
2169 { 2271 {
2170 name: "-webkit-border-end-style", 2272 name: "-webkit-border-end-style",
2171 direction_aware: true, 2273 direction_aware: true,
2172 }, 2274 },
2173 { 2275 {
2174 name: "-webkit-border-end-width", 2276 name: "-webkit-border-end-width",
2175 direction_aware: true, 2277 direction_aware: true,
2176 }, 2278 },
2177 { 2279 {
2178 name: "-webkit-border-start-color", 2280 name: "-webkit-border-start-color",
2179 api_class: "CSSPropertyAPIColor", 2281 api_class: "CSSPropertyAPIColor",
2282 api_methods: ["parseSingleValue"],
2180 direction_aware: true, 2283 direction_aware: true,
2181 }, 2284 },
2182 { 2285 {
2183 name: "-webkit-border-start-style", 2286 name: "-webkit-border-start-style",
2184 direction_aware: true, 2287 direction_aware: true,
2185 }, 2288 },
2186 { 2289 {
2187 name: "-webkit-border-start-width", 2290 name: "-webkit-border-start-width",
2188 direction_aware: true, 2291 direction_aware: true,
2189 }, 2292 },
2190 { 2293 {
2191 name: "-webkit-border-before-color", 2294 name: "-webkit-border-before-color",
2192 api_class: "CSSPropertyAPIColor", 2295 api_class: "CSSPropertyAPIColor",
2296 api_methods: ["parseSingleValue"],
2193 direction_aware: true, 2297 direction_aware: true,
2194 }, 2298 },
2195 { 2299 {
2196 name: "-webkit-border-before-style", 2300 name: "-webkit-border-before-style",
2197 direction_aware: true, 2301 direction_aware: true,
2198 }, 2302 },
2199 { 2303 {
2200 name: "-webkit-border-before-width", 2304 name: "-webkit-border-before-width",
2201 direction_aware: true, 2305 direction_aware: true,
2202 }, 2306 },
2203 { 2307 {
2204 name: "-webkit-border-after-color", 2308 name: "-webkit-border-after-color",
2205 api_class: "CSSPropertyAPIColor", 2309 api_class: "CSSPropertyAPIColor",
2310 api_methods: ["parseSingleValue"],
2206 direction_aware: true, 2311 direction_aware: true,
2207 }, 2312 },
2208 { 2313 {
2209 name: "-webkit-border-after-style", 2314 name: "-webkit-border-after-style",
2210 direction_aware: true, 2315 direction_aware: true,
2211 }, 2316 },
2212 { 2317 {
2213 name: "-webkit-border-after-width", 2318 name: "-webkit-border-after-width",
2214 direction_aware: true, 2319 direction_aware: true,
2215 }, 2320 },
2216 { 2321 {
2217 name: "-webkit-margin-end", 2322 name: "-webkit-margin-end",
2218 direction_aware: true, 2323 direction_aware: true,
2219 }, 2324 },
2220 { 2325 {
2221 name: "-webkit-margin-start", 2326 name: "-webkit-margin-start",
2222 direction_aware: true, 2327 direction_aware: true,
2223 }, 2328 },
2224 { 2329 {
2225 name: "-webkit-margin-before", 2330 name: "-webkit-margin-before",
2226 direction_aware: true, 2331 direction_aware: true,
2227 }, 2332 },
2228 { 2333 {
2229 name: "-webkit-margin-after", 2334 name: "-webkit-margin-after",
2230 direction_aware: true, 2335 direction_aware: true,
2231 }, 2336 },
2232 { 2337 {
2233 name: "-webkit-padding-end", 2338 name: "-webkit-padding-end",
2234 api_class: "CSSPropertyAPIWebkitPadding", 2339 api_class: "CSSPropertyAPIWebkitPadding",
2340 api_methods: ["parseSingleValue"],
2235 direction_aware: true, 2341 direction_aware: true,
2236 }, 2342 },
2237 { 2343 {
2238 name: "-webkit-padding-start", 2344 name: "-webkit-padding-start",
2239 api_class: "CSSPropertyAPIWebkitPadding", 2345 api_class: "CSSPropertyAPIWebkitPadding",
2346 api_methods: ["parseSingleValue"],
2240 direction_aware: true, 2347 direction_aware: true,
2241 }, 2348 },
2242 { 2349 {
2243 name: "-webkit-padding-before", 2350 name: "-webkit-padding-before",
2244 api_class: "CSSPropertyAPIWebkitPadding", 2351 api_class: "CSSPropertyAPIWebkitPadding",
2352 api_methods: ["parseSingleValue"],
2245 direction_aware: true, 2353 direction_aware: true,
2246 }, 2354 },
2247 { 2355 {
2248 name: "-webkit-padding-after", 2356 name: "-webkit-padding-after",
2249 api_class: "CSSPropertyAPIWebkitPadding", 2357 api_class: "CSSPropertyAPIWebkitPadding",
2358 api_methods: ["parseSingleValue"],
2250 direction_aware: true, 2359 direction_aware: true,
2251 }, 2360 },
2252 { 2361 {
2253 name: "-webkit-logical-width", 2362 name: "-webkit-logical-width",
2254 direction_aware: true, 2363 direction_aware: true,
2255 }, 2364 },
2256 { 2365 {
2257 name: "-webkit-logical-height", 2366 name: "-webkit-logical-height",
2258 direction_aware: true, 2367 direction_aware: true,
2259 }, 2368 },
2260 { 2369 {
2261 name: "-webkit-min-logical-width", 2370 name: "-webkit-min-logical-width",
2262 direction_aware: true, 2371 direction_aware: true,
2263 }, 2372 },
2264 { 2373 {
2265 name: "-webkit-min-logical-height", 2374 name: "-webkit-min-logical-height",
2266 direction_aware: true, 2375 direction_aware: true,
2267 }, 2376 },
2268 { 2377 {
2269 name: "-webkit-max-logical-width", 2378 name: "-webkit-max-logical-width",
2270 api_class: "CSSPropertyAPIWebkitMaxLogicalWidthOrHeight", 2379 api_class: "CSSPropertyAPIWebkitMaxLogicalWidthOrHeight",
2380 api_methods: ["parseSingleValue"],
2271 direction_aware: true, 2381 direction_aware: true,
2272 }, 2382 },
2273 { 2383 {
2274 name: "-webkit-max-logical-height", 2384 name: "-webkit-max-logical-height",
2275 api_class: "CSSPropertyAPIWebkitMaxLogicalWidthOrHeight", 2385 api_class: "CSSPropertyAPIWebkitMaxLogicalWidthOrHeight",
2386 api_methods: ["parseSingleValue"],
2276 direction_aware: true, 2387 direction_aware: true,
2277 }, 2388 },
2278 2389
2279 // Properties that we ignore in the StyleBuilder. 2390 // Properties that we ignore in the StyleBuilder.
2280 // TODO(timloh): This seems wrong, most of these shouldn't reach the StyleBu ilder 2391 // TODO(timloh): This seems wrong, most of these shouldn't reach the StyleBu ilder
2281 2392
2282 { 2393 {
2283 name: "all", 2394 name: "all",
2284 builder_skip: true, 2395 builder_skip: true,
2285 }, 2396 },
2286 { 2397 {
2287 name: "page", 2398 name: "page",
2288 api_class: true, 2399 api_class: true,
2400 api_methods: ["parseSingleValue"],
2289 builder_skip: true, 2401 builder_skip: true,
2290 }, 2402 },
2291 { 2403 {
2292 name: "-webkit-font-size-delta", 2404 name: "-webkit-font-size-delta",
2293 api_class: true, 2405 api_class: true,
2406 api_methods: ["parseSingleValue"],
2294 builder_skip: true, 2407 builder_skip: true,
2295 }, 2408 },
2296 { 2409 {
2297 name: "-webkit-text-decorations-in-effect", 2410 name: "-webkit-text-decorations-in-effect",
2298 builder_skip: true, 2411 builder_skip: true,
2299 inherited: true, 2412 inherited: true,
2300 }, 2413 },
2301 2414
2302 // Descriptors 2415 // Descriptors
2303 2416
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
2819 { 2932 {
2820 name: "-webkit-transition-timing-function", 2933 name: "-webkit-transition-timing-function",
2821 alias_for: "transition-timing-function", 2934 alias_for: "transition-timing-function",
2822 }, 2935 },
2823 { 2936 {
2824 name: "-webkit-user-select", 2937 name: "-webkit-user-select",
2825 alias_for: "user-select", 2938 alias_for: "user-select",
2826 }, 2939 },
2827 ], 2940 ],
2828 } 2941 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698