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