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