Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: third_party/WebKit/Source/core/css/CSSProperties.json5

Issue 2692803002: Clean up type handling in make_computed_style_base.py. (Closed)
Patch Set: Don't change behaviour Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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.
meade_UTC10 2017/02/13 06:46:24 How is it affected? + the same question as before
60 // generating the ComputedStyle storage for the property. The initial
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 60 // TODO(sashab, meade): Remove this once TypedOM types are specified for
66 // every property, since this value can be inferred from that. 61 // every property, since this value can be inferred from that.
67 keyword_only: { 62 field_template: {
68 default: false, 63 valid_values: [
69 valid_type: "bool", 64 "keyword", // Field can take on one of several keyword values. Stored as enum.
65 ],
70 }, 66 },
71 67
72 // - field_storage_type: "path/to/Type" 68 // - field_type_path: "path/to/Type"
73 // For properties that have generated field storage in ComputedStyle, 69 // For properties that have generated field storage in ComputedStyle,
74 // this optional argument will override the field's generated type with 70 // 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 71 // 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. 72 // 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 73 // Currently, only enum types are supported, and the enum's only values
78 // must be CamelCase values of the keywords of the property. 74 // must be CamelCase values of the keywords of the property.
79 field_storage_type: { 75 field_type_path: {
80 }, 76 },
81 77
82 // - keywords: ["keyword1", "keyword2"] 78 // - keywords: ["keyword1", "keyword2"]
83 // This specifies all valid keyword values for the property. 79 // This specifies all valid keyword values for the property.
84 // TODO(sashab): Once all properties are represented here, delete 80 // TODO(sashab): Once all properties are represented here, delete
85 // CSSValueKeywords.in and use this list instead. 81 // CSSValueKeywords.in and use this list instead.
86 keywords: { 82 keywords: {
87 default: [], 83 default: [],
88 }, 84 },
89 85
90 // - initial_keyword: "keyword-value" 86 // - initial_keyword: "keyword-value"
91 // This specifies the initial keyword value for the keyword_only 87 // This specifies the initial keyword value for the keyword fields.
92 // property.
93 initial_keyword: { 88 initial_keyword: {
94 }, 89 },
95 90
96 // Flags which go into CSSOMTypes: 91 // Flags which go into CSSOMTypes:
97 // - typedom_types: ["Type", "OtherType"] 92 // - typedom_types: ["Type", "OtherType"]
98 // The property can take types specified in typedom_types for CSS Typed OM. 93 // 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 . 94 // Keyword does not need to be specified as every property can take keywords .
100 // - repeated 95 // - repeated
101 // The property supports a list of values. 96 // The property supports a list of values.
102 // - supports_percentage 97 // - supports_percentage
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 { 316 {
322 name: "color", 317 name: "color",
323 custom_all: true, 318 custom_all: true,
324 inherited: true, 319 inherited: true,
325 interpolable: true, 320 interpolable: true,
326 priority: "High", 321 priority: "High",
327 }, 322 },
328 { 323 {
329 name: "direction", 324 name: "direction",
330 custom_value: true, 325 custom_value: true,
331 field_storage_type: "platform/text/TextDirection", 326 field_type_path: "platform/text/TextDirection",
332 inherited: true, 327 inherited: true,
333 initial_keyword: "ltr", 328 initial_keyword: "ltr",
334 keyword_only: true, 329 field_template: "keyword",
335 keywords: ["ltr", "rtl"], 330 keywords: ["ltr", "rtl"],
336 priority: "High", 331 priority: "High",
337 }, 332 },
338 { 333 {
339 name: "font-family", 334 name: "font-family",
340 converter: "convertFontFamily", 335 converter: "convertFontFamily",
341 font: true, 336 font: true,
342 inherited: true, 337 inherited: true,
343 name_for_methods: "FamilyDescription", 338 name_for_methods: "FamilyDescription",
344 priority: "High", 339 priority: "High",
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 { 469 {
475 name: "-webkit-text-orientation", 470 name: "-webkit-text-orientation",
476 custom_value: true, 471 custom_value: true,
477 inherited: true, 472 inherited: true,
478 priority: "High", 473 priority: "High",
479 type_name: "TextOrientation", 474 type_name: "TextOrientation",
480 }, 475 },
481 { 476 {
482 name: "writing-mode", 477 name: "writing-mode",
483 custom_value: true, 478 custom_value: true,
484 field_storage_type: "platform/text/WritingMode", 479 field_type_path: "platform/text/WritingMode",
485 inherited: true, 480 inherited: true,
486 initial_keyword: "horizontal-tb", 481 initial_keyword: "horizontal-tb",
487 keyword_only: true, 482 field_template: "keyword",
488 keywords: ["horizontal-tb", "vertical-rl", "vertical-lr"], 483 keywords: ["horizontal-tb", "vertical-rl", "vertical-lr"],
489 priority: "High", 484 priority: "High",
490 type_name: "WritingMode", 485 type_name: "WritingMode",
491 }, 486 },
492 { 487 {
493 name: "-webkit-writing-mode", 488 name: "-webkit-writing-mode",
494 custom_value: true, 489 custom_value: true,
495 inherited: true, 490 inherited: true,
496 priority: "High", 491 priority: "High",
497 type_name: "WritingMode", 492 type_name: "WritingMode",
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 api_class: "CSSPropertyAPIBorderWidth", 629 api_class: "CSSPropertyAPIBorderWidth",
635 converter: "convertLineWidth<unsigned>", 630 converter: "convertLineWidth<unsigned>",
636 initial: "initialBorderWidth", 631 initial: "initialBorderWidth",
637 interpolable: true, 632 interpolable: true,
638 }, 633 },
639 { 634 {
640 name: "border-collapse", 635 name: "border-collapse",
641 independent: true, 636 independent: true,
642 inherited: true, 637 inherited: true,
643 initial_keyword: "separate", 638 initial_keyword: "separate",
644 keyword_only: true, 639 field_template: "keyword",
645 keywords: ["separate", "collapse"], 640 keywords: ["separate", "collapse"],
646 }, 641 },
647 { 642 {
648 name: "border-image-outset", 643 name: "border-image-outset",
649 api_class: "CSSPropertyAPIBorderImageOutset", 644 api_class: "CSSPropertyAPIBorderImageOutset",
650 custom_all: true, 645 custom_all: true,
651 interpolable: true, 646 interpolable: true,
652 }, 647 },
653 { 648 {
654 name: "border-image-repeat", 649 name: "border-image-repeat",
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 }, 772 },
778 { 773 {
779 name: "buffered-rendering", 774 name: "buffered-rendering",
780 svg: true, 775 svg: true,
781 }, 776 },
782 { 777 {
783 name: "caption-side", 778 name: "caption-side",
784 independent: true, 779 independent: true,
785 inherited: true, 780 inherited: true,
786 initial_keyword: "top", 781 initial_keyword: "top",
787 keyword_only: true, 782 field_template: "keyword",
788 keywords: ["top", "bottom", "left", "right"], 783 keywords: ["top", "bottom", "left", "right"],
789 }, 784 },
790 { 785 {
791 name: "caret-color", 786 name: "caret-color",
792 api_class: true, 787 api_class: true,
793 api_methods: ["parseSingleValue"], 788 api_methods: ["parseSingleValue"],
794 custom_all: true, 789 custom_all: true,
795 inherited: true, 790 inherited: true,
796 interpolable: true, 791 interpolable: true,
797 }, 792 },
798 { 793 {
799 name: "clear", 794 name: "clear",
800 initial_keyword: "none", 795 initial_keyword: "none",
801 keyword_only: true, 796 field_template: "keyword",
802 keywords: ["none", "left", "right", "both"], 797 keywords: ["none", "left", "right", "both"],
803 }, 798 },
804 { 799 {
805 name: "clip", 800 name: "clip",
806 api_class: true, 801 api_class: true,
807 api_methods: ["parseSingleValue"], 802 api_methods: ["parseSingleValue"],
808 converter: "convertClip", 803 converter: "convertClip",
809 custom_all: true, 804 custom_all: true,
810 interpolable: true, 805 interpolable: true,
811 }, 806 },
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 { 893 {
899 name: "dominant-baseline", 894 name: "dominant-baseline",
900 inherited: true, 895 inherited: true,
901 svg: true, 896 svg: true,
902 }, 897 },
903 { 898 {
904 name: "empty-cells", 899 name: "empty-cells",
905 independent: true, 900 independent: true,
906 inherited: true, 901 inherited: true,
907 initial_keyword: "show", 902 initial_keyword: "show",
908 keyword_only: true, 903 field_template: "keyword",
909 keywords: ["show", "hide"], 904 keywords: ["show", "hide"],
910 type_name: "EEmptyCells", 905 type_name: "EEmptyCells",
911 }, 906 },
912 { 907 {
913 name: "fill", 908 name: "fill",
914 api_class: "CSSPropertyAPIPaintStroke", 909 api_class: "CSSPropertyAPIPaintStroke",
915 api_methods: ["parseSingleValue"], 910 api_methods: ["parseSingleValue"],
916 custom_all: true, 911 custom_all: true,
917 inherited: true, 912 inherited: true,
918 interpolable: true, 913 interpolable: true,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 { 952 {
958 name: "flex-shrink", 953 name: "flex-shrink",
959 api_class: "CSSPropertyAPIFlexGrowOrShrink", 954 api_class: "CSSPropertyAPIFlexGrowOrShrink",
960 interpolable: true, 955 interpolable: true,
961 type_name: "float", 956 type_name: "float",
962 }, 957 },
963 "flex-wrap", 958 "flex-wrap",
964 { 959 {
965 name: "float", 960 name: "float",
966 initial_keyword: "none", 961 initial_keyword: "none",
967 keyword_only: true, 962 field_template: "keyword",
968 keywords: ["none", "left", "right"], 963 keywords: ["none", "left", "right"],
969 name_for_methods: "Floating", 964 name_for_methods: "Floating",
970 type_name: "EFloat", 965 type_name: "EFloat",
971 }, 966 },
972 { 967 {
973 name: "flood-color", 968 name: "flood-color",
974 api_class: "CSSPropertyAPIColor", 969 api_class: "CSSPropertyAPIColor",
975 api_methods: ["parseSingleValue"], 970 api_methods: ["parseSingleValue"],
976 converter: "convertColor", 971 converter: "convertColor",
977 interpolable: true, 972 interpolable: true,
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
1151 custom_value: true, 1146 custom_value: true,
1152 inherited: true, 1147 inherited: true,
1153 interpolable: true, 1148 interpolable: true,
1154 typedom_types: ["Image"], 1149 typedom_types: ["Image"],
1155 }, 1150 },
1156 { 1151 {
1157 name: "list-style-position", 1152 name: "list-style-position",
1158 independent: true, 1153 independent: true,
1159 inherited: true, 1154 inherited: true,
1160 initial_keyword: "outside", 1155 initial_keyword: "outside",
1161 keyword_only: true, 1156 field_template: "keyword",
1162 keywords: ["outside", "inside"], 1157 keywords: ["outside", "inside"],
1163 }, 1158 },
1164 { 1159 {
1165 name: "list-style-type", 1160 name: "list-style-type",
1166 inherited: true, 1161 inherited: true,
1167 initial_keyword: "disc", 1162 initial_keyword: "disc",
1168 keyword_only: true, 1163 field_template: "keyword",
1169 keywords: [ 1164 keywords: [
1170 "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", 1165 "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",
1171 ], 1166 ],
1172 }, 1167 },
1173 { 1168 {
1174 name: "margin-bottom", 1169 name: "margin-bottom",
1175 api_class: "CSSPropertyAPIMargin", 1170 api_class: "CSSPropertyAPIMargin",
1176 api_methods: ["parseSingleValue"], 1171 api_methods: ["parseSingleValue"],
1177 converter: "convertQuirkyLength", 1172 converter: "convertQuirkyLength",
1178 initial: "initialMargin", 1173 initial: "initialMargin",
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 api_class: true, 1369 api_class: true,
1375 api_methods: ["parseSingleValue"], 1370 api_methods: ["parseSingleValue"],
1376 converter: "convertLineWidth<unsigned short>", 1371 converter: "convertLineWidth<unsigned short>",
1377 interpolable: true, 1372 interpolable: true,
1378 }, 1373 },
1379 { 1374 {
1380 name: "overflow-anchor", 1375 name: "overflow-anchor",
1381 runtime_flag: "ScrollAnchoring", 1376 runtime_flag: "ScrollAnchoring",
1382 inherited: false, 1377 inherited: false,
1383 initial_keyword: "auto", 1378 initial_keyword: "auto",
1384 keyword_only: true, 1379 field_template: "keyword",
1385 keywords: [ 1380 keywords: [
1386 "visible", "none", "auto", 1381 "visible", "none", "auto",
1387 ], 1382 ],
1388 }, 1383 },
1389 { 1384 {
1390 name: "overflow-wrap", 1385 name: "overflow-wrap",
1391 inherited: true, 1386 inherited: true,
1392 }, 1387 },
1393 { 1388 {
1394 name: "overflow-x", 1389 name: "overflow-x",
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
1447 { 1442 {
1448 name: "perspective-origin", 1443 name: "perspective-origin",
1449 converter: "convertPosition", 1444 converter: "convertPosition",
1450 interpolable: true, 1445 interpolable: true,
1451 }, 1446 },
1452 { 1447 {
1453 name: "pointer-events", 1448 name: "pointer-events",
1454 independent: true, 1449 independent: true,
1455 inherited: true, 1450 inherited: true,
1456 initial_keyword: "auto", 1451 initial_keyword: "auto",
1457 keyword_only: true, 1452 field_template: "keyword",
1458 keywords: [ 1453 keywords: [
1459 "none", "auto", "stroke", "fill", "painted", "visible", "visibleStroke", "visibleFill", "visiblePainted", "bounding-box", "all", 1454 "none", "auto", "stroke", "fill", "painted", "visible", "visibleStroke", "visibleFill", "visiblePainted", "bounding-box", "all",
1460 ], 1455 ],
1461 }, 1456 },
1462 { 1457 {
1463 name: "position", 1458 name: "position",
1464 custom_inherit: true, 1459 custom_inherit: true,
1465 }, 1460 },
1466 { 1461 {
1467 name: "quotes", 1462 name: "quotes",
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
1667 name: "stroke-width", 1662 name: "stroke-width",
1668 api_class: "CSSPropertyAPIStrokeOrLength", 1663 api_class: "CSSPropertyAPIStrokeOrLength",
1669 converter: "convertUnzoomedLength", 1664 converter: "convertUnzoomedLength",
1670 inherited: true, 1665 inherited: true,
1671 interpolable: true, 1666 interpolable: true,
1672 svg: true, 1667 svg: true,
1673 }, 1668 },
1674 { 1669 {
1675 name: "table-layout", 1670 name: "table-layout",
1676 initial_keyword: "auto", 1671 initial_keyword: "auto",
1677 keyword_only: true, 1672 field_template: "keyword",
1678 keywords: [ 1673 keywords: [
1679 "auto", "fixed" 1674 "auto", "fixed"
1680 ] 1675 ]
1681 }, 1676 },
1682 { 1677 {
1683 name: "tab-size", 1678 name: "tab-size",
1684 api_class: true, 1679 api_class: true,
1685 api_methods: ["parseSingleValue"], 1680 api_methods: ["parseSingleValue"],
1686 converter: "convertLengthOrTabSpaces", 1681 converter: "convertLengthOrTabSpaces",
1687 inherited: true, 1682 inherited: true,
1688 type_name: "TabSize", 1683 type_name: "TabSize",
1689 }, 1684 },
1690 { 1685 {
1691 name: "text-align", 1686 name: "text-align",
1692 custom_value: true, 1687 custom_value: true,
1693 inherited: true, 1688 inherited: true,
1694 initial_keyword: "start", 1689 initial_keyword: "start",
1695 keyword_only: true, 1690 field_template: "keyword",
1696 keywords: [ 1691 keywords: [
1697 "left", "right", "center", "justify", "webkitLeft", "webkitRight", "webk itCenter", "start", "end", 1692 "left", "right", "center", "justify", "webkitLeft", "webkitRight", "webk itCenter", "start", "end",
1698 ], 1693 ],
1699 }, 1694 },
1700 { 1695 {
1701 name: "text-align-last", 1696 name: "text-align-last",
1702 inherited: true, 1697 inherited: true,
1703 type_name: "TextAlignLast", 1698 type_name: "TextAlignLast",
1704 }, 1699 },
1705 { 1700 {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
1781 api_methods: ["parseSingleValue"], 1776 api_methods: ["parseSingleValue"],
1782 converter: "convertTextSizeAdjust", 1777 converter: "convertTextSizeAdjust",
1783 inherited: true, 1778 inherited: true,
1784 type_name: "TextSizeAdjust", 1779 type_name: "TextSizeAdjust",
1785 }, 1780 },
1786 { 1781 {
1787 name: "text-transform", 1782 name: "text-transform",
1788 independent: true, 1783 independent: true,
1789 inherited: true, 1784 inherited: true,
1790 initial_keyword: "none", 1785 initial_keyword: "none",
1791 keyword_only: true, 1786 field_template: "keyword",
1792 keywords: ["capitalize", "uppercase", "lowercase", "none"], 1787 keywords: ["capitalize", "uppercase", "lowercase", "none"],
1793 }, 1788 },
1794 { 1789 {
1795 name: "text-underline-position", 1790 name: "text-underline-position",
1796 api_class: true, 1791 api_class: true,
1797 api_methods: ["parseSingleValue"], 1792 api_methods: ["parseSingleValue"],
1798 inherited: true, 1793 inherited: true,
1799 runtime_flag: "CSS3TextDecorations", 1794 runtime_flag: "CSS3TextDecorations",
1800 type_name: "TextUnderlinePosition", 1795 type_name: "TextUnderlinePosition",
1801 }, 1796 },
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
1854 { 1849 {
1855 name: "scale", 1850 name: "scale",
1856 api_class: true, 1851 api_class: true,
1857 api_methods: ["parseSingleValue"], 1852 api_methods: ["parseSingleValue"],
1858 converter: "convertScale", 1853 converter: "convertScale",
1859 interpolable: true, 1854 interpolable: true,
1860 runtime_flag: "CSSIndependentTransformProperties", 1855 runtime_flag: "CSSIndependentTransformProperties",
1861 }, 1856 },
1862 { 1857 {
1863 name: "unicode-bidi", 1858 name: "unicode-bidi",
1864 field_storage_type: "platform/text/UnicodeBidi", 1859 field_type_path: "platform/text/UnicodeBidi",
1865 initial_keyword: "normal", 1860 initial_keyword: "normal",
1866 keyword_only: true, 1861 field_template: "keyword",
1867 keywords: [ 1862 keywords: [
1868 "normal", "embed", "bidi-override", "isolate", "plaintext", "isolate-ove rride", 1863 "normal", "embed", "bidi-override", "isolate", "plaintext", "isolate-ove rride",
1869 ], 1864 ],
1870 type_name: "UnicodeBidi", 1865 type_name: "UnicodeBidi",
1871 }, 1866 },
1872 { 1867 {
1873 name: "vector-effect", 1868 name: "vector-effect",
1874 svg: true, 1869 svg: true,
1875 }, 1870 },
1876 { 1871 {
1877 name: "vertical-align", 1872 name: "vertical-align",
1878 api_class: true, 1873 api_class: true,
1879 api_methods: ["parseSingleValue"], 1874 api_methods: ["parseSingleValue"],
1880 custom_inherit: true, 1875 custom_inherit: true,
1881 custom_value: true, 1876 custom_value: true,
1882 interpolable: true, 1877 interpolable: true,
1883 }, 1878 },
1884 { 1879 {
1885 name: "visibility", 1880 name: "visibility",
1886 independent: true, 1881 independent: true,
1887 inherited: true, 1882 inherited: true,
1888 initial_keyword: "visible", 1883 initial_keyword: "visible",
1889 interpolable: true, 1884 interpolable: true,
1890 keyword_only: true, 1885 field_template: "keyword",
1891 keywords: ["visible", "hidden", "collapse"], 1886 keywords: ["visible", "hidden", "collapse"],
1892 }, 1887 },
1893 { 1888 {
1894 name: "x", 1889 name: "x",
1895 api_class: "CSSPropertyAPIStrokeOrLength", 1890 api_class: "CSSPropertyAPIStrokeOrLength",
1896 converter: "convertLength", 1891 converter: "convertLength",
1897 interpolable: true, 1892 interpolable: true,
1898 svg: true, 1893 svg: true,
1899 }, 1894 },
1900 { 1895 {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
1945 { 1940 {
1946 name: "-webkit-box-align", 1941 name: "-webkit-box-align",
1947 type_name: "EBoxAlignment", 1942 type_name: "EBoxAlignment",
1948 }, 1943 },
1949 "-webkit-box-decoration-break", 1944 "-webkit-box-decoration-break",
1950 { 1945 {
1951 name: "-webkit-box-direction", 1946 name: "-webkit-box-direction",
1952 independent: true, 1947 independent: true,
1953 inherited: true, 1948 inherited: true,
1954 initial_keyword: "normal", 1949 initial_keyword: "normal",
1955 keyword_only: true, 1950 field_template: "keyword",
1956 keywords: ["normal", "reverse"], 1951 keywords: ["normal", "reverse"],
1957 }, 1952 },
1958 { 1953 {
1959 name: "-webkit-box-flex", 1954 name: "-webkit-box-flex",
1960 api_class: true, 1955 api_class: true,
1961 type_name: "float", 1956 type_name: "float",
1962 }, 1957 },
1963 { 1958 {
1964 name: "-webkit-box-flex-group", 1959 name: "-webkit-box-flex-group",
1965 api_class: true, 1960 api_class: true,
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
2150 name: "-webkit-perspective-origin-y", 2145 name: "-webkit-perspective-origin-y",
2151 api_class: "CSSPropertyAPIWebkitOriginY", 2146 api_class: "CSSPropertyAPIWebkitOriginY",
2152 converter: "convertLength", 2147 converter: "convertLength",
2153 interpolable: true, 2148 interpolable: true,
2154 }, 2149 },
2155 { 2150 {
2156 name: "-webkit-print-color-adjust", 2151 name: "-webkit-print-color-adjust",
2157 independent: true, 2152 independent: true,
2158 inherited: true, 2153 inherited: true,
2159 initial_keyword: "economy", 2154 initial_keyword: "economy",
2160 keyword_only: true, 2155 field_template: "keyword",
2161 keywords: ["economy", "exact"], 2156 keywords: ["economy", "exact"],
2162 }, 2157 },
2163 { 2158 {
2164 name: "-webkit-rtl-ordering", 2159 name: "-webkit-rtl-ordering",
2165 independent: true, 2160 independent: true,
2166 inherited: true, 2161 inherited: true,
2167 initial: "initialRtlOrdering", 2162 initial: "initialRtlOrdering",
2168 initial_keyword: "logical", 2163 initial_keyword: "logical",
2169 keyword_only: true, 2164 field_template: "keyword",
2170 keywords: ["logical", "visual"], 2165 keywords: ["logical", "visual"],
2171 setter: "setRtlOrdering", 2166 setter: "setRtlOrdering",
2172 type_name: "EOrder", 2167 type_name: "EOrder",
2173 }, 2168 },
2174 { 2169 {
2175 name: "-webkit-ruby-position", 2170 name: "-webkit-ruby-position",
2176 inherited: true, 2171 inherited: true,
2177 type_name: "RubyPosition", 2172 type_name: "RubyPosition",
2178 }, 2173 },
2179 { 2174 {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
2260 }, 2255 },
2261 { 2256 {
2262 name: "user-select", 2257 name: "user-select",
2263 inherited: true, 2258 inherited: true,
2264 }, 2259 },
2265 { 2260 {
2266 name: "white-space", 2261 name: "white-space",
2267 independent: true, 2262 independent: true,
2268 inherited: true, 2263 inherited: true,
2269 initial_keyword: "normal", 2264 initial_keyword: "normal",
2270 keyword_only: true, 2265 field_template: "keyword",
2271 keywords: ["normal", "pre", "pre-wrap", "pre-line", "nowrap", "-webkit-now rap"], 2266 keywords: ["normal", "pre", "pre-wrap", "pre-line", "nowrap", "-webkit-now rap"],
2272 }, 2267 },
2273 { 2268 {
2274 name: "widows", 2269 name: "widows",
2275 inherited: true, 2270 inherited: true,
2276 interpolable: true, 2271 interpolable: true,
2277 type_name: "short", 2272 type_name: "short",
2278 }, 2273 },
2279 { 2274 {
2280 name: "width", 2275 name: "width",
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
3040 { 3035 {
3041 name: "-webkit-transition-timing-function", 3036 name: "-webkit-transition-timing-function",
3042 alias_for: "transition-timing-function", 3037 alias_for: "transition-timing-function",
3043 }, 3038 },
3044 { 3039 {
3045 name: "-webkit-user-select", 3040 name: "-webkit-user-select",
3046 alias_for: "user-select", 3041 alias_for: "user-select",
3047 }, 3042 },
3048 ], 3043 ],
3049 } 3044 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698