| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 // every property, since this value can be inferred from that. | 61 // every property, since this value can be inferred from that. |
| 62 field_template: { | 62 field_template: { |
| 63 valid_values: [ | 63 valid_values: [ |
| 64 // Field is stored as an enum and has a initial/getter/setter/resetter. | 64 // Field is stored as an enum and has a initial/getter/setter/resetter. |
| 65 "keyword", | 65 "keyword", |
| 66 // Field is stored a packed boolean flag and has a initial/getter/setter
/resetter. | 66 // Field is stored a packed boolean flag and has a initial/getter/setter
/resetter. |
| 67 // TODO(shend): generalise this to "primitive" | 67 // TODO(shend): generalise this to "primitive" |
| 68 "flag", | 68 "flag", |
| 69 // Field is stored as a bool, whose default value is false | 69 // Field is stored as a bool, whose default value is false |
| 70 // and can only be set to true. Has a initial/getter/setter. | 70 // and can only be set to true. Has a initial/getter/setter. |
| 71 "monotonic_flag" | 71 "monotonic_flag", |
| 72 // Field has type specified at field_type_path and has a getter/setter. |
| 73 // Also has a setter taking an rvalue reference. Cannot be packed. |
| 74 "external", |
| 72 ], | 75 ], |
| 73 }, | 76 }, |
| 74 | 77 |
| 75 // - field_type_path: "path/to/Type" | 78 // - field_type_path: "path/to/Type" |
| 76 // For properties that have generated field storage in ComputedStyle, | 79 // For properties that have generated field storage in ComputedStyle, |
| 77 // this optional argument will override the field's generated type with | 80 // this optional argument will override the field's generated type with |
| 78 // an external one specified at the given path. The type must be defined | 81 // an external one specified at the given path. The type must be defined |
| 79 // in a header file at that path, and have the same name as the file. | 82 // in a header file at that path, and have the same name as the file. |
| 80 // Currently, only enum types are supported, and the enum's only values | 83 // Currently, only enum types are supported, and the enum's only values |
| 81 // must be CamelCase values of the keywords of the property. | 84 // must be CamelCase values of the keywords of the property. |
| 82 field_type_path: { | 85 field_type_path: { |
| 83 }, | 86 }, |
| 84 | 87 |
| 85 // - keywords: ["keyword1", "keyword2"] | 88 // - keywords: ["keyword1", "keyword2"] |
| 86 // This specifies all valid keyword values for the property. | 89 // This specifies all valid keyword values for the property. |
| 87 // TODO(sashab): Once all properties are represented here, delete | 90 // TODO(sashab): Once all properties are represented here, delete |
| 88 // CSSValueKeywords.in and use this list instead. | 91 // CSSValueKeywords.in and use this list instead. |
| 89 keywords: { | 92 keywords: { |
| 90 default: [], | 93 default: [], |
| 91 }, | 94 }, |
| 92 | 95 |
| 93 // - initial_keyword: "keyword-value" | 96 // - default_value: "keyword-value" |
| 94 // This specifies the initial keyword value for the keyword fields. | 97 // This specifies the default value for this field. |
| 95 initial_keyword: { | 98 // - for keyword fields, this is the initial keyword |
| 99 // - for other fields, this is a string containg the C++ expression |
| 100 // that is used to initialise the field. |
| 101 default_value: { |
| 96 }, | 102 }, |
| 97 | 103 |
| 98 // Flags which go into CSSOMTypes: | 104 // Flags which go into CSSOMTypes: |
| 99 // - typedom_types: ["Type", "OtherType"] | 105 // - typedom_types: ["Type", "OtherType"] |
| 100 // The property can take types specified in typedom_types for CSS Typed OM. | 106 // The property can take types specified in typedom_types for CSS Typed OM. |
| 101 // Keyword does not need to be specified as every property can take keywords
. | 107 // Keyword does not need to be specified as every property can take keywords
. |
| 102 // - repeated | 108 // - repeated |
| 103 // The property supports a list of values. | 109 // The property supports a list of values. |
| 104 // - supports_percentage | 110 // - supports_percentage |
| 105 // The property supports percentage types. | 111 // The property supports percentage types. |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 custom_all: true, | 331 custom_all: true, |
| 326 inherited: true, | 332 inherited: true, |
| 327 interpolable: true, | 333 interpolable: true, |
| 328 priority: "High", | 334 priority: "High", |
| 329 }, | 335 }, |
| 330 { | 336 { |
| 331 name: "direction", | 337 name: "direction", |
| 332 custom_value: true, | 338 custom_value: true, |
| 333 field_type_path: "platform/text/TextDirection", | 339 field_type_path: "platform/text/TextDirection", |
| 334 inherited: true, | 340 inherited: true, |
| 335 initial_keyword: "ltr", | 341 default_value: "ltr", |
| 336 field_template: "keyword", | 342 field_template: "keyword", |
| 337 keywords: ["ltr", "rtl"], | 343 keywords: ["ltr", "rtl"], |
| 338 priority: "High", | 344 priority: "High", |
| 339 }, | 345 }, |
| 340 { | 346 { |
| 341 name: "font-family", | 347 name: "font-family", |
| 342 converter: "convertFontFamily", | 348 converter: "convertFontFamily", |
| 343 font: true, | 349 font: true, |
| 344 inherited: true, | 350 inherited: true, |
| 345 name_for_methods: "FamilyDescription", | 351 name_for_methods: "FamilyDescription", |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 custom_value: true, | 484 custom_value: true, |
| 479 inherited: true, | 485 inherited: true, |
| 480 priority: "High", | 486 priority: "High", |
| 481 type_name: "TextOrientation", | 487 type_name: "TextOrientation", |
| 482 }, | 488 }, |
| 483 { | 489 { |
| 484 name: "writing-mode", | 490 name: "writing-mode", |
| 485 custom_value: true, | 491 custom_value: true, |
| 486 field_type_path: "platform/text/WritingMode", | 492 field_type_path: "platform/text/WritingMode", |
| 487 inherited: true, | 493 inherited: true, |
| 488 initial_keyword: "horizontal-tb", | 494 default_value: "horizontal-tb", |
| 489 field_template: "keyword", | 495 field_template: "keyword", |
| 490 keywords: ["horizontal-tb", "vertical-rl", "vertical-lr"], | 496 keywords: ["horizontal-tb", "vertical-rl", "vertical-lr"], |
| 491 priority: "High", | 497 priority: "High", |
| 492 type_name: "WritingMode", | 498 type_name: "WritingMode", |
| 493 }, | 499 }, |
| 494 { | 500 { |
| 495 name: "-webkit-writing-mode", | 501 name: "-webkit-writing-mode", |
| 496 custom_value: true, | 502 custom_value: true, |
| 497 inherited: true, | 503 inherited: true, |
| 498 priority: "High", | 504 priority: "High", |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 name: "border-bottom-width", | 641 name: "border-bottom-width", |
| 636 api_class: "CSSPropertyAPIBorderWidth", | 642 api_class: "CSSPropertyAPIBorderWidth", |
| 637 converter: "convertLineWidth<float>", | 643 converter: "convertLineWidth<float>", |
| 638 initial: "initialBorderWidth", | 644 initial: "initialBorderWidth", |
| 639 interpolable: true, | 645 interpolable: true, |
| 640 }, | 646 }, |
| 641 { | 647 { |
| 642 name: "border-collapse", | 648 name: "border-collapse", |
| 643 independent: true, | 649 independent: true, |
| 644 inherited: true, | 650 inherited: true, |
| 645 initial_keyword: "separate", | 651 default_value: "separate", |
| 646 field_template: "keyword", | 652 field_template: "keyword", |
| 647 keywords: ["separate", "collapse"], | 653 keywords: ["separate", "collapse"], |
| 648 }, | 654 }, |
| 649 { | 655 { |
| 650 name: "border-image-outset", | 656 name: "border-image-outset", |
| 651 api_class: "CSSPropertyAPIBorderImageOutset", | 657 api_class: "CSSPropertyAPIBorderImageOutset", |
| 652 custom_all: true, | 658 custom_all: true, |
| 653 interpolable: true, | 659 interpolable: true, |
| 654 }, | 660 }, |
| 655 { | 661 { |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 762 { | 768 { |
| 763 name: "box-shadow", | 769 name: "box-shadow", |
| 764 converter: "convertShadowList", | 770 converter: "convertShadowList", |
| 765 interpolable: true, | 771 interpolable: true, |
| 766 }, | 772 }, |
| 767 "box-sizing", | 773 "box-sizing", |
| 768 { | 774 { |
| 769 name: "break-after", | 775 name: "break-after", |
| 770 // Storage for this property also covers these legacy properties: | 776 // Storage for this property also covers these legacy properties: |
| 771 // page-break-after, -webkit-column-break-after | 777 // page-break-after, -webkit-column-break-after |
| 772 initial_keyword: "auto", | 778 default_value: "auto", |
| 773 field_template: "keyword", | 779 field_template: "keyword", |
| 774 keywords: [ | 780 keywords: [ |
| 775 "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page",
"recto", "right", "verso" | 781 "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page",
"recto", "right", "verso" |
| 776 ], | 782 ], |
| 777 type_name: "EBreakBetween", | 783 type_name: "EBreakBetween", |
| 778 }, | 784 }, |
| 779 { | 785 { |
| 780 name: "break-before", | 786 name: "break-before", |
| 781 // Storage for this property also covers these legacy properties: | 787 // Storage for this property also covers these legacy properties: |
| 782 // page-break-before, -webkit-column-break-before | 788 // page-break-before, -webkit-column-break-before |
| 783 initial_keyword: "auto", | 789 default_value: "auto", |
| 784 field_template: "keyword", | 790 field_template: "keyword", |
| 785 keywords: [ | 791 keywords: [ |
| 786 "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page",
"recto", "right", "verso" | 792 "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page",
"recto", "right", "verso" |
| 787 ], | 793 ], |
| 788 type_name: "EBreakBetween", | 794 type_name: "EBreakBetween", |
| 789 }, | 795 }, |
| 790 { | 796 { |
| 791 name: "break-inside", | 797 name: "break-inside", |
| 792 // Storage for this property also covers these legacy properties: | 798 // Storage for this property also covers these legacy properties: |
| 793 // page-break-inside, -webkit-column-break-inside | 799 // page-break-inside, -webkit-column-break-inside |
| 794 initial_keyword: "auto", | 800 default_value: "auto", |
| 795 field_template: "keyword", | 801 field_template: "keyword", |
| 796 keywords: ["auto", "avoid", "avoid-column", "avoid-page"], | 802 keywords: ["auto", "avoid", "avoid-column", "avoid-page"], |
| 797 }, | 803 }, |
| 798 { | 804 { |
| 799 name: "buffered-rendering", | 805 name: "buffered-rendering", |
| 800 svg: true, | 806 svg: true, |
| 801 }, | 807 }, |
| 802 { | 808 { |
| 803 name: "caption-side", | 809 name: "caption-side", |
| 804 independent: true, | 810 independent: true, |
| 805 inherited: true, | 811 inherited: true, |
| 806 initial_keyword: "top", | 812 default_value: "top", |
| 807 field_template: "keyword", | 813 field_template: "keyword", |
| 808 keywords: ["top", "bottom", "left", "right"], | 814 keywords: ["top", "bottom", "left", "right"], |
| 809 }, | 815 }, |
| 810 { | 816 { |
| 811 name: "caret-color", | 817 name: "caret-color", |
| 812 api_class: true, | 818 api_class: true, |
| 813 api_methods: ["parseSingleValue"], | 819 api_methods: ["parseSingleValue"], |
| 814 custom_all: true, | 820 custom_all: true, |
| 815 inherited: true, | 821 inherited: true, |
| 816 interpolable: true, | 822 interpolable: true, |
| 817 }, | 823 }, |
| 818 { | 824 { |
| 819 name: "clear", | 825 name: "clear", |
| 820 initial_keyword: "none", | 826 default_value: "none", |
| 821 field_template: "keyword", | 827 field_template: "keyword", |
| 822 keywords: ["none", "left", "right", "both"], | 828 keywords: ["none", "left", "right", "both"], |
| 823 }, | 829 }, |
| 824 { | 830 { |
| 825 name: "clip", | 831 name: "clip", |
| 826 api_class: true, | 832 api_class: true, |
| 827 api_methods: ["parseSingleValue"], | 833 api_methods: ["parseSingleValue"], |
| 828 converter: "convertClip", | 834 converter: "convertClip", |
| 829 custom_all: true, | 835 custom_all: true, |
| 830 interpolable: true, | 836 interpolable: true, |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 917 "display", | 923 "display", |
| 918 { | 924 { |
| 919 name: "dominant-baseline", | 925 name: "dominant-baseline", |
| 920 inherited: true, | 926 inherited: true, |
| 921 svg: true, | 927 svg: true, |
| 922 }, | 928 }, |
| 923 { | 929 { |
| 924 name: "empty-cells", | 930 name: "empty-cells", |
| 925 independent: true, | 931 independent: true, |
| 926 inherited: true, | 932 inherited: true, |
| 927 initial_keyword: "show", | 933 default_value: "show", |
| 928 field_template: "keyword", | 934 field_template: "keyword", |
| 929 keywords: ["show", "hide"], | 935 keywords: ["show", "hide"], |
| 930 type_name: "EEmptyCells", | 936 type_name: "EEmptyCells", |
| 931 }, | 937 }, |
| 932 { | 938 { |
| 933 name: "fill", | 939 name: "fill", |
| 934 api_class: "CSSPropertyAPIPaintStroke", | 940 api_class: "CSSPropertyAPIPaintStroke", |
| 935 api_methods: ["parseSingleValue"], | 941 api_methods: ["parseSingleValue"], |
| 936 custom_all: true, | 942 custom_all: true, |
| 937 inherited: true, | 943 inherited: true, |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 976 }, | 982 }, |
| 977 { | 983 { |
| 978 name: "flex-shrink", | 984 name: "flex-shrink", |
| 979 api_class: "CSSPropertyAPIFlexGrowOrShrink", | 985 api_class: "CSSPropertyAPIFlexGrowOrShrink", |
| 980 interpolable: true, | 986 interpolable: true, |
| 981 type_name: "float", | 987 type_name: "float", |
| 982 }, | 988 }, |
| 983 "flex-wrap", | 989 "flex-wrap", |
| 984 { | 990 { |
| 985 name: "float", | 991 name: "float", |
| 986 initial_keyword: "none", | 992 default_value: "none", |
| 987 field_template: "keyword", | 993 field_template: "keyword", |
| 988 keywords: ["none", "left", "right"], | 994 keywords: ["none", "left", "right"], |
| 989 name_for_methods: "Floating", | 995 name_for_methods: "Floating", |
| 990 type_name: "EFloat", | 996 type_name: "EFloat", |
| 991 }, | 997 }, |
| 992 { | 998 { |
| 993 name: "flood-color", | 999 name: "flood-color", |
| 994 api_class: "CSSPropertyAPIColor", | 1000 api_class: "CSSPropertyAPIColor", |
| 995 api_methods: ["parseSingleValue"], | 1001 api_methods: ["parseSingleValue"], |
| 996 converter: "convertColor", | 1002 converter: "convertColor", |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1170 api_methods: ["parseSingleValue"], | 1176 api_methods: ["parseSingleValue"], |
| 1171 custom_value: true, | 1177 custom_value: true, |
| 1172 inherited: true, | 1178 inherited: true, |
| 1173 interpolable: true, | 1179 interpolable: true, |
| 1174 typedom_types: ["Image"], | 1180 typedom_types: ["Image"], |
| 1175 }, | 1181 }, |
| 1176 { | 1182 { |
| 1177 name: "list-style-position", | 1183 name: "list-style-position", |
| 1178 independent: true, | 1184 independent: true, |
| 1179 inherited: true, | 1185 inherited: true, |
| 1180 initial_keyword: "outside", | 1186 default_value: "outside", |
| 1181 field_template: "keyword", | 1187 field_template: "keyword", |
| 1182 keywords: ["outside", "inside"], | 1188 keywords: ["outside", "inside"], |
| 1183 }, | 1189 }, |
| 1184 { | 1190 { |
| 1185 name: "list-style-type", | 1191 name: "list-style-type", |
| 1186 inherited: true, | 1192 inherited: true, |
| 1187 initial_keyword: "disc", | 1193 default_value: "disc", |
| 1188 field_template: "keyword", | 1194 field_template: "keyword", |
| 1189 keywords: [ | 1195 keywords: [ |
| 1190 "disc", "circle", "square", "decimal", "decimal-leading-zero", "arabic-i
ndic", "bengali", "cambodian", "khmer", "devanagari", "gujarati", "gurmukhi", "k
annada", "lao", "malayalam", "mongolian", "myanmar", "oriya", "persian", "urdu",
"telugu", "tibetan", "thai", "lower-roman", "upper-roman", "lower-greek", "lowe
r-alpha", "lower-latin", "upper-alpha", "upper-latin", "cjk-earthly-branch", "cj
k-heavenly-stem", "ethiopic-halehame", "ethiopic-halehame-am", "ethiopic-haleham
e-ti-er", "ethiopic-halehame-ti-et", "hangul", "hangul-consonant", "korean-hangu
l-formal", "korean-hanja-formal", "korean-hanja-informal", "hebrew", "armenian",
"lower-armenian", "upper-armenian", "georgian", "cjk-ideographic", "simp-chines
e-formal", "simp-chinese-informal", "trad-chinese-formal", "trad-chinese-informa
l", "hiragana", "katakana", "hiragana-iroha", "katakana-iroha", "none", | 1196 "disc", "circle", "square", "decimal", "decimal-leading-zero", "arabic-i
ndic", "bengali", "cambodian", "khmer", "devanagari", "gujarati", "gurmukhi", "k
annada", "lao", "malayalam", "mongolian", "myanmar", "oriya", "persian", "urdu",
"telugu", "tibetan", "thai", "lower-roman", "upper-roman", "lower-greek", "lowe
r-alpha", "lower-latin", "upper-alpha", "upper-latin", "cjk-earthly-branch", "cj
k-heavenly-stem", "ethiopic-halehame", "ethiopic-halehame-am", "ethiopic-haleham
e-ti-er", "ethiopic-halehame-ti-et", "hangul", "hangul-consonant", "korean-hangu
l-formal", "korean-hanja-formal", "korean-hanja-informal", "hebrew", "armenian",
"lower-armenian", "upper-armenian", "georgian", "cjk-ideographic", "simp-chines
e-formal", "simp-chinese-informal", "trad-chinese-formal", "trad-chinese-informa
l", "hiragana", "katakana", "hiragana-iroha", "katakana-iroha", "none", |
| 1191 ], | 1197 ], |
| 1192 }, | 1198 }, |
| 1193 { | 1199 { |
| 1194 name: "margin-bottom", | 1200 name: "margin-bottom", |
| 1195 api_class: "CSSPropertyAPIMargin", | 1201 api_class: "CSSPropertyAPIMargin", |
| 1196 api_methods: ["parseSingleValue"], | 1202 api_methods: ["parseSingleValue"], |
| 1197 converter: "convertQuirkyLength", | 1203 converter: "convertQuirkyLength", |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1393 name: "outline-width", | 1399 name: "outline-width", |
| 1394 api_class: true, | 1400 api_class: true, |
| 1395 api_methods: ["parseSingleValue"], | 1401 api_methods: ["parseSingleValue"], |
| 1396 converter: "convertLineWidth<unsigned short>", | 1402 converter: "convertLineWidth<unsigned short>", |
| 1397 interpolable: true, | 1403 interpolable: true, |
| 1398 }, | 1404 }, |
| 1399 { | 1405 { |
| 1400 name: "overflow-anchor", | 1406 name: "overflow-anchor", |
| 1401 runtime_flag: "ScrollAnchoring", | 1407 runtime_flag: "ScrollAnchoring", |
| 1402 inherited: false, | 1408 inherited: false, |
| 1403 initial_keyword: "auto", | 1409 default_value: "auto", |
| 1404 field_template: "keyword", | 1410 field_template: "keyword", |
| 1405 keywords: [ | 1411 keywords: [ |
| 1406 "visible", "none", "auto", | 1412 "visible", "none", "auto", |
| 1407 ], | 1413 ], |
| 1408 }, | 1414 }, |
| 1409 { | 1415 { |
| 1410 name: "overflow-wrap", | 1416 name: "overflow-wrap", |
| 1411 inherited: true, | 1417 inherited: true, |
| 1412 }, | 1418 }, |
| 1413 { | 1419 { |
| 1414 name: "overflow-x", | 1420 name: "overflow-x", |
| 1415 initial_keyword: "visible", | 1421 default_value: "visible", |
| 1416 field_template: "keyword", | 1422 field_template: "keyword", |
| 1417 keywords: [ | 1423 keywords: [ |
| 1418 "visible", "hidden", "scroll", "auto", "overlay", "-webkit-paged-x", "-w
ebkit-paged-y", | 1424 "visible", "hidden", "scroll", "auto", "overlay", "-webkit-paged-x", "-w
ebkit-paged-y", |
| 1419 ], | 1425 ], |
| 1420 type_name: "EOverflow", | 1426 type_name: "EOverflow", |
| 1421 }, | 1427 }, |
| 1422 { | 1428 { |
| 1423 name: "overflow-y", | 1429 name: "overflow-y", |
| 1424 initial_keyword: "visible", | 1430 default_value: "visible", |
| 1425 field_template: "keyword", | 1431 field_template: "keyword", |
| 1426 keywords: [ | 1432 keywords: [ |
| 1427 "visible", "hidden", "scroll", "auto", "overlay", "-webkit-paged-x", "-w
ebkit-paged-y", | 1433 "visible", "hidden", "scroll", "auto", "overlay", "-webkit-paged-x", "-w
ebkit-paged-y", |
| 1428 ], | 1434 ], |
| 1429 type_name: "EOverflow", | 1435 type_name: "EOverflow", |
| 1430 }, | 1436 }, |
| 1431 { | 1437 { |
| 1432 name: "padding-bottom", | 1438 name: "padding-bottom", |
| 1433 api_class: "CSSPropertyAPIPadding", | 1439 api_class: "CSSPropertyAPIPadding", |
| 1434 api_methods: ["parseSingleValue"], | 1440 api_methods: ["parseSingleValue"], |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1476 }, | 1482 }, |
| 1477 { | 1483 { |
| 1478 name: "perspective-origin", | 1484 name: "perspective-origin", |
| 1479 converter: "convertPosition", | 1485 converter: "convertPosition", |
| 1480 interpolable: true, | 1486 interpolable: true, |
| 1481 }, | 1487 }, |
| 1482 { | 1488 { |
| 1483 name: "pointer-events", | 1489 name: "pointer-events", |
| 1484 independent: true, | 1490 independent: true, |
| 1485 inherited: true, | 1491 inherited: true, |
| 1486 initial_keyword: "auto", | 1492 default_value: "auto", |
| 1487 field_template: "keyword", | 1493 field_template: "keyword", |
| 1488 keywords: [ | 1494 keywords: [ |
| 1489 "none", "auto", "stroke", "fill", "painted", "visible", "visibleStroke",
"visibleFill", "visiblePainted", "bounding-box", "all", | 1495 "none", "auto", "stroke", "fill", "painted", "visible", "visibleStroke",
"visibleFill", "visiblePainted", "bounding-box", "all", |
| 1490 ], | 1496 ], |
| 1491 }, | 1497 }, |
| 1492 { | 1498 { |
| 1493 name: "position", | 1499 name: "position", |
| 1494 custom_inherit: true, | 1500 custom_inherit: true, |
| 1495 initial_keyword: "static", | 1501 default_value: "static", |
| 1496 field_template: "keyword", | 1502 field_template: "keyword", |
| 1497 keywords: [ | 1503 keywords: [ |
| 1498 "static", "relative", "absolute", "fixed", "sticky", | 1504 "static", "relative", "absolute", "fixed", "sticky", |
| 1499 ], | 1505 ], |
| 1500 }, | 1506 }, |
| 1501 { | 1507 { |
| 1502 name: "quotes", | 1508 name: "quotes", |
| 1503 api_class: true, | 1509 api_class: true, |
| 1504 api_methods: ["parseSingleValue"], | 1510 api_methods: ["parseSingleValue"], |
| 1505 converter: "convertQuotes", | 1511 converter: "convertQuotes", |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1701 { | 1707 { |
| 1702 name: "stroke-width", | 1708 name: "stroke-width", |
| 1703 api_class: "CSSPropertyAPIStrokeOrLength", | 1709 api_class: "CSSPropertyAPIStrokeOrLength", |
| 1704 converter: "convertUnzoomedLength", | 1710 converter: "convertUnzoomedLength", |
| 1705 inherited: true, | 1711 inherited: true, |
| 1706 interpolable: true, | 1712 interpolable: true, |
| 1707 svg: true, | 1713 svg: true, |
| 1708 }, | 1714 }, |
| 1709 { | 1715 { |
| 1710 name: "table-layout", | 1716 name: "table-layout", |
| 1711 initial_keyword: "auto", | 1717 default_value: "auto", |
| 1712 field_template: "keyword", | 1718 field_template: "keyword", |
| 1713 keywords: [ | 1719 keywords: [ |
| 1714 "auto", "fixed" | 1720 "auto", "fixed" |
| 1715 ] | 1721 ] |
| 1716 }, | 1722 }, |
| 1717 { | 1723 { |
| 1718 name: "tab-size", | 1724 name: "tab-size", |
| 1719 api_class: true, | 1725 api_class: true, |
| 1720 api_methods: ["parseSingleValue"], | 1726 api_methods: ["parseSingleValue"], |
| 1721 converter: "convertLengthOrTabSpaces", | 1727 converter: "convertLengthOrTabSpaces", |
| 1722 inherited: true, | 1728 inherited: true, |
| 1723 type_name: "TabSize", | 1729 type_name: "TabSize", |
| 1724 }, | 1730 }, |
| 1725 { | 1731 { |
| 1726 name: "text-align", | 1732 name: "text-align", |
| 1727 custom_value: true, | 1733 custom_value: true, |
| 1728 inherited: true, | 1734 inherited: true, |
| 1729 initial_keyword: "start", | 1735 default_value: "start", |
| 1730 field_template: "keyword", | 1736 field_template: "keyword", |
| 1731 keywords: [ | 1737 keywords: [ |
| 1732 "left", "right", "center", "justify", "webkitLeft", "webkitRight", "webk
itCenter", "start", "end", | 1738 "left", "right", "center", "justify", "webkitLeft", "webkitRight", "webk
itCenter", "start", "end", |
| 1733 ], | 1739 ], |
| 1734 }, | 1740 }, |
| 1735 { | 1741 { |
| 1736 name: "text-align-last", | 1742 name: "text-align-last", |
| 1737 inherited: true, | 1743 inherited: true, |
| 1738 type_name: "TextAlignLast", | 1744 type_name: "TextAlignLast", |
| 1739 }, | 1745 }, |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1815 api_class: true, | 1821 api_class: true, |
| 1816 api_methods: ["parseSingleValue"], | 1822 api_methods: ["parseSingleValue"], |
| 1817 converter: "convertTextSizeAdjust", | 1823 converter: "convertTextSizeAdjust", |
| 1818 inherited: true, | 1824 inherited: true, |
| 1819 type_name: "TextSizeAdjust", | 1825 type_name: "TextSizeAdjust", |
| 1820 }, | 1826 }, |
| 1821 { | 1827 { |
| 1822 name: "text-transform", | 1828 name: "text-transform", |
| 1823 independent: true, | 1829 independent: true, |
| 1824 inherited: true, | 1830 inherited: true, |
| 1825 initial_keyword: "none", | 1831 default_value: "none", |
| 1826 field_template: "keyword", | 1832 field_template: "keyword", |
| 1827 keywords: ["capitalize", "uppercase", "lowercase", "none"], | 1833 keywords: ["capitalize", "uppercase", "lowercase", "none"], |
| 1828 }, | 1834 }, |
| 1829 { | 1835 { |
| 1830 name: "text-underline-position", | 1836 name: "text-underline-position", |
| 1831 api_class: true, | 1837 api_class: true, |
| 1832 api_methods: ["parseSingleValue"], | 1838 api_methods: ["parseSingleValue"], |
| 1833 inherited: true, | 1839 inherited: true, |
| 1834 runtime_flag: "CSS3TextDecorations", | 1840 runtime_flag: "CSS3TextDecorations", |
| 1835 type_name: "TextUnderlinePosition", | 1841 type_name: "TextUnderlinePosition", |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1890 name: "scale", | 1896 name: "scale", |
| 1891 api_class: true, | 1897 api_class: true, |
| 1892 api_methods: ["parseSingleValue"], | 1898 api_methods: ["parseSingleValue"], |
| 1893 converter: "convertScale", | 1899 converter: "convertScale", |
| 1894 interpolable: true, | 1900 interpolable: true, |
| 1895 runtime_flag: "CSSIndependentTransformProperties", | 1901 runtime_flag: "CSSIndependentTransformProperties", |
| 1896 }, | 1902 }, |
| 1897 { | 1903 { |
| 1898 name: "unicode-bidi", | 1904 name: "unicode-bidi", |
| 1899 field_type_path: "platform/text/UnicodeBidi", | 1905 field_type_path: "platform/text/UnicodeBidi", |
| 1900 initial_keyword: "normal", | 1906 default_value: "normal", |
| 1901 field_template: "keyword", | 1907 field_template: "keyword", |
| 1902 keywords: [ | 1908 keywords: [ |
| 1903 "normal", "embed", "bidi-override", "isolate", "plaintext", "isolate-ove
rride", | 1909 "normal", "embed", "bidi-override", "isolate", "plaintext", "isolate-ove
rride", |
| 1904 ], | 1910 ], |
| 1905 type_name: "UnicodeBidi", | 1911 type_name: "UnicodeBidi", |
| 1906 }, | 1912 }, |
| 1907 { | 1913 { |
| 1908 name: "vector-effect", | 1914 name: "vector-effect", |
| 1909 svg: true, | 1915 svg: true, |
| 1910 }, | 1916 }, |
| 1911 { | 1917 { |
| 1912 name: "vertical-align", | 1918 name: "vertical-align", |
| 1913 api_class: true, | 1919 api_class: true, |
| 1914 api_methods: ["parseSingleValue"], | 1920 api_methods: ["parseSingleValue"], |
| 1915 custom_inherit: true, | 1921 custom_inherit: true, |
| 1916 custom_value: true, | 1922 custom_value: true, |
| 1917 interpolable: true, | 1923 interpolable: true, |
| 1918 }, | 1924 }, |
| 1919 { | 1925 { |
| 1920 name: "visibility", | 1926 name: "visibility", |
| 1921 independent: true, | 1927 independent: true, |
| 1922 inherited: true, | 1928 inherited: true, |
| 1923 initial_keyword: "visible", | 1929 default_value: "visible", |
| 1924 interpolable: true, | 1930 interpolable: true, |
| 1925 field_template: "keyword", | 1931 field_template: "keyword", |
| 1926 keywords: ["visible", "hidden", "collapse"], | 1932 keywords: ["visible", "hidden", "collapse"], |
| 1927 }, | 1933 }, |
| 1928 { | 1934 { |
| 1929 name: "x", | 1935 name: "x", |
| 1930 api_class: "CSSPropertyAPIStrokeOrLength", | 1936 api_class: "CSSPropertyAPIStrokeOrLength", |
| 1931 converter: "convertLength", | 1937 converter: "convertLength", |
| 1932 interpolable: true, | 1938 interpolable: true, |
| 1933 svg: true, | 1939 svg: true, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1979 }, | 1985 }, |
| 1980 { | 1986 { |
| 1981 name: "-webkit-box-align", | 1987 name: "-webkit-box-align", |
| 1982 type_name: "EBoxAlignment", | 1988 type_name: "EBoxAlignment", |
| 1983 }, | 1989 }, |
| 1984 "-webkit-box-decoration-break", | 1990 "-webkit-box-decoration-break", |
| 1985 { | 1991 { |
| 1986 name: "-webkit-box-direction", | 1992 name: "-webkit-box-direction", |
| 1987 independent: true, | 1993 independent: true, |
| 1988 inherited: true, | 1994 inherited: true, |
| 1989 initial_keyword: "normal", | 1995 default_value: "normal", |
| 1990 field_template: "keyword", | 1996 field_template: "keyword", |
| 1991 keywords: ["normal", "reverse"], | 1997 keywords: ["normal", "reverse"], |
| 1992 }, | 1998 }, |
| 1993 { | 1999 { |
| 1994 name: "-webkit-box-flex", | 2000 name: "-webkit-box-flex", |
| 1995 api_class: true, | 2001 api_class: true, |
| 1996 type_name: "float", | 2002 type_name: "float", |
| 1997 }, | 2003 }, |
| 1998 { | 2004 { |
| 1999 name: "-webkit-box-flex-group", | 2005 name: "-webkit-box-flex-group", |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2184 { | 2190 { |
| 2185 name: "-webkit-perspective-origin-y", | 2191 name: "-webkit-perspective-origin-y", |
| 2186 api_class: "CSSPropertyAPIWebkitOriginY", | 2192 api_class: "CSSPropertyAPIWebkitOriginY", |
| 2187 converter: "convertLength", | 2193 converter: "convertLength", |
| 2188 interpolable: true, | 2194 interpolable: true, |
| 2189 }, | 2195 }, |
| 2190 { | 2196 { |
| 2191 name: "-webkit-print-color-adjust", | 2197 name: "-webkit-print-color-adjust", |
| 2192 independent: true, | 2198 independent: true, |
| 2193 inherited: true, | 2199 inherited: true, |
| 2194 initial_keyword: "economy", | 2200 default_value: "economy", |
| 2195 field_template: "keyword", | 2201 field_template: "keyword", |
| 2196 keywords: ["economy", "exact"], | 2202 keywords: ["economy", "exact"], |
| 2197 }, | 2203 }, |
| 2198 { | 2204 { |
| 2199 name: "-webkit-rtl-ordering", | 2205 name: "-webkit-rtl-ordering", |
| 2200 independent: true, | 2206 independent: true, |
| 2201 inherited: true, | 2207 inherited: true, |
| 2202 initial: "initialRtlOrdering", | 2208 initial: "initialRtlOrdering", |
| 2203 initial_keyword: "logical", | 2209 default_value: "logical", |
| 2204 field_template: "keyword", | 2210 field_template: "keyword", |
| 2205 keywords: ["logical", "visual"], | 2211 keywords: ["logical", "visual"], |
| 2206 setter: "setRtlOrdering", | 2212 setter: "setRtlOrdering", |
| 2207 type_name: "EOrder", | 2213 type_name: "EOrder", |
| 2208 }, | 2214 }, |
| 2209 { | 2215 { |
| 2210 name: "-webkit-ruby-position", | 2216 name: "-webkit-ruby-position", |
| 2211 inherited: true, | 2217 inherited: true, |
| 2212 type_name: "RubyPosition", | 2218 type_name: "RubyPosition", |
| 2213 }, | 2219 }, |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2294 inherited: true, | 2300 inherited: true, |
| 2295 }, | 2301 }, |
| 2296 { | 2302 { |
| 2297 name: "user-select", | 2303 name: "user-select", |
| 2298 inherited: true, | 2304 inherited: true, |
| 2299 }, | 2305 }, |
| 2300 { | 2306 { |
| 2301 name: "white-space", | 2307 name: "white-space", |
| 2302 independent: true, | 2308 independent: true, |
| 2303 inherited: true, | 2309 inherited: true, |
| 2304 initial_keyword: "normal", | 2310 default_value: "normal", |
| 2305 field_template: "keyword", | 2311 field_template: "keyword", |
| 2306 keywords: ["normal", "pre", "pre-wrap", "pre-line", "nowrap", "-webkit-now
rap"], | 2312 keywords: ["normal", "pre", "pre-wrap", "pre-line", "nowrap", "-webkit-now
rap"], |
| 2307 }, | 2313 }, |
| 2308 { | 2314 { |
| 2309 name: "widows", | 2315 name: "widows", |
| 2310 inherited: true, | 2316 inherited: true, |
| 2311 interpolable: true, | 2317 interpolable: true, |
| 2312 type_name: "short", | 2318 type_name: "short", |
| 2313 }, | 2319 }, |
| 2314 { | 2320 { |
| (...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3075 { | 3081 { |
| 3076 name: "-webkit-transition-timing-function", | 3082 name: "-webkit-transition-timing-function", |
| 3077 alias_for: "transition-timing-function", | 3083 alias_for: "transition-timing-function", |
| 3078 }, | 3084 }, |
| 3079 { | 3085 { |
| 3080 name: "-webkit-user-select", | 3086 name: "-webkit-user-select", |
| 3081 alias_for: "user-select", | 3087 alias_for: "user-select", |
| 3082 }, | 3088 }, |
| 3083 ], | 3089 ], |
| 3084 } | 3090 } |
| OLD | NEW |