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