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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 // every property, since this value can be inferred from that. | 67 // every property, since this value can be inferred from that. |
68 field_template: { | 68 field_template: { |
69 valid_values: [ | 69 valid_values: [ |
70 // Field is stored as an enum and has a initial/getter/setter/resetter. | 70 // Field is stored as an enum and has a initial/getter/setter/resetter. |
71 "keyword", | 71 "keyword", |
72 // Field is stored a packed boolean flag and has a initial/getter/setter
/resetter. | 72 // Field is stored a packed boolean flag and has a initial/getter/setter
/resetter. |
73 // TODO(shend): generalise this to "primitive" | 73 // TODO(shend): generalise this to "primitive" |
74 "flag", | 74 "flag", |
75 // Field is stored as a bool, whose default value is false | 75 // Field is stored as a bool, whose default value is false |
76 // and can only be set to true. Has a initial/getter/setter. | 76 // and can only be set to true. Has a initial/getter/setter. |
77 "monotonic_flag" | 77 "monotonic_flag", |
| 78 // Field has type specified at field_type_path and has a getter/setter. |
| 79 // Also has a setter taking an rvalue reference. Cannot be packed. |
| 80 "external", |
78 ], | 81 ], |
79 }, | 82 }, |
80 | 83 |
81 // - field_type_path: "path/to/Type" | 84 // - field_type_path: "path/to/Type" |
82 // For properties that have generated field storage in ComputedStyle, | 85 // For properties that have generated field storage in ComputedStyle, |
83 // this optional argument will override the field's generated type with | 86 // this optional argument will override the field's generated type with |
84 // an external one specified at the given path. The type must be defined | 87 // an external one specified at the given path. The type must be defined |
85 // in a header file at that path, and have the same name as the file. | 88 // in a header file at that path, and have the same name as the file. |
86 // Currently, only enum types are supported, and the enum's only values | 89 // Currently, only enum types are supported, and the enum's only values |
87 // must be CamelCase values of the keywords of the property. | 90 // must be CamelCase values of the keywords of the property. |
88 field_type_path: { | 91 field_type_path: { |
89 }, | 92 }, |
90 | 93 |
91 // - keywords: ["keyword1", "keyword2"] | 94 // - keywords: ["keyword1", "keyword2"] |
92 // This specifies all valid keyword values for the property. | 95 // This specifies all valid keyword values for the property. |
93 // TODO(sashab): Once all properties are represented here, delete | 96 // TODO(sashab): Once all properties are represented here, delete |
94 // CSSValueKeywords.in and use this list instead. | 97 // CSSValueKeywords.in and use this list instead. |
95 keywords: { | 98 keywords: { |
96 default: [], | 99 default: [], |
97 }, | 100 }, |
98 | 101 |
99 // - initial_keyword: "keyword-value" | 102 // - default_value: "keyword-value" |
100 // This specifies the initial keyword value for the keyword fields. | 103 // This specifies the default value for this field. |
101 initial_keyword: { | 104 // - for keyword fields, this is the initial keyword |
| 105 // - for other fields, this is a string containg the C++ expression |
| 106 // that is used to initialise the field. |
| 107 default_value: { |
102 }, | 108 }, |
103 | 109 |
104 // Flags which go into CSSOMTypes: | 110 // Flags which go into CSSOMTypes: |
105 // - typedom_types: ["Type", "OtherType"] | 111 // - typedom_types: ["Type", "OtherType"] |
106 // The property can take types specified in typedom_types for CSS Typed OM. | 112 // The property can take types specified in typedom_types for CSS Typed OM. |
107 // Keyword does not need to be specified as every property can take keywords
. | 113 // Keyword does not need to be specified as every property can take keywords
. |
108 // - separator | 114 // - separator |
109 // The property supports a list of values, and when there is more than one, | 115 // The property supports a list of values, and when there is more than one, |
110 // it is separated with this character. | 116 // it is separated with this character. |
111 // - supports_percentage | 117 // - supports_percentage |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 custom_all: true, | 337 custom_all: true, |
332 inherited: true, | 338 inherited: true, |
333 interpolable: true, | 339 interpolable: true, |
334 priority: "High", | 340 priority: "High", |
335 }, | 341 }, |
336 { | 342 { |
337 name: "direction", | 343 name: "direction", |
338 custom_value: true, | 344 custom_value: true, |
339 field_type_path: "platform/text/TextDirection", | 345 field_type_path: "platform/text/TextDirection", |
340 inherited: true, | 346 inherited: true, |
341 initial_keyword: "ltr", | 347 default_value: "ltr", |
342 field_template: "keyword", | 348 field_template: "keyword", |
343 keywords: ["ltr", "rtl"], | 349 keywords: ["ltr", "rtl"], |
344 priority: "High", | 350 priority: "High", |
345 }, | 351 }, |
346 { | 352 { |
347 name: "font-family", | 353 name: "font-family", |
348 api_class: true, | 354 api_class: true, |
349 api_methods: ["parseSingleValue"], | 355 api_methods: ["parseSingleValue"], |
350 converter: "convertFontFamily", | 356 converter: "convertFontFamily", |
351 is_descriptor: true, | 357 is_descriptor: true, |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 custom_value: true, | 499 custom_value: true, |
494 inherited: true, | 500 inherited: true, |
495 priority: "High", | 501 priority: "High", |
496 type_name: "TextOrientation", | 502 type_name: "TextOrientation", |
497 }, | 503 }, |
498 { | 504 { |
499 name: "writing-mode", | 505 name: "writing-mode", |
500 custom_value: true, | 506 custom_value: true, |
501 field_type_path: "platform/text/WritingMode", | 507 field_type_path: "platform/text/WritingMode", |
502 inherited: true, | 508 inherited: true, |
503 initial_keyword: "horizontal-tb", | 509 default_value: "horizontal-tb", |
504 field_template: "keyword", | 510 field_template: "keyword", |
505 keywords: ["horizontal-tb", "vertical-rl", "vertical-lr"], | 511 keywords: ["horizontal-tb", "vertical-rl", "vertical-lr"], |
506 priority: "High", | 512 priority: "High", |
507 type_name: "WritingMode", | 513 type_name: "WritingMode", |
508 }, | 514 }, |
509 { | 515 { |
510 name: "-webkit-writing-mode", | 516 name: "-webkit-writing-mode", |
511 custom_value: true, | 517 custom_value: true, |
512 inherited: true, | 518 inherited: true, |
513 priority: "High", | 519 priority: "High", |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
656 converter: "convertLineWidth<float>", | 662 converter: "convertLineWidth<float>", |
657 initial: "initialBorderWidth", | 663 initial: "initialBorderWidth", |
658 interpolable: true, | 664 interpolable: true, |
659 keywords: ["thin", "medium", "thick"], | 665 keywords: ["thin", "medium", "thick"], |
660 typedom_types: ["Length"], | 666 typedom_types: ["Length"], |
661 }, | 667 }, |
662 { | 668 { |
663 name: "border-collapse", | 669 name: "border-collapse", |
664 independent: true, | 670 independent: true, |
665 inherited: true, | 671 inherited: true, |
666 initial_keyword: "separate", | 672 default_value: "separate", |
667 field_template: "keyword", | 673 field_template: "keyword", |
668 keywords: ["separate", "collapse"], | 674 keywords: ["separate", "collapse"], |
669 }, | 675 }, |
670 { | 676 { |
671 name: "border-image-outset", | 677 name: "border-image-outset", |
672 api_class: "CSSPropertyAPIBorderImageOutset", | 678 api_class: "CSSPropertyAPIBorderImageOutset", |
673 custom_all: true, | 679 custom_all: true, |
674 interpolable: true, | 680 interpolable: true, |
675 }, | 681 }, |
676 { | 682 { |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
793 { | 799 { |
794 name: "box-shadow", | 800 name: "box-shadow", |
795 converter: "convertShadowList", | 801 converter: "convertShadowList", |
796 interpolable: true, | 802 interpolable: true, |
797 }, | 803 }, |
798 "box-sizing", | 804 "box-sizing", |
799 { | 805 { |
800 name: "break-after", | 806 name: "break-after", |
801 // Storage for this property also covers these legacy properties: | 807 // Storage for this property also covers these legacy properties: |
802 // page-break-after, -webkit-column-break-after | 808 // page-break-after, -webkit-column-break-after |
803 initial_keyword: "auto", | 809 default_value: "auto", |
804 field_template: "keyword", | 810 field_template: "keyword", |
805 keywords: [ | 811 keywords: [ |
806 "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page",
"recto", "right", "verso" | 812 "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page",
"recto", "right", "verso" |
807 ], | 813 ], |
808 type_name: "EBreakBetween", | 814 type_name: "EBreakBetween", |
809 }, | 815 }, |
810 { | 816 { |
811 name: "break-before", | 817 name: "break-before", |
812 // Storage for this property also covers these legacy properties: | 818 // Storage for this property also covers these legacy properties: |
813 // page-break-before, -webkit-column-break-before | 819 // page-break-before, -webkit-column-break-before |
814 initial_keyword: "auto", | 820 default_value: "auto", |
815 field_template: "keyword", | 821 field_template: "keyword", |
816 keywords: [ | 822 keywords: [ |
817 "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page",
"recto", "right", "verso" | 823 "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page",
"recto", "right", "verso" |
818 ], | 824 ], |
819 type_name: "EBreakBetween", | 825 type_name: "EBreakBetween", |
820 }, | 826 }, |
821 { | 827 { |
822 name: "break-inside", | 828 name: "break-inside", |
823 // Storage for this property also covers these legacy properties: | 829 // Storage for this property also covers these legacy properties: |
824 // page-break-inside, -webkit-column-break-inside | 830 // page-break-inside, -webkit-column-break-inside |
825 initial_keyword: "auto", | 831 default_value: "auto", |
826 field_template: "keyword", | 832 field_template: "keyword", |
827 keywords: ["auto", "avoid", "avoid-column", "avoid-page"], | 833 keywords: ["auto", "avoid", "avoid-column", "avoid-page"], |
828 }, | 834 }, |
829 { | 835 { |
830 name: "buffered-rendering", | 836 name: "buffered-rendering", |
831 svg: true, | 837 svg: true, |
832 }, | 838 }, |
833 { | 839 { |
834 name: "caption-side", | 840 name: "caption-side", |
835 independent: true, | 841 independent: true, |
836 inherited: true, | 842 inherited: true, |
837 initial_keyword: "top", | 843 default_value: "top", |
838 field_template: "keyword", | 844 field_template: "keyword", |
839 keywords: ["top", "bottom", "left", "right"], | 845 keywords: ["top", "bottom", "left", "right"], |
840 }, | 846 }, |
841 { | 847 { |
842 name: "caret-color", | 848 name: "caret-color", |
843 api_class: true, | 849 api_class: true, |
844 api_methods: ["parseSingleValue"], | 850 api_methods: ["parseSingleValue"], |
845 custom_all: true, | 851 custom_all: true, |
846 inherited: true, | 852 inherited: true, |
847 interpolable: true, | 853 interpolable: true, |
848 }, | 854 }, |
849 { | 855 { |
850 name: "clear", | 856 name: "clear", |
851 initial_keyword: "none", | 857 default_value: "none", |
852 field_template: "keyword", | 858 field_template: "keyword", |
853 keywords: ["none", "left", "right", "both"], | 859 keywords: ["none", "left", "right", "both"], |
854 }, | 860 }, |
855 { | 861 { |
856 name: "clip", | 862 name: "clip", |
857 api_class: true, | 863 api_class: true, |
858 api_methods: ["parseSingleValue"], | 864 api_methods: ["parseSingleValue"], |
859 converter: "convertClip", | 865 converter: "convertClip", |
860 custom_all: true, | 866 custom_all: true, |
861 interpolable: true, | 867 interpolable: true, |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
925 custom_all: true, | 931 custom_all: true, |
926 inherited: true, | 932 inherited: true, |
927 field_template: "keyword", | 933 field_template: "keyword", |
928 keywords: [ | 934 keywords: [ |
929 "auto", "default", "none", "context-menu", "help", "pointer", "progress"
, "wait", "cell", "crosshair", | 935 "auto", "default", "none", "context-menu", "help", "pointer", "progress"
, "wait", "cell", "crosshair", |
930 "text", "vertical-text", "alias", "copy", "move", "no-drop", "not-allowe
d", "e-resize", "n-resize", | 936 "text", "vertical-text", "alias", "copy", "move", "no-drop", "not-allowe
d", "e-resize", "n-resize", |
931 "ne-resize", "nw-resize", "s-resize", "se-resize", "sw-resize", "w-resiz
e", "ew-resize", "ns-resize", | 937 "ne-resize", "nw-resize", "s-resize", "se-resize", "sw-resize", "w-resiz
e", "ew-resize", "ns-resize", |
932 "nesw-resize", "nwse-resize", "col-resize", "row-resize", "all-scroll",
"zoom-in", "zoom-out", | 938 "nesw-resize", "nwse-resize", "col-resize", "row-resize", "all-scroll",
"zoom-in", "zoom-out", |
933 "-webkit-grab", "-webkit-grabbing" | 939 "-webkit-grab", "-webkit-grabbing" |
934 ], | 940 ], |
935 initial_keyword: "auto", | 941 default_value: "auto", |
936 }, | 942 }, |
937 { | 943 { |
938 name: "cx", | 944 name: "cx", |
939 api_class: "CSSPropertyAPIStrokeOrLength", | 945 api_class: "CSSPropertyAPIStrokeOrLength", |
940 converter: "convertLength", | 946 converter: "convertLength", |
941 interpolable: true, | 947 interpolable: true, |
942 svg: true, | 948 svg: true, |
943 }, | 949 }, |
944 { | 950 { |
945 name: "cy", | 951 name: "cy", |
946 api_class: "CSSPropertyAPIStrokeOrLength", | 952 api_class: "CSSPropertyAPIStrokeOrLength", |
947 converter: "convertLength", | 953 converter: "convertLength", |
948 interpolable: true, | 954 interpolable: true, |
949 svg: true, | 955 svg: true, |
950 }, | 956 }, |
951 { | 957 { |
952 name: "d", | 958 name: "d", |
953 converter: "convertPathOrNone", | 959 converter: "convertPathOrNone", |
954 interpolable: true, | 960 interpolable: true, |
955 svg: true, | 961 svg: true, |
956 }, | 962 }, |
957 { | 963 { |
958 name: "display", | 964 name: "display", |
959 initial_keyword: "inline", | 965 default_value: "inline", |
960 field_template: 'keyword', | 966 field_template: 'keyword', |
961 keywords: [ | 967 keywords: [ |
962 "inline", "block", "list-item", "inline-block", "table", "inline-table",
"table-row-group", "table-header-group", | 968 "inline", "block", "list-item", "inline-block", "table", "inline-table",
"table-row-group", "table-header-group", |
963 "table-footer-group", "table-row", "table-column-group", "table-column",
"table-cell", "table-caption", "-webkit-box", | 969 "table-footer-group", "table-row", "table-column-group", "table-column",
"table-cell", "table-caption", "-webkit-box", |
964 "-webkit-inline-box", "flex", "inline-flex", "grid", "inline-grid", "con
tents", "flow-root", "none", | 970 "-webkit-inline-box", "flex", "inline-flex", "grid", "inline-grid", "con
tents", "flow-root", "none", |
965 ], | 971 ], |
966 }, | 972 }, |
967 { | 973 { |
968 name: "dominant-baseline", | 974 name: "dominant-baseline", |
969 inherited: true, | 975 inherited: true, |
970 svg: true, | 976 svg: true, |
971 }, | 977 }, |
972 { | 978 { |
973 name: "empty-cells", | 979 name: "empty-cells", |
974 independent: true, | 980 independent: true, |
975 inherited: true, | 981 inherited: true, |
976 initial_keyword: "show", | 982 default_value: "show", |
977 field_template: "keyword", | 983 field_template: "keyword", |
978 keywords: ["show", "hide"], | 984 keywords: ["show", "hide"], |
979 type_name: "EEmptyCells", | 985 type_name: "EEmptyCells", |
980 }, | 986 }, |
981 { | 987 { |
982 name: "fill", | 988 name: "fill", |
983 api_class: "CSSPropertyAPIPaintStroke", | 989 api_class: "CSSPropertyAPIPaintStroke", |
984 api_methods: ["parseSingleValue"], | 990 api_methods: ["parseSingleValue"], |
985 custom_all: true, | 991 custom_all: true, |
986 inherited: true, | 992 inherited: true, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1025 }, | 1031 }, |
1026 { | 1032 { |
1027 name: "flex-shrink", | 1033 name: "flex-shrink", |
1028 api_class: "CSSPropertyAPIFlexGrowOrShrink", | 1034 api_class: "CSSPropertyAPIFlexGrowOrShrink", |
1029 interpolable: true, | 1035 interpolable: true, |
1030 type_name: "float", | 1036 type_name: "float", |
1031 }, | 1037 }, |
1032 "flex-wrap", | 1038 "flex-wrap", |
1033 { | 1039 { |
1034 name: "float", | 1040 name: "float", |
1035 initial_keyword: "none", | 1041 default_value: "none", |
1036 field_template: "keyword", | 1042 field_template: "keyword", |
1037 keywords: ["none", "left", "right"], | 1043 keywords: ["none", "left", "right"], |
1038 name_for_methods: "Floating", | 1044 name_for_methods: "Floating", |
1039 type_name: "EFloat", | 1045 type_name: "EFloat", |
1040 }, | 1046 }, |
1041 { | 1047 { |
1042 name: "flood-color", | 1048 name: "flood-color", |
1043 api_class: "CSSPropertyAPIColor", | 1049 api_class: "CSSPropertyAPIColor", |
1044 api_methods: ["parseSingleValue"], | 1050 api_methods: ["parseSingleValue"], |
1045 converter: "convertColor", | 1051 converter: "convertColor", |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1231 api_methods: ["parseSingleValue"], | 1237 api_methods: ["parseSingleValue"], |
1232 custom_value: true, | 1238 custom_value: true, |
1233 inherited: true, | 1239 inherited: true, |
1234 interpolable: true, | 1240 interpolable: true, |
1235 typedom_types: ["Image"], | 1241 typedom_types: ["Image"], |
1236 }, | 1242 }, |
1237 { | 1243 { |
1238 name: "list-style-position", | 1244 name: "list-style-position", |
1239 independent: true, | 1245 independent: true, |
1240 inherited: true, | 1246 inherited: true, |
1241 initial_keyword: "outside", | 1247 default_value: "outside", |
1242 field_template: "keyword", | 1248 field_template: "keyword", |
1243 keywords: ["outside", "inside"], | 1249 keywords: ["outside", "inside"], |
1244 }, | 1250 }, |
1245 { | 1251 { |
1246 name: "list-style-type", | 1252 name: "list-style-type", |
1247 inherited: true, | 1253 inherited: true, |
1248 initial_keyword: "disc", | 1254 default_value: "disc", |
1249 field_template: "keyword", | 1255 field_template: "keyword", |
1250 keywords: [ | 1256 keywords: [ |
1251 "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", | 1257 "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", |
1252 ], | 1258 ], |
1253 }, | 1259 }, |
1254 { | 1260 { |
1255 name: "margin-bottom", | 1261 name: "margin-bottom", |
1256 api_class: "CSSPropertyAPIMargin", | 1262 api_class: "CSSPropertyAPIMargin", |
1257 api_methods: ["parseSingleValue"], | 1263 api_methods: ["parseSingleValue"], |
1258 converter: "convertQuirkyLength", | 1264 converter: "convertQuirkyLength", |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1463 name: "outline-width", | 1469 name: "outline-width", |
1464 api_class: true, | 1470 api_class: true, |
1465 api_methods: ["parseSingleValue"], | 1471 api_methods: ["parseSingleValue"], |
1466 converter: "convertLineWidth<unsigned short>", | 1472 converter: "convertLineWidth<unsigned short>", |
1467 interpolable: true, | 1473 interpolable: true, |
1468 }, | 1474 }, |
1469 { | 1475 { |
1470 name: "overflow-anchor", | 1476 name: "overflow-anchor", |
1471 runtime_flag: "ScrollAnchoring", | 1477 runtime_flag: "ScrollAnchoring", |
1472 inherited: false, | 1478 inherited: false, |
1473 initial_keyword: "auto", | 1479 default_value: "auto", |
1474 field_template: "keyword", | 1480 field_template: "keyword", |
1475 keywords: [ | 1481 keywords: [ |
1476 "visible", "none", "auto", | 1482 "visible", "none", "auto", |
1477 ], | 1483 ], |
1478 }, | 1484 }, |
1479 { | 1485 { |
1480 name: "overflow-wrap", | 1486 name: "overflow-wrap", |
1481 inherited: true, | 1487 inherited: true, |
1482 }, | 1488 }, |
1483 { | 1489 { |
1484 name: "overflow-x", | 1490 name: "overflow-x", |
1485 initial_keyword: "visible", | 1491 default_value: "visible", |
1486 field_template: "keyword", | 1492 field_template: "keyword", |
1487 keywords: [ | 1493 keywords: [ |
1488 "visible", "hidden", "scroll", "auto", "overlay", "-webkit-paged-x", "-w
ebkit-paged-y", | 1494 "visible", "hidden", "scroll", "auto", "overlay", "-webkit-paged-x", "-w
ebkit-paged-y", |
1489 ], | 1495 ], |
1490 type_name: "EOverflow", | 1496 type_name: "EOverflow", |
1491 }, | 1497 }, |
1492 { | 1498 { |
1493 name: "overflow-y", | 1499 name: "overflow-y", |
1494 initial_keyword: "visible", | 1500 default_value: "visible", |
1495 field_template: "keyword", | 1501 field_template: "keyword", |
1496 keywords: [ | 1502 keywords: [ |
1497 "visible", "hidden", "scroll", "auto", "overlay", "-webkit-paged-x", "-w
ebkit-paged-y", | 1503 "visible", "hidden", "scroll", "auto", "overlay", "-webkit-paged-x", "-w
ebkit-paged-y", |
1498 ], | 1504 ], |
1499 type_name: "EOverflow", | 1505 type_name: "EOverflow", |
1500 }, | 1506 }, |
1501 { | 1507 { |
1502 name: "padding-bottom", | 1508 name: "padding-bottom", |
1503 api_class: "CSSPropertyAPIPadding", | 1509 api_class: "CSSPropertyAPIPadding", |
1504 api_methods: ["parseSingleValue"], | 1510 api_methods: ["parseSingleValue"], |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1546 }, | 1552 }, |
1547 { | 1553 { |
1548 name: "perspective-origin", | 1554 name: "perspective-origin", |
1549 converter: "convertPosition", | 1555 converter: "convertPosition", |
1550 interpolable: true, | 1556 interpolable: true, |
1551 }, | 1557 }, |
1552 { | 1558 { |
1553 name: "pointer-events", | 1559 name: "pointer-events", |
1554 independent: true, | 1560 independent: true, |
1555 inherited: true, | 1561 inherited: true, |
1556 initial_keyword: "auto", | 1562 default_value: "auto", |
1557 field_template: "keyword", | 1563 field_template: "keyword", |
1558 keywords: [ | 1564 keywords: [ |
1559 "none", "auto", "stroke", "fill", "painted", "visible", "visibleStroke",
"visibleFill", "visiblePainted", "bounding-box", "all", | 1565 "none", "auto", "stroke", "fill", "painted", "visible", "visibleStroke",
"visibleFill", "visiblePainted", "bounding-box", "all", |
1560 ], | 1566 ], |
1561 }, | 1567 }, |
1562 { | 1568 { |
1563 name: "position", | 1569 name: "position", |
1564 custom_inherit: true, | 1570 custom_inherit: true, |
1565 initial_keyword: "static", | 1571 default_value: "static", |
1566 field_template: "keyword", | 1572 field_template: "keyword", |
1567 keywords: [ | 1573 keywords: [ |
1568 "static", "relative", "absolute", "fixed", "sticky", | 1574 "static", "relative", "absolute", "fixed", "sticky", |
1569 ], | 1575 ], |
1570 }, | 1576 }, |
1571 { | 1577 { |
1572 name: "quotes", | 1578 name: "quotes", |
1573 api_class: true, | 1579 api_class: true, |
1574 api_methods: ["parseSingleValue"], | 1580 api_methods: ["parseSingleValue"], |
1575 converter: "convertQuotes", | 1581 converter: "convertQuotes", |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1763 { | 1769 { |
1764 name: "stroke-width", | 1770 name: "stroke-width", |
1765 api_class: "CSSPropertyAPIStrokeOrLength", | 1771 api_class: "CSSPropertyAPIStrokeOrLength", |
1766 converter: "convertUnzoomedLength", | 1772 converter: "convertUnzoomedLength", |
1767 inherited: true, | 1773 inherited: true, |
1768 interpolable: true, | 1774 interpolable: true, |
1769 svg: true, | 1775 svg: true, |
1770 }, | 1776 }, |
1771 { | 1777 { |
1772 name: "table-layout", | 1778 name: "table-layout", |
1773 initial_keyword: "auto", | 1779 default_value: "auto", |
1774 field_template: "keyword", | 1780 field_template: "keyword", |
1775 keywords: [ | 1781 keywords: [ |
1776 "auto", "fixed" | 1782 "auto", "fixed" |
1777 ] | 1783 ] |
1778 }, | 1784 }, |
1779 { | 1785 { |
1780 name: "tab-size", | 1786 name: "tab-size", |
1781 api_class: true, | 1787 api_class: true, |
1782 api_methods: ["parseSingleValue"], | 1788 api_methods: ["parseSingleValue"], |
1783 converter: "convertLengthOrTabSpaces", | 1789 converter: "convertLengthOrTabSpaces", |
1784 inherited: true, | 1790 inherited: true, |
1785 type_name: "TabSize", | 1791 type_name: "TabSize", |
1786 }, | 1792 }, |
1787 { | 1793 { |
1788 name: "text-align", | 1794 name: "text-align", |
1789 custom_value: true, | 1795 custom_value: true, |
1790 independent: true, | 1796 independent: true, |
1791 inherited: true, | 1797 inherited: true, |
1792 initial_keyword: "start", | 1798 default_value: "start", |
1793 field_template: "keyword", | 1799 field_template: "keyword", |
1794 keywords: [ | 1800 keywords: [ |
1795 "left", "right", "center", "justify", "webkitLeft", "webkitRight", "webk
itCenter", "start", "end", | 1801 "left", "right", "center", "justify", "webkitLeft", "webkitRight", "webk
itCenter", "start", "end", |
1796 ], | 1802 ], |
1797 }, | 1803 }, |
1798 { | 1804 { |
1799 name: "text-align-last", | 1805 name: "text-align-last", |
1800 inherited: true, | 1806 inherited: true, |
1801 type_name: "TextAlignLast", | 1807 type_name: "TextAlignLast", |
1802 }, | 1808 }, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1878 api_class: true, | 1884 api_class: true, |
1879 api_methods: ["parseSingleValue"], | 1885 api_methods: ["parseSingleValue"], |
1880 converter: "convertTextSizeAdjust", | 1886 converter: "convertTextSizeAdjust", |
1881 inherited: true, | 1887 inherited: true, |
1882 type_name: "TextSizeAdjust", | 1888 type_name: "TextSizeAdjust", |
1883 }, | 1889 }, |
1884 { | 1890 { |
1885 name: "text-transform", | 1891 name: "text-transform", |
1886 independent: true, | 1892 independent: true, |
1887 inherited: true, | 1893 inherited: true, |
1888 initial_keyword: "none", | 1894 default_value: "none", |
1889 field_template: "keyword", | 1895 field_template: "keyword", |
1890 keywords: ["capitalize", "uppercase", "lowercase", "none"], | 1896 keywords: ["capitalize", "uppercase", "lowercase", "none"], |
1891 }, | 1897 }, |
1892 { | 1898 { |
1893 name: "text-underline-position", | 1899 name: "text-underline-position", |
1894 api_class: true, | 1900 api_class: true, |
1895 api_methods: ["parseSingleValue"], | 1901 api_methods: ["parseSingleValue"], |
1896 inherited: true, | 1902 inherited: true, |
1897 runtime_flag: "CSS3TextDecorations", | 1903 runtime_flag: "CSS3TextDecorations", |
1898 type_name: "TextUnderlinePosition", | 1904 type_name: "TextUnderlinePosition", |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1953 name: "scale", | 1959 name: "scale", |
1954 api_class: true, | 1960 api_class: true, |
1955 api_methods: ["parseSingleValue"], | 1961 api_methods: ["parseSingleValue"], |
1956 converter: "convertScale", | 1962 converter: "convertScale", |
1957 interpolable: true, | 1963 interpolable: true, |
1958 runtime_flag: "CSSIndependentTransformProperties", | 1964 runtime_flag: "CSSIndependentTransformProperties", |
1959 }, | 1965 }, |
1960 { | 1966 { |
1961 name: "unicode-bidi", | 1967 name: "unicode-bidi", |
1962 field_type_path: "platform/text/UnicodeBidi", | 1968 field_type_path: "platform/text/UnicodeBidi", |
1963 initial_keyword: "normal", | 1969 default_value: "normal", |
1964 field_template: "keyword", | 1970 field_template: "keyword", |
1965 keywords: [ | 1971 keywords: [ |
1966 "normal", "embed", "bidi-override", "isolate", "plaintext", "isolate-ove
rride", | 1972 "normal", "embed", "bidi-override", "isolate", "plaintext", "isolate-ove
rride", |
1967 ], | 1973 ], |
1968 type_name: "UnicodeBidi", | 1974 type_name: "UnicodeBidi", |
1969 }, | 1975 }, |
1970 { | 1976 { |
1971 name: "vector-effect", | 1977 name: "vector-effect", |
1972 svg: true, | 1978 svg: true, |
1973 }, | 1979 }, |
1974 { | 1980 { |
1975 name: "vertical-align", | 1981 name: "vertical-align", |
1976 api_class: true, | 1982 api_class: true, |
1977 api_methods: ["parseSingleValue"], | 1983 api_methods: ["parseSingleValue"], |
1978 custom_inherit: true, | 1984 custom_inherit: true, |
1979 custom_value: true, | 1985 custom_value: true, |
1980 interpolable: true, | 1986 interpolable: true, |
1981 }, | 1987 }, |
1982 { | 1988 { |
1983 name: "visibility", | 1989 name: "visibility", |
1984 independent: true, | 1990 independent: true, |
1985 inherited: true, | 1991 inherited: true, |
1986 initial_keyword: "visible", | 1992 default_value: "visible", |
1987 interpolable: true, | 1993 interpolable: true, |
1988 field_template: "keyword", | 1994 field_template: "keyword", |
1989 keywords: ["visible", "hidden", "collapse"], | 1995 keywords: ["visible", "hidden", "collapse"], |
1990 }, | 1996 }, |
1991 { | 1997 { |
1992 name: "x", | 1998 name: "x", |
1993 api_class: "CSSPropertyAPIStrokeOrLength", | 1999 api_class: "CSSPropertyAPIStrokeOrLength", |
1994 converter: "convertLength", | 2000 converter: "convertLength", |
1995 interpolable: true, | 2001 interpolable: true, |
1996 svg: true, | 2002 svg: true, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2044 }, | 2050 }, |
2045 { | 2051 { |
2046 name: "-webkit-box-align", | 2052 name: "-webkit-box-align", |
2047 type_name: "EBoxAlignment", | 2053 type_name: "EBoxAlignment", |
2048 }, | 2054 }, |
2049 "-webkit-box-decoration-break", | 2055 "-webkit-box-decoration-break", |
2050 { | 2056 { |
2051 name: "-webkit-box-direction", | 2057 name: "-webkit-box-direction", |
2052 independent: true, | 2058 independent: true, |
2053 inherited: true, | 2059 inherited: true, |
2054 initial_keyword: "normal", | 2060 default_value: "normal", |
2055 field_template: "keyword", | 2061 field_template: "keyword", |
2056 keywords: ["normal", "reverse"], | 2062 keywords: ["normal", "reverse"], |
2057 }, | 2063 }, |
2058 { | 2064 { |
2059 name: "-webkit-box-flex", | 2065 name: "-webkit-box-flex", |
2060 api_class: true, | 2066 api_class: true, |
2061 type_name: "float", | 2067 type_name: "float", |
2062 }, | 2068 }, |
2063 { | 2069 { |
2064 name: "-webkit-box-flex-group", | 2070 name: "-webkit-box-flex-group", |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2251 { | 2257 { |
2252 name: "-webkit-perspective-origin-y", | 2258 name: "-webkit-perspective-origin-y", |
2253 api_class: "CSSPropertyAPIWebkitOriginY", | 2259 api_class: "CSSPropertyAPIWebkitOriginY", |
2254 converter: "convertLength", | 2260 converter: "convertLength", |
2255 interpolable: true, | 2261 interpolable: true, |
2256 }, | 2262 }, |
2257 { | 2263 { |
2258 name: "-webkit-print-color-adjust", | 2264 name: "-webkit-print-color-adjust", |
2259 independent: true, | 2265 independent: true, |
2260 inherited: true, | 2266 inherited: true, |
2261 initial_keyword: "economy", | 2267 default_value: "economy", |
2262 field_template: "keyword", | 2268 field_template: "keyword", |
2263 keywords: ["economy", "exact"], | 2269 keywords: ["economy", "exact"], |
2264 }, | 2270 }, |
2265 { | 2271 { |
2266 name: "-webkit-rtl-ordering", | 2272 name: "-webkit-rtl-ordering", |
2267 independent: true, | 2273 independent: true, |
2268 inherited: true, | 2274 inherited: true, |
2269 initial: "initialRtlOrdering", | 2275 initial: "initialRtlOrdering", |
2270 initial_keyword: "logical", | 2276 default_value: "logical", |
2271 field_template: "keyword", | 2277 field_template: "keyword", |
2272 keywords: ["logical", "visual"], | 2278 keywords: ["logical", "visual"], |
2273 setter: "setRtlOrdering", | 2279 setter: "setRtlOrdering", |
2274 type_name: "EOrder", | 2280 type_name: "EOrder", |
2275 }, | 2281 }, |
2276 { | 2282 { |
2277 name: "-webkit-ruby-position", | 2283 name: "-webkit-ruby-position", |
2278 inherited: true, | 2284 inherited: true, |
2279 type_name: "RubyPosition", | 2285 type_name: "RubyPosition", |
2280 }, | 2286 }, |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2361 inherited: true, | 2367 inherited: true, |
2362 }, | 2368 }, |
2363 { | 2369 { |
2364 name: "user-select", | 2370 name: "user-select", |
2365 inherited: true, | 2371 inherited: true, |
2366 }, | 2372 }, |
2367 { | 2373 { |
2368 name: "white-space", | 2374 name: "white-space", |
2369 independent: true, | 2375 independent: true, |
2370 inherited: true, | 2376 inherited: true, |
2371 initial_keyword: "normal", | 2377 default_value: "normal", |
2372 field_template: "keyword", | 2378 field_template: "keyword", |
2373 keywords: ["normal", "pre", "pre-wrap", "pre-line", "nowrap", "-webkit-now
rap"], | 2379 keywords: ["normal", "pre", "pre-wrap", "pre-line", "nowrap", "-webkit-now
rap"], |
2374 }, | 2380 }, |
2375 { | 2381 { |
2376 name: "widows", | 2382 name: "widows", |
2377 api_class: "CSSPropertyAPIFragmentation", | 2383 api_class: "CSSPropertyAPIFragmentation", |
2378 api_methods: ["parseSingleValue"], | 2384 api_methods: ["parseSingleValue"], |
2379 inherited: true, | 2385 inherited: true, |
2380 interpolable: true, | 2386 interpolable: true, |
2381 type_name: "short", | 2387 type_name: "short", |
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3165 { | 3171 { |
3166 name: "-webkit-transition-timing-function", | 3172 name: "-webkit-transition-timing-function", |
3167 alias_for: "transition-timing-function", | 3173 alias_for: "transition-timing-function", |
3168 }, | 3174 }, |
3169 { | 3175 { |
3170 name: "-webkit-user-select", | 3176 name: "-webkit-user-select", |
3171 alias_for: "user-select", | 3177 alias_for: "user-select", |
3172 }, | 3178 }, |
3173 ], | 3179 ], |
3174 } | 3180 } |
OLD | NEW |