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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 // in the .h file for this property, and also used in CSSPropertyAPIFiles.h.
tmpl to | 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. | 49 // generate declarations for only the methods this property has implementati
ons for. |
50 api_methods: { | 50 api_methods: { |
51 default: [], | 51 default: [], |
52 valid_type: "list", | 52 valid_type: "list", |
53 // This list must be an ordered, complete list of methods whose names mat
ch those | 53 // This list must be an ordered, complete list of methods whose names mat
ch those |
54 // defined in CSSPropertyDescriptor.h. | 54 // defined in CSSPropertyDescriptor.h. |
55 valid_values: ["parseSingleValue", "parseShorthand"], | 55 valid_values: ["parseSingleValue", "parseShorthand"], |
56 }, | 56 }, |
57 | 57 |
58 // - keyword_only | 58 // - field_template |
59 // These properties only store keyword values. This is used when | 59 // Affects how this field is generated in terms of storage and getter/setter
methods. |
60 // generating the ComputedStyle storage for the property. The initial | 60 // - 'keyword' fields are generated as enums stored in a bitfield. |
61 // value for this property on a ComputedStyle is specified with the | |
62 // initial_keyword flag below. | |
63 // TODO(sashab): Rename this to field_type=keyword once we support | |
64 // multiple types of generatable fields in ComputedStyle | |
65 // TODO(sashab, meade): Remove this once TypedOM types are specified for | 61 // TODO(sashab, meade): Remove this once TypedOM types are specified for |
66 // every property, since this value can be inferred from that. | 62 // every property, since this value can be inferred from that. |
67 keyword_only: { | 63 field_template: { |
68 default: false, | 64 valid_values: [ |
69 valid_type: "bool", | 65 "keyword", // Field can take on one of several keyword values. Stored as
enum. |
| 66 ], |
70 }, | 67 }, |
71 | 68 |
72 // - field_storage_type: "path/to/Type" | 69 // - field_type_path: "path/to/Type" |
73 // For properties that have generated field storage in ComputedStyle, | 70 // For properties that have generated field storage in ComputedStyle, |
74 // this optional argument will override the field's generated type with | 71 // this optional argument will override the field's generated type with |
75 // an external one specified at the given path. The type must be defined | 72 // an external one specified at the given path. The type must be defined |
76 // in a header file at that path, and have the same name as the file. | 73 // in a header file at that path, and have the same name as the file. |
77 // Currently, only enum types are supported, and the enum's only values | 74 // Currently, only enum types are supported, and the enum's only values |
78 // must be CamelCase values of the keywords of the property. | 75 // must be CamelCase values of the keywords of the property. |
79 field_storage_type: { | 76 field_type_path: { |
80 }, | 77 }, |
81 | 78 |
82 // - keywords: ["keyword1", "keyword2"] | 79 // - keywords: ["keyword1", "keyword2"] |
83 // This specifies all valid keyword values for the property. | 80 // This specifies all valid keyword values for the property. |
84 // TODO(sashab): Once all properties are represented here, delete | 81 // TODO(sashab): Once all properties are represented here, delete |
85 // CSSValueKeywords.in and use this list instead. | 82 // CSSValueKeywords.in and use this list instead. |
86 keywords: { | 83 keywords: { |
87 default: [], | 84 default: [], |
88 }, | 85 }, |
89 | 86 |
90 // - initial_keyword: "keyword-value" | 87 // - initial_keyword: "keyword-value" |
91 // This specifies the initial keyword value for the keyword_only | 88 // This specifies the initial keyword value for the keyword fields. |
92 // property. | |
93 initial_keyword: { | 89 initial_keyword: { |
94 }, | 90 }, |
95 | 91 |
96 // Flags which go into CSSOMTypes: | 92 // Flags which go into CSSOMTypes: |
97 // - typedom_types: ["Type", "OtherType"] | 93 // - typedom_types: ["Type", "OtherType"] |
98 // The property can take types specified in typedom_types for CSS Typed OM. | 94 // The property can take types specified in typedom_types for CSS Typed OM. |
99 // Keyword does not need to be specified as every property can take keywords
. | 95 // Keyword does not need to be specified as every property can take keywords
. |
100 // - repeated | 96 // - repeated |
101 // The property supports a list of values. | 97 // The property supports a list of values. |
102 // - supports_percentage | 98 // - supports_percentage |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 { | 317 { |
322 name: "color", | 318 name: "color", |
323 custom_all: true, | 319 custom_all: true, |
324 inherited: true, | 320 inherited: true, |
325 interpolable: true, | 321 interpolable: true, |
326 priority: "High", | 322 priority: "High", |
327 }, | 323 }, |
328 { | 324 { |
329 name: "direction", | 325 name: "direction", |
330 custom_value: true, | 326 custom_value: true, |
331 field_storage_type: "platform/text/TextDirection", | 327 field_type_path: "platform/text/TextDirection", |
332 inherited: true, | 328 inherited: true, |
333 initial_keyword: "ltr", | 329 initial_keyword: "ltr", |
334 keyword_only: true, | 330 field_template: "keyword", |
335 keywords: ["ltr", "rtl"], | 331 keywords: ["ltr", "rtl"], |
336 priority: "High", | 332 priority: "High", |
337 }, | 333 }, |
338 { | 334 { |
339 name: "font-family", | 335 name: "font-family", |
340 converter: "convertFontFamily", | 336 converter: "convertFontFamily", |
341 font: true, | 337 font: true, |
342 inherited: true, | 338 inherited: true, |
343 name_for_methods: "FamilyDescription", | 339 name_for_methods: "FamilyDescription", |
344 priority: "High", | 340 priority: "High", |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 { | 470 { |
475 name: "-webkit-text-orientation", | 471 name: "-webkit-text-orientation", |
476 custom_value: true, | 472 custom_value: true, |
477 inherited: true, | 473 inherited: true, |
478 priority: "High", | 474 priority: "High", |
479 type_name: "TextOrientation", | 475 type_name: "TextOrientation", |
480 }, | 476 }, |
481 { | 477 { |
482 name: "writing-mode", | 478 name: "writing-mode", |
483 custom_value: true, | 479 custom_value: true, |
484 field_storage_type: "platform/text/WritingMode", | 480 field_type_path: "platform/text/WritingMode", |
485 inherited: true, | 481 inherited: true, |
486 initial_keyword: "horizontal-tb", | 482 initial_keyword: "horizontal-tb", |
487 keyword_only: true, | 483 field_template: "keyword", |
488 keywords: ["horizontal-tb", "vertical-rl", "vertical-lr"], | 484 keywords: ["horizontal-tb", "vertical-rl", "vertical-lr"], |
489 priority: "High", | 485 priority: "High", |
490 type_name: "WritingMode", | 486 type_name: "WritingMode", |
491 }, | 487 }, |
492 { | 488 { |
493 name: "-webkit-writing-mode", | 489 name: "-webkit-writing-mode", |
494 custom_value: true, | 490 custom_value: true, |
495 inherited: true, | 491 inherited: true, |
496 priority: "High", | 492 priority: "High", |
497 type_name: "WritingMode", | 493 type_name: "WritingMode", |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 api_class: "CSSPropertyAPIBorderWidth", | 630 api_class: "CSSPropertyAPIBorderWidth", |
635 converter: "convertLineWidth<float>", | 631 converter: "convertLineWidth<float>", |
636 initial: "initialBorderWidth", | 632 initial: "initialBorderWidth", |
637 interpolable: true, | 633 interpolable: true, |
638 }, | 634 }, |
639 { | 635 { |
640 name: "border-collapse", | 636 name: "border-collapse", |
641 independent: true, | 637 independent: true, |
642 inherited: true, | 638 inherited: true, |
643 initial_keyword: "separate", | 639 initial_keyword: "separate", |
644 keyword_only: true, | 640 field_template: "keyword", |
645 keywords: ["separate", "collapse"], | 641 keywords: ["separate", "collapse"], |
646 }, | 642 }, |
647 { | 643 { |
648 name: "border-image-outset", | 644 name: "border-image-outset", |
649 api_class: "CSSPropertyAPIBorderImageOutset", | 645 api_class: "CSSPropertyAPIBorderImageOutset", |
650 custom_all: true, | 646 custom_all: true, |
651 interpolable: true, | 647 interpolable: true, |
652 }, | 648 }, |
653 { | 649 { |
654 name: "border-image-repeat", | 650 name: "border-image-repeat", |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 name: "box-shadow", | 757 name: "box-shadow", |
762 converter: "convertShadowList", | 758 converter: "convertShadowList", |
763 interpolable: true, | 759 interpolable: true, |
764 }, | 760 }, |
765 "box-sizing", | 761 "box-sizing", |
766 { | 762 { |
767 name: "break-after", | 763 name: "break-after", |
768 // Storage for this property also covers these legacy properties: | 764 // Storage for this property also covers these legacy properties: |
769 // page-break-after, -webkit-column-break-after | 765 // page-break-after, -webkit-column-break-after |
770 initial_keyword: "auto", | 766 initial_keyword: "auto", |
771 keyword_only: true, | 767 field_template: "keyword", |
772 keywords: [ | 768 keywords: [ |
773 "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page",
"recto", "right", "verso" | 769 "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page",
"recto", "right", "verso" |
774 ], | 770 ], |
775 type_name: "EBreakBetween", | 771 type_name: "EBreakBetween", |
776 }, | 772 }, |
777 { | 773 { |
778 name: "break-before", | 774 name: "break-before", |
779 // Storage for this property also covers these legacy properties: | 775 // Storage for this property also covers these legacy properties: |
780 // page-break-before, -webkit-column-break-before | 776 // page-break-before, -webkit-column-break-before |
781 initial_keyword: "auto", | 777 initial_keyword: "auto", |
782 keyword_only: true, | 778 field_template: "keyword", |
783 keywords: [ | 779 keywords: [ |
784 "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page",
"recto", "right", "verso" | 780 "auto", "avoid", "avoid-column", "avoid-page", "column", "left", "page",
"recto", "right", "verso" |
785 ], | 781 ], |
786 type_name: "EBreakBetween", | 782 type_name: "EBreakBetween", |
787 }, | 783 }, |
788 { | 784 { |
789 name: "break-inside", | 785 name: "break-inside", |
790 // Storage for this property also covers these legacy properties: | 786 // Storage for this property also covers these legacy properties: |
791 // page-break-inside, -webkit-column-break-inside | 787 // page-break-inside, -webkit-column-break-inside |
792 initial_keyword: "auto", | 788 initial_keyword: "auto", |
793 keyword_only: true, | 789 field_template: "keyword", |
794 keywords: ["auto", "avoid", "avoid-column", "avoid-page"], | 790 keywords: ["auto", "avoid", "avoid-column", "avoid-page"], |
795 }, | 791 }, |
796 { | 792 { |
797 name: "buffered-rendering", | 793 name: "buffered-rendering", |
798 svg: true, | 794 svg: true, |
799 }, | 795 }, |
800 { | 796 { |
801 name: "caption-side", | 797 name: "caption-side", |
802 independent: true, | 798 independent: true, |
803 inherited: true, | 799 inherited: true, |
804 initial_keyword: "top", | 800 initial_keyword: "top", |
805 keyword_only: true, | 801 field_template: "keyword", |
806 keywords: ["top", "bottom", "left", "right"], | 802 keywords: ["top", "bottom", "left", "right"], |
807 }, | 803 }, |
808 { | 804 { |
809 name: "caret-color", | 805 name: "caret-color", |
810 api_class: true, | 806 api_class: true, |
811 api_methods: ["parseSingleValue"], | 807 api_methods: ["parseSingleValue"], |
812 custom_all: true, | 808 custom_all: true, |
813 inherited: true, | 809 inherited: true, |
814 interpolable: true, | 810 interpolable: true, |
815 }, | 811 }, |
816 { | 812 { |
817 name: "clear", | 813 name: "clear", |
818 initial_keyword: "none", | 814 initial_keyword: "none", |
819 keyword_only: true, | 815 field_template: "keyword", |
820 keywords: ["none", "left", "right", "both"], | 816 keywords: ["none", "left", "right", "both"], |
821 }, | 817 }, |
822 { | 818 { |
823 name: "clip", | 819 name: "clip", |
824 api_class: true, | 820 api_class: true, |
825 api_methods: ["parseSingleValue"], | 821 api_methods: ["parseSingleValue"], |
826 converter: "convertClip", | 822 converter: "convertClip", |
827 custom_all: true, | 823 custom_all: true, |
828 interpolable: true, | 824 interpolable: true, |
829 }, | 825 }, |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
916 { | 912 { |
917 name: "dominant-baseline", | 913 name: "dominant-baseline", |
918 inherited: true, | 914 inherited: true, |
919 svg: true, | 915 svg: true, |
920 }, | 916 }, |
921 { | 917 { |
922 name: "empty-cells", | 918 name: "empty-cells", |
923 independent: true, | 919 independent: true, |
924 inherited: true, | 920 inherited: true, |
925 initial_keyword: "show", | 921 initial_keyword: "show", |
926 keyword_only: true, | 922 field_template: "keyword", |
927 keywords: ["show", "hide"], | 923 keywords: ["show", "hide"], |
928 type_name: "EEmptyCells", | 924 type_name: "EEmptyCells", |
929 }, | 925 }, |
930 { | 926 { |
931 name: "fill", | 927 name: "fill", |
932 api_class: "CSSPropertyAPIPaintStroke", | 928 api_class: "CSSPropertyAPIPaintStroke", |
933 api_methods: ["parseSingleValue"], | 929 api_methods: ["parseSingleValue"], |
934 custom_all: true, | 930 custom_all: true, |
935 inherited: true, | 931 inherited: true, |
936 interpolable: true, | 932 interpolable: true, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 { | 971 { |
976 name: "flex-shrink", | 972 name: "flex-shrink", |
977 api_class: "CSSPropertyAPIFlexGrowOrShrink", | 973 api_class: "CSSPropertyAPIFlexGrowOrShrink", |
978 interpolable: true, | 974 interpolable: true, |
979 type_name: "float", | 975 type_name: "float", |
980 }, | 976 }, |
981 "flex-wrap", | 977 "flex-wrap", |
982 { | 978 { |
983 name: "float", | 979 name: "float", |
984 initial_keyword: "none", | 980 initial_keyword: "none", |
985 keyword_only: true, | 981 field_template: "keyword", |
986 keywords: ["none", "left", "right"], | 982 keywords: ["none", "left", "right"], |
987 name_for_methods: "Floating", | 983 name_for_methods: "Floating", |
988 type_name: "EFloat", | 984 type_name: "EFloat", |
989 }, | 985 }, |
990 { | 986 { |
991 name: "flood-color", | 987 name: "flood-color", |
992 api_class: "CSSPropertyAPIColor", | 988 api_class: "CSSPropertyAPIColor", |
993 api_methods: ["parseSingleValue"], | 989 api_methods: ["parseSingleValue"], |
994 converter: "convertColor", | 990 converter: "convertColor", |
995 interpolable: true, | 991 interpolable: true, |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1169 custom_value: true, | 1165 custom_value: true, |
1170 inherited: true, | 1166 inherited: true, |
1171 interpolable: true, | 1167 interpolable: true, |
1172 typedom_types: ["Image"], | 1168 typedom_types: ["Image"], |
1173 }, | 1169 }, |
1174 { | 1170 { |
1175 name: "list-style-position", | 1171 name: "list-style-position", |
1176 independent: true, | 1172 independent: true, |
1177 inherited: true, | 1173 inherited: true, |
1178 initial_keyword: "outside", | 1174 initial_keyword: "outside", |
1179 keyword_only: true, | 1175 field_template: "keyword", |
1180 keywords: ["outside", "inside"], | 1176 keywords: ["outside", "inside"], |
1181 }, | 1177 }, |
1182 { | 1178 { |
1183 name: "list-style-type", | 1179 name: "list-style-type", |
1184 inherited: true, | 1180 inherited: true, |
1185 initial_keyword: "disc", | 1181 initial_keyword: "disc", |
1186 keyword_only: true, | 1182 field_template: "keyword", |
1187 keywords: [ | 1183 keywords: [ |
1188 "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", | 1184 "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", |
1189 ], | 1185 ], |
1190 }, | 1186 }, |
1191 { | 1187 { |
1192 name: "margin-bottom", | 1188 name: "margin-bottom", |
1193 api_class: "CSSPropertyAPIMargin", | 1189 api_class: "CSSPropertyAPIMargin", |
1194 api_methods: ["parseSingleValue"], | 1190 api_methods: ["parseSingleValue"], |
1195 converter: "convertQuirkyLength", | 1191 converter: "convertQuirkyLength", |
1196 initial: "initialMargin", | 1192 initial: "initialMargin", |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1392 api_class: true, | 1388 api_class: true, |
1393 api_methods: ["parseSingleValue"], | 1389 api_methods: ["parseSingleValue"], |
1394 converter: "convertLineWidth<unsigned short>", | 1390 converter: "convertLineWidth<unsigned short>", |
1395 interpolable: true, | 1391 interpolable: true, |
1396 }, | 1392 }, |
1397 { | 1393 { |
1398 name: "overflow-anchor", | 1394 name: "overflow-anchor", |
1399 runtime_flag: "ScrollAnchoring", | 1395 runtime_flag: "ScrollAnchoring", |
1400 inherited: false, | 1396 inherited: false, |
1401 initial_keyword: "auto", | 1397 initial_keyword: "auto", |
1402 keyword_only: true, | 1398 field_template: "keyword", |
1403 keywords: [ | 1399 keywords: [ |
1404 "visible", "none", "auto", | 1400 "visible", "none", "auto", |
1405 ], | 1401 ], |
1406 }, | 1402 }, |
1407 { | 1403 { |
1408 name: "overflow-wrap", | 1404 name: "overflow-wrap", |
1409 inherited: true, | 1405 inherited: true, |
1410 }, | 1406 }, |
1411 { | 1407 { |
1412 name: "overflow-x", | 1408 name: "overflow-x", |
1413 initial_keyword: "visible", | 1409 initial_keyword: "visible", |
1414 keyword_only: true, | 1410 field_template: "keyword", |
1415 keywords: [ | 1411 keywords: [ |
1416 "visible", "hidden", "scroll", "auto", "overlay", "-webkit-paged-x", "-w
ebkit-paged-y", | 1412 "visible", "hidden", "scroll", "auto", "overlay", "-webkit-paged-x", "-w
ebkit-paged-y", |
1417 ], | 1413 ], |
1418 type_name: "EOverflow", | 1414 type_name: "EOverflow", |
1419 }, | 1415 }, |
1420 { | 1416 { |
1421 name: "overflow-y", | 1417 name: "overflow-y", |
1422 initial_keyword: "visible", | 1418 initial_keyword: "visible", |
1423 keyword_only: true, | 1419 field_template: "keyword", |
1424 keywords: [ | 1420 keywords: [ |
1425 "visible", "hidden", "scroll", "auto", "overlay", "-webkit-paged-x", "-w
ebkit-paged-y", | 1421 "visible", "hidden", "scroll", "auto", "overlay", "-webkit-paged-x", "-w
ebkit-paged-y", |
1426 ], | 1422 ], |
1427 type_name: "EOverflow", | 1423 type_name: "EOverflow", |
1428 }, | 1424 }, |
1429 { | 1425 { |
1430 name: "padding-bottom", | 1426 name: "padding-bottom", |
1431 api_class: "CSSPropertyAPIPadding", | 1427 api_class: "CSSPropertyAPIPadding", |
1432 api_methods: ["parseSingleValue"], | 1428 api_methods: ["parseSingleValue"], |
1433 converter: "convertLength", | 1429 converter: "convertLength", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1475 { | 1471 { |
1476 name: "perspective-origin", | 1472 name: "perspective-origin", |
1477 converter: "convertPosition", | 1473 converter: "convertPosition", |
1478 interpolable: true, | 1474 interpolable: true, |
1479 }, | 1475 }, |
1480 { | 1476 { |
1481 name: "pointer-events", | 1477 name: "pointer-events", |
1482 independent: true, | 1478 independent: true, |
1483 inherited: true, | 1479 inherited: true, |
1484 initial_keyword: "auto", | 1480 initial_keyword: "auto", |
1485 keyword_only: true, | 1481 field_template: "keyword", |
1486 keywords: [ | 1482 keywords: [ |
1487 "none", "auto", "stroke", "fill", "painted", "visible", "visibleStroke",
"visibleFill", "visiblePainted", "bounding-box", "all", | 1483 "none", "auto", "stroke", "fill", "painted", "visible", "visibleStroke",
"visibleFill", "visiblePainted", "bounding-box", "all", |
1488 ], | 1484 ], |
1489 }, | 1485 }, |
1490 { | 1486 { |
1491 name: "position", | 1487 name: "position", |
1492 custom_inherit: true, | 1488 custom_inherit: true, |
1493 }, | 1489 }, |
1494 { | 1490 { |
1495 name: "quotes", | 1491 name: "quotes", |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1695 name: "stroke-width", | 1691 name: "stroke-width", |
1696 api_class: "CSSPropertyAPIStrokeOrLength", | 1692 api_class: "CSSPropertyAPIStrokeOrLength", |
1697 converter: "convertUnzoomedLength", | 1693 converter: "convertUnzoomedLength", |
1698 inherited: true, | 1694 inherited: true, |
1699 interpolable: true, | 1695 interpolable: true, |
1700 svg: true, | 1696 svg: true, |
1701 }, | 1697 }, |
1702 { | 1698 { |
1703 name: "table-layout", | 1699 name: "table-layout", |
1704 initial_keyword: "auto", | 1700 initial_keyword: "auto", |
1705 keyword_only: true, | 1701 field_template: "keyword", |
1706 keywords: [ | 1702 keywords: [ |
1707 "auto", "fixed" | 1703 "auto", "fixed" |
1708 ] | 1704 ] |
1709 }, | 1705 }, |
1710 { | 1706 { |
1711 name: "tab-size", | 1707 name: "tab-size", |
1712 api_class: true, | 1708 api_class: true, |
1713 api_methods: ["parseSingleValue"], | 1709 api_methods: ["parseSingleValue"], |
1714 converter: "convertLengthOrTabSpaces", | 1710 converter: "convertLengthOrTabSpaces", |
1715 inherited: true, | 1711 inherited: true, |
1716 type_name: "TabSize", | 1712 type_name: "TabSize", |
1717 }, | 1713 }, |
1718 { | 1714 { |
1719 name: "text-align", | 1715 name: "text-align", |
1720 custom_value: true, | 1716 custom_value: true, |
1721 inherited: true, | 1717 inherited: true, |
1722 initial_keyword: "start", | 1718 initial_keyword: "start", |
1723 keyword_only: true, | 1719 field_template: "keyword", |
1724 keywords: [ | 1720 keywords: [ |
1725 "left", "right", "center", "justify", "webkitLeft", "webkitRight", "webk
itCenter", "start", "end", | 1721 "left", "right", "center", "justify", "webkitLeft", "webkitRight", "webk
itCenter", "start", "end", |
1726 ], | 1722 ], |
1727 }, | 1723 }, |
1728 { | 1724 { |
1729 name: "text-align-last", | 1725 name: "text-align-last", |
1730 inherited: true, | 1726 inherited: true, |
1731 type_name: "TextAlignLast", | 1727 type_name: "TextAlignLast", |
1732 }, | 1728 }, |
1733 { | 1729 { |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1809 api_methods: ["parseSingleValue"], | 1805 api_methods: ["parseSingleValue"], |
1810 converter: "convertTextSizeAdjust", | 1806 converter: "convertTextSizeAdjust", |
1811 inherited: true, | 1807 inherited: true, |
1812 type_name: "TextSizeAdjust", | 1808 type_name: "TextSizeAdjust", |
1813 }, | 1809 }, |
1814 { | 1810 { |
1815 name: "text-transform", | 1811 name: "text-transform", |
1816 independent: true, | 1812 independent: true, |
1817 inherited: true, | 1813 inherited: true, |
1818 initial_keyword: "none", | 1814 initial_keyword: "none", |
1819 keyword_only: true, | 1815 field_template: "keyword", |
1820 keywords: ["capitalize", "uppercase", "lowercase", "none"], | 1816 keywords: ["capitalize", "uppercase", "lowercase", "none"], |
1821 }, | 1817 }, |
1822 { | 1818 { |
1823 name: "text-underline-position", | 1819 name: "text-underline-position", |
1824 api_class: true, | 1820 api_class: true, |
1825 api_methods: ["parseSingleValue"], | 1821 api_methods: ["parseSingleValue"], |
1826 inherited: true, | 1822 inherited: true, |
1827 runtime_flag: "CSS3TextDecorations", | 1823 runtime_flag: "CSS3TextDecorations", |
1828 type_name: "TextUnderlinePosition", | 1824 type_name: "TextUnderlinePosition", |
1829 }, | 1825 }, |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1882 { | 1878 { |
1883 name: "scale", | 1879 name: "scale", |
1884 api_class: true, | 1880 api_class: true, |
1885 api_methods: ["parseSingleValue"], | 1881 api_methods: ["parseSingleValue"], |
1886 converter: "convertScale", | 1882 converter: "convertScale", |
1887 interpolable: true, | 1883 interpolable: true, |
1888 runtime_flag: "CSSIndependentTransformProperties", | 1884 runtime_flag: "CSSIndependentTransformProperties", |
1889 }, | 1885 }, |
1890 { | 1886 { |
1891 name: "unicode-bidi", | 1887 name: "unicode-bidi", |
1892 field_storage_type: "platform/text/UnicodeBidi", | 1888 field_type_path: "platform/text/UnicodeBidi", |
1893 initial_keyword: "normal", | 1889 initial_keyword: "normal", |
1894 keyword_only: true, | 1890 field_template: "keyword", |
1895 keywords: [ | 1891 keywords: [ |
1896 "normal", "embed", "bidi-override", "isolate", "plaintext", "isolate-ove
rride", | 1892 "normal", "embed", "bidi-override", "isolate", "plaintext", "isolate-ove
rride", |
1897 ], | 1893 ], |
1898 type_name: "UnicodeBidi", | 1894 type_name: "UnicodeBidi", |
1899 }, | 1895 }, |
1900 { | 1896 { |
1901 name: "vector-effect", | 1897 name: "vector-effect", |
1902 svg: true, | 1898 svg: true, |
1903 }, | 1899 }, |
1904 { | 1900 { |
1905 name: "vertical-align", | 1901 name: "vertical-align", |
1906 api_class: true, | 1902 api_class: true, |
1907 api_methods: ["parseSingleValue"], | 1903 api_methods: ["parseSingleValue"], |
1908 custom_inherit: true, | 1904 custom_inherit: true, |
1909 custom_value: true, | 1905 custom_value: true, |
1910 interpolable: true, | 1906 interpolable: true, |
1911 }, | 1907 }, |
1912 { | 1908 { |
1913 name: "visibility", | 1909 name: "visibility", |
1914 independent: true, | 1910 independent: true, |
1915 inherited: true, | 1911 inherited: true, |
1916 initial_keyword: "visible", | 1912 initial_keyword: "visible", |
1917 interpolable: true, | 1913 interpolable: true, |
1918 keyword_only: true, | 1914 field_template: "keyword", |
1919 keywords: ["visible", "hidden", "collapse"], | 1915 keywords: ["visible", "hidden", "collapse"], |
1920 }, | 1916 }, |
1921 { | 1917 { |
1922 name: "x", | 1918 name: "x", |
1923 api_class: "CSSPropertyAPIStrokeOrLength", | 1919 api_class: "CSSPropertyAPIStrokeOrLength", |
1924 converter: "convertLength", | 1920 converter: "convertLength", |
1925 interpolable: true, | 1921 interpolable: true, |
1926 svg: true, | 1922 svg: true, |
1927 }, | 1923 }, |
1928 { | 1924 { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1973 { | 1969 { |
1974 name: "-webkit-box-align", | 1970 name: "-webkit-box-align", |
1975 type_name: "EBoxAlignment", | 1971 type_name: "EBoxAlignment", |
1976 }, | 1972 }, |
1977 "-webkit-box-decoration-break", | 1973 "-webkit-box-decoration-break", |
1978 { | 1974 { |
1979 name: "-webkit-box-direction", | 1975 name: "-webkit-box-direction", |
1980 independent: true, | 1976 independent: true, |
1981 inherited: true, | 1977 inherited: true, |
1982 initial_keyword: "normal", | 1978 initial_keyword: "normal", |
1983 keyword_only: true, | 1979 field_template: "keyword", |
1984 keywords: ["normal", "reverse"], | 1980 keywords: ["normal", "reverse"], |
1985 }, | 1981 }, |
1986 { | 1982 { |
1987 name: "-webkit-box-flex", | 1983 name: "-webkit-box-flex", |
1988 api_class: true, | 1984 api_class: true, |
1989 type_name: "float", | 1985 type_name: "float", |
1990 }, | 1986 }, |
1991 { | 1987 { |
1992 name: "-webkit-box-flex-group", | 1988 name: "-webkit-box-flex-group", |
1993 api_class: true, | 1989 api_class: true, |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2178 name: "-webkit-perspective-origin-y", | 2174 name: "-webkit-perspective-origin-y", |
2179 api_class: "CSSPropertyAPIWebkitOriginY", | 2175 api_class: "CSSPropertyAPIWebkitOriginY", |
2180 converter: "convertLength", | 2176 converter: "convertLength", |
2181 interpolable: true, | 2177 interpolable: true, |
2182 }, | 2178 }, |
2183 { | 2179 { |
2184 name: "-webkit-print-color-adjust", | 2180 name: "-webkit-print-color-adjust", |
2185 independent: true, | 2181 independent: true, |
2186 inherited: true, | 2182 inherited: true, |
2187 initial_keyword: "economy", | 2183 initial_keyword: "economy", |
2188 keyword_only: true, | 2184 field_template: "keyword", |
2189 keywords: ["economy", "exact"], | 2185 keywords: ["economy", "exact"], |
2190 }, | 2186 }, |
2191 { | 2187 { |
2192 name: "-webkit-rtl-ordering", | 2188 name: "-webkit-rtl-ordering", |
2193 independent: true, | 2189 independent: true, |
2194 inherited: true, | 2190 inherited: true, |
2195 initial: "initialRtlOrdering", | 2191 initial: "initialRtlOrdering", |
2196 initial_keyword: "logical", | 2192 initial_keyword: "logical", |
2197 keyword_only: true, | 2193 field_template: "keyword", |
2198 keywords: ["logical", "visual"], | 2194 keywords: ["logical", "visual"], |
2199 setter: "setRtlOrdering", | 2195 setter: "setRtlOrdering", |
2200 type_name: "EOrder", | 2196 type_name: "EOrder", |
2201 }, | 2197 }, |
2202 { | 2198 { |
2203 name: "-webkit-ruby-position", | 2199 name: "-webkit-ruby-position", |
2204 inherited: true, | 2200 inherited: true, |
2205 type_name: "RubyPosition", | 2201 type_name: "RubyPosition", |
2206 }, | 2202 }, |
2207 { | 2203 { |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2288 }, | 2284 }, |
2289 { | 2285 { |
2290 name: "user-select", | 2286 name: "user-select", |
2291 inherited: true, | 2287 inherited: true, |
2292 }, | 2288 }, |
2293 { | 2289 { |
2294 name: "white-space", | 2290 name: "white-space", |
2295 independent: true, | 2291 independent: true, |
2296 inherited: true, | 2292 inherited: true, |
2297 initial_keyword: "normal", | 2293 initial_keyword: "normal", |
2298 keyword_only: true, | 2294 field_template: "keyword", |
2299 keywords: ["normal", "pre", "pre-wrap", "pre-line", "nowrap", "-webkit-now
rap"], | 2295 keywords: ["normal", "pre", "pre-wrap", "pre-line", "nowrap", "-webkit-now
rap"], |
2300 }, | 2296 }, |
2301 { | 2297 { |
2302 name: "widows", | 2298 name: "widows", |
2303 inherited: true, | 2299 inherited: true, |
2304 interpolable: true, | 2300 interpolable: true, |
2305 type_name: "short", | 2301 type_name: "short", |
2306 }, | 2302 }, |
2307 { | 2303 { |
2308 name: "width", | 2304 name: "width", |
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3068 { | 3064 { |
3069 name: "-webkit-transition-timing-function", | 3065 name: "-webkit-transition-timing-function", |
3070 alias_for: "transition-timing-function", | 3066 alias_for: "transition-timing-function", |
3071 }, | 3067 }, |
3072 { | 3068 { |
3073 name: "-webkit-user-select", | 3069 name: "-webkit-user-select", |
3074 alias_for: "user-select", | 3070 alias_for: "user-select", |
3075 }, | 3071 }, |
3076 ], | 3072 ], |
3077 } | 3073 } |
OLD | NEW |