| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 // - field_type_path: "path/to/Type" | 102 // - field_type_path: "path/to/Type" |
| 103 // For properties that have generated field storage in ComputedStyle, | 103 // For properties that have generated field storage in ComputedStyle, |
| 104 // this optional argument will override the field's generated type with | 104 // this optional argument will override the field's generated type with |
| 105 // an external one specified at the given path. The type must be defined | 105 // an external one specified at the given path. The type must be defined |
| 106 // in a header file at that path, and have the same name as the file. | 106 // in a header file at that path, and have the same name as the file. |
| 107 // Currently, only enum types are supported, and the enum's only values | 107 // Currently, only enum types are supported, and the enum's only values |
| 108 // must be CamelCase values of the keywords of the property. | 108 // must be CamelCase values of the keywords of the property. |
| 109 field_type_path: { | 109 field_type_path: { |
| 110 }, | 110 }, |
| 111 | 111 |
| 112 // Name of the pointer type that wraps this field (e.g. RefPtr). |
| 113 // Can only be set if the field template is storage_only. |
| 114 pointer_type_name: { |
| 115 valid_type: "str", |
| 116 valid_values: ["RefPtr", "Persistent"], |
| 117 }, |
| 118 |
| 112 // - keywords: ["keyword1", "keyword2"] | 119 // - keywords: ["keyword1", "keyword2"] |
| 113 // This specifies all valid keyword values for the property. | 120 // This specifies all valid keyword values for the property. |
| 114 // TODO(sashab): Once all properties are represented here, delete | 121 // TODO(sashab): Once all properties are represented here, delete |
| 115 // CSSValueKeywords.in and use this list instead. | 122 // CSSValueKeywords.in and use this list instead. |
| 116 keywords: { | 123 keywords: { |
| 117 default: [], | 124 default: [], |
| 118 }, | 125 }, |
| 119 | 126 |
| 120 // - default_value: "keyword-value" | 127 // - default_value: "keyword-value" |
| 121 // This specifies the default value for this field. | 128 // This specifies the default value for this field. |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 506 custom_value: true, | 513 custom_value: true, |
| 507 font: true, | 514 font: true, |
| 508 inherited: true, | 515 inherited: true, |
| 509 priority: "High", | 516 priority: "High", |
| 510 }, | 517 }, |
| 511 { | 518 { |
| 512 name: "text-orientation", | 519 name: "text-orientation", |
| 513 custom_value: true, | 520 custom_value: true, |
| 514 inherited: true, | 521 inherited: true, |
| 515 priority: "High", | 522 priority: "High", |
| 523 field_template: "storage_only", |
| 516 type_name: "TextOrientation", | 524 type_name: "TextOrientation", |
| 525 default_value: "kTextOrientationMixed", |
| 526 field_size: 2, |
| 527 field_group: "rare-inherited", |
| 517 }, | 528 }, |
| 518 { | 529 { |
| 519 name: "-webkit-text-orientation", | 530 name: "-webkit-text-orientation", |
| 520 custom_value: true, | 531 custom_value: true, |
| 521 inherited: true, | 532 inherited: true, |
| 522 priority: "High", | 533 priority: "High", |
| 523 type_name: "TextOrientation", | 534 type_name: "TextOrientation", |
| 524 }, | 535 }, |
| 525 { | 536 { |
| 526 name: "writing-mode", | 537 name: "writing-mode", |
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 935 field_template: "keyword", | 946 field_template: "keyword", |
| 936 keywords: ["top", "bottom"], | 947 keywords: ["top", "bottom"], |
| 937 }, | 948 }, |
| 938 { | 949 { |
| 939 name: "caret-color", | 950 name: "caret-color", |
| 940 api_class: true, | 951 api_class: true, |
| 941 api_methods: ["parseSingleValue"], | 952 api_methods: ["parseSingleValue"], |
| 942 custom_all: true, | 953 custom_all: true, |
| 943 inherited: true, | 954 inherited: true, |
| 944 interpolable: true, | 955 interpolable: true, |
| 956 field_template: "storage_only", |
| 957 field_type_path: "platform/graphics/Color", |
| 958 default_value: "Color()", |
| 959 field_group: "rare-inherited", |
| 945 }, | 960 }, |
| 946 { | 961 { |
| 947 name: "clear", | 962 name: "clear", |
| 948 default_value: "none", | 963 default_value: "none", |
| 949 field_template: "keyword", | 964 field_template: "keyword", |
| 950 keywords: ["none", "left", "right", "both"], | 965 keywords: ["none", "left", "right", "both"], |
| 951 }, | 966 }, |
| 952 { | 967 { |
| 953 name: "clip", | 968 name: "clip", |
| 954 api_class: true, | 969 api_class: true, |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1242 typedom_types: ["Length"], | 1257 typedom_types: ["Length"], |
| 1243 field_template: "external", | 1258 field_template: "external", |
| 1244 field_type_path: "platform/Length", | 1259 field_type_path: "platform/Length", |
| 1245 field_group: "box", | 1260 field_group: "box", |
| 1246 default_value: "Length()", | 1261 default_value: "Length()", |
| 1247 }, | 1262 }, |
| 1248 { | 1263 { |
| 1249 name: "hyphens", | 1264 name: "hyphens", |
| 1250 inherited: true, | 1265 inherited: true, |
| 1251 runtime_flag: "CSSHyphens", | 1266 runtime_flag: "CSSHyphens", |
| 1267 field_template: "storage_only", |
| 1252 type_name: "Hyphens", | 1268 type_name: "Hyphens", |
| 1269 default_value: "Hyphens::kManual", |
| 1270 field_size: 2, |
| 1271 field_group: "rare-inherited", |
| 1253 }, | 1272 }, |
| 1254 { | 1273 { |
| 1255 name: "image-rendering", | 1274 name: "image-rendering", |
| 1256 inherited: true, | 1275 inherited: true, |
| 1276 field_template: "storage_only", |
| 1277 type_name: "EImageRendering", |
| 1278 default_value: "kImageRenderingAuto", |
| 1279 field_size: 3, |
| 1280 field_group: "rare-inherited", |
| 1257 }, | 1281 }, |
| 1258 { | 1282 { |
| 1259 name: "image-orientation", | 1283 name: "image-orientation", |
| 1260 api_class: true, | 1284 api_class: true, |
| 1261 api_methods: ["parseSingleValue"], | 1285 api_methods: ["parseSingleValue"], |
| 1262 converter: "ConvertImageOrientation", | 1286 converter: "ConvertImageOrientation", |
| 1263 inherited: true, | 1287 inherited: true, |
| 1264 name_for_methods: "RespectImageOrientation", | 1288 name_for_methods: "RespectImageOrientation", |
| 1265 runtime_flag: "ImageOrientation", | 1289 runtime_flag: "ImageOrientation", |
| 1266 }, | 1290 }, |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1332 default_value: "Length(-100.0, kPercent)", | 1356 default_value: "Length(-100.0, kPercent)", |
| 1333 field_group: "inherited", | 1357 field_group: "inherited", |
| 1334 }, | 1358 }, |
| 1335 { | 1359 { |
| 1336 name: "line-height-step", | 1360 name: "line-height-step", |
| 1337 api_class: true, | 1361 api_class: true, |
| 1338 api_methods: ["parseSingleValue"], | 1362 api_methods: ["parseSingleValue"], |
| 1339 converter: "ConvertComputedLength<uint8_t>", | 1363 converter: "ConvertComputedLength<uint8_t>", |
| 1340 inherited: true, | 1364 inherited: true, |
| 1341 runtime_flag: "CSSSnapSize", | 1365 runtime_flag: "CSSSnapSize", |
| 1366 field_template: "storage_only", |
| 1367 type_name: "uint8_t", |
| 1368 default_value: "0", |
| 1369 field_group: "rare-inherited", |
| 1342 }, | 1370 }, |
| 1343 { | 1371 { |
| 1344 name: "list-style-image", | 1372 name: "list-style-image", |
| 1345 api_class: "CSSPropertyAPIImage", | 1373 api_class: "CSSPropertyAPIImage", |
| 1346 api_methods: ["parseSingleValue"], | 1374 api_methods: ["parseSingleValue"], |
| 1347 custom_value: true, | 1375 custom_value: true, |
| 1348 inherited: true, | 1376 inherited: true, |
| 1349 interpolable: true, | 1377 interpolable: true, |
| 1350 typedom_types: ["Image"], | 1378 typedom_types: ["Image"], |
| 1379 field_template: "storage_only", |
| 1380 type_name: "StyleImage", |
| 1381 pointer_type_name: "Persistent", |
| 1382 default_value: "nullptr", |
| 1383 field_group: "rare-inherited", |
| 1351 }, | 1384 }, |
| 1352 { | 1385 { |
| 1353 name: "list-style-position", | 1386 name: "list-style-position", |
| 1354 independent: true, | 1387 independent: true, |
| 1355 inherited: true, | 1388 inherited: true, |
| 1356 default_value: "outside", | 1389 default_value: "outside", |
| 1357 field_template: "keyword", | 1390 field_template: "keyword", |
| 1358 keywords: ["outside", "inside"], | 1391 keywords: ["outside", "inside"], |
| 1359 }, | 1392 }, |
| 1360 { | 1393 { |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1554 interpolable: true, | 1587 interpolable: true, |
| 1555 type_name: "int", | 1588 type_name: "int", |
| 1556 }, | 1589 }, |
| 1557 { | 1590 { |
| 1558 name: "orphans", | 1591 name: "orphans", |
| 1559 api_class: "CSSPropertyAPIFragmentation", | 1592 api_class: "CSSPropertyAPIFragmentation", |
| 1560 api_methods: ["parseSingleValue"], | 1593 api_methods: ["parseSingleValue"], |
| 1561 inherited: true, | 1594 inherited: true, |
| 1562 interpolable: true, | 1595 interpolable: true, |
| 1563 type_name: "short", | 1596 type_name: "short", |
| 1597 field_template: "storage_only", |
| 1598 default_value: "2", |
| 1599 field_group: "rare-inherited", |
| 1564 }, | 1600 }, |
| 1565 { | 1601 { |
| 1566 name: "outline-color", | 1602 name: "outline-color", |
| 1567 api_class: true, | 1603 api_class: true, |
| 1568 api_methods: ["parseSingleValue"], | 1604 api_methods: ["parseSingleValue"], |
| 1569 custom_all: true, | 1605 custom_all: true, |
| 1570 interpolable: true, | 1606 interpolable: true, |
| 1571 }, | 1607 }, |
| 1572 { | 1608 { |
| 1573 name: "outline-offset", | 1609 name: "outline-offset", |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1593 inherited: false, | 1629 inherited: false, |
| 1594 default_value: "auto", | 1630 default_value: "auto", |
| 1595 field_template: "keyword", | 1631 field_template: "keyword", |
| 1596 keywords: [ | 1632 keywords: [ |
| 1597 "visible", "none", "auto", | 1633 "visible", "none", "auto", |
| 1598 ], | 1634 ], |
| 1599 }, | 1635 }, |
| 1600 { | 1636 { |
| 1601 name: "overflow-wrap", | 1637 name: "overflow-wrap", |
| 1602 inherited: true, | 1638 inherited: true, |
| 1639 field_template: "storage_only", |
| 1640 type_name: "EOverflowWrap", |
| 1641 default_value: "EOverflowWrap::kNormal", |
| 1642 field_size: 1, |
| 1643 field_group: "rare-inherited", |
| 1603 }, | 1644 }, |
| 1604 { | 1645 { |
| 1605 name: "overflow-x", | 1646 name: "overflow-x", |
| 1606 default_value: "visible", | 1647 default_value: "visible", |
| 1607 field_template: "keyword", | 1648 field_template: "keyword", |
| 1608 keywords: [ | 1649 keywords: [ |
| 1609 "visible", "hidden", "scroll", "auto", "overlay", "-webkit-paged-x", "-w
ebkit-paged-y", | 1650 "visible", "hidden", "scroll", "auto", "overlay", "-webkit-paged-x", "-w
ebkit-paged-y", |
| 1610 ], | 1651 ], |
| 1611 type_name: "EOverflow", | 1652 type_name: "EOverflow", |
| 1612 }, | 1653 }, |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1701 keywords: [ | 1742 keywords: [ |
| 1702 "static", "relative", "absolute", "fixed", "sticky", | 1743 "static", "relative", "absolute", "fixed", "sticky", |
| 1703 ], | 1744 ], |
| 1704 }, | 1745 }, |
| 1705 { | 1746 { |
| 1706 name: "quotes", | 1747 name: "quotes", |
| 1707 api_class: true, | 1748 api_class: true, |
| 1708 api_methods: ["parseSingleValue"], | 1749 api_methods: ["parseSingleValue"], |
| 1709 converter: "ConvertQuotes", | 1750 converter: "ConvertQuotes", |
| 1710 inherited: true, | 1751 inherited: true, |
| 1752 field_template: "storage_only", |
| 1753 field_type_path: "core/style/QuotesData", |
| 1754 default_value: "nullptr", |
| 1755 pointer_type_name: "RefPtr", |
| 1756 field_group: "rare-inherited", |
| 1711 }, | 1757 }, |
| 1712 { | 1758 { |
| 1713 name: "resize", | 1759 name: "resize", |
| 1714 custom_value: true, | 1760 custom_value: true, |
| 1715 }, | 1761 }, |
| 1716 { | 1762 { |
| 1717 name: "right", | 1763 name: "right", |
| 1718 api_class: "CSSPropertyAPIMargin", | 1764 api_class: "CSSPropertyAPIMargin", |
| 1719 api_methods: ["parseSingleValue"], | 1765 api_methods: ["parseSingleValue"], |
| 1720 converter: "ConvertLengthOrAuto", | 1766 converter: "ConvertLengthOrAuto", |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1811 }, | 1857 }, |
| 1812 { | 1858 { |
| 1813 name: "size", | 1859 name: "size", |
| 1814 api_class: true, | 1860 api_class: true, |
| 1815 api_methods: ["parseSingleValue"], | 1861 api_methods: ["parseSingleValue"], |
| 1816 custom_all: true, | 1862 custom_all: true, |
| 1817 }, | 1863 }, |
| 1818 { | 1864 { |
| 1819 name: "speak", | 1865 name: "speak", |
| 1820 inherited: true, | 1866 inherited: true, |
| 1867 field_template: "storage_only", |
| 1868 type_name: "ESpeak", |
| 1869 default_value: "ESpeak::kNormal", |
| 1870 field_size: 3, |
| 1871 field_group: "rare-inherited", |
| 1821 }, | 1872 }, |
| 1822 { | 1873 { |
| 1823 name: "stop-color", | 1874 name: "stop-color", |
| 1824 api_class: "CSSPropertyAPIColor", | 1875 api_class: "CSSPropertyAPIColor", |
| 1825 api_methods: ["parseSingleValue"], | 1876 api_methods: ["parseSingleValue"], |
| 1826 converter: "ConvertColor", | 1877 converter: "ConvertColor", |
| 1827 interpolable: true, | 1878 interpolable: true, |
| 1828 svg: true, | 1879 svg: true, |
| 1829 }, | 1880 }, |
| 1830 { | 1881 { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1912 keywords: [ | 1963 keywords: [ |
| 1913 "auto", "fixed" | 1964 "auto", "fixed" |
| 1914 ] | 1965 ] |
| 1915 }, | 1966 }, |
| 1916 { | 1967 { |
| 1917 name: "tab-size", | 1968 name: "tab-size", |
| 1918 api_class: true, | 1969 api_class: true, |
| 1919 api_methods: ["parseSingleValue"], | 1970 api_methods: ["parseSingleValue"], |
| 1920 converter: "ConvertLengthOrTabSpaces", | 1971 converter: "ConvertLengthOrTabSpaces", |
| 1921 inherited: true, | 1972 inherited: true, |
| 1922 type_name: "TabSize", | 1973 getter: "GetTabSize", |
| 1974 field_type_path: "platform/text/TabSize", |
| 1975 field_template: "storage_only", |
| 1976 default_value: "TabSize(8)", |
| 1977 field_group: "rare-inherited", |
| 1923 }, | 1978 }, |
| 1924 { | 1979 { |
| 1925 name: "text-align", | 1980 name: "text-align", |
| 1926 custom_value: true, | 1981 custom_value: true, |
| 1927 independent: false, | 1982 independent: false, |
| 1928 inherited: true, | 1983 inherited: true, |
| 1929 default_value: "start", | 1984 default_value: "start", |
| 1930 field_template: "keyword", | 1985 field_template: "keyword", |
| 1931 getter: "GetTextAlign", | 1986 getter: "GetTextAlign", |
| 1932 keywords: [ | 1987 keywords: [ |
| 1933 "left", "right", "center", "justify", "webkitLeft", "webkitRight", "webk
itCenter", "start", "end", | 1988 "left", "right", "center", "justify", "webkitLeft", "webkitRight", "webk
itCenter", "start", "end", |
| 1934 ], | 1989 ], |
| 1935 }, | 1990 }, |
| 1936 { | 1991 { |
| 1937 name: "text-align-last", | 1992 name: "text-align-last", |
| 1938 inherited: true, | 1993 inherited: true, |
| 1994 field_template: "storage_only", |
| 1939 type_name: "TextAlignLast", | 1995 type_name: "TextAlignLast", |
| 1996 default_value: "kTextAlignLastAuto", |
| 1997 field_size: 3, |
| 1998 field_group: "rare-inherited", |
| 1940 }, | 1999 }, |
| 1941 { | 2000 { |
| 1942 name: "text-anchor", | 2001 name: "text-anchor", |
| 1943 inherited: true, | 2002 inherited: true, |
| 1944 svg: true, | 2003 svg: true, |
| 1945 }, | 2004 }, |
| 1946 { | 2005 { |
| 1947 name: "text-combine-upright", | 2006 name: "text-combine-upright", |
| 1948 inherited: true, | 2007 inherited: true, |
| 1949 name_for_methods: "TextCombine", | 2008 name_for_methods: "TextCombine", |
| 2009 field_template: "storage_only", |
| 1950 type_name: "TextCombine", | 2010 type_name: "TextCombine", |
| 2011 default_value: "kTextCombineNone", |
| 2012 field_size: 1, |
| 2013 field_group: "rare-inherited", |
| 1951 }, | 2014 }, |
| 1952 // FIXME: We shouldn't switch between shorthand/not shorthand based on a run
time flag | 2015 // FIXME: We shouldn't switch between shorthand/not shorthand based on a run
time flag |
| 1953 { | 2016 { |
| 1954 name: "text-decoration", | 2017 name: "text-decoration", |
| 1955 api_class: true, | 2018 api_class: true, |
| 1956 longhands: "text-decoration-line;text-decoration-style;text-decoration-col
or", | 2019 longhands: "text-decoration-line;text-decoration-style;text-decoration-col
or", |
| 1957 use_handlers_for: "CSSPropertyTextDecorationLine", | 2020 use_handlers_for: "CSSPropertyTextDecorationLine", |
| 1958 }, | 2021 }, |
| 1959 { | 2022 { |
| 1960 name: "text-decoration-color", | 2023 name: "text-decoration-color", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1972 runtime_flag: "CSS3TextDecorations", | 2035 runtime_flag: "CSS3TextDecorations", |
| 1973 type_name: "TextDecoration", | 2036 type_name: "TextDecoration", |
| 1974 }, | 2037 }, |
| 1975 { | 2038 { |
| 1976 name: "text-decoration-skip", | 2039 name: "text-decoration-skip", |
| 1977 api_class: true, | 2040 api_class: true, |
| 1978 api_methods: ["parseSingleValue"], | 2041 api_methods: ["parseSingleValue"], |
| 1979 converter: "ConvertFlags<TextDecorationSkip>", | 2042 converter: "ConvertFlags<TextDecorationSkip>", |
| 1980 inherited: true, | 2043 inherited: true, |
| 1981 runtime_flag: "CSS3TextDecorations", | 2044 runtime_flag: "CSS3TextDecorations", |
| 2045 field_template: "storage_only", |
| 1982 type_name: "TextDecorationSkip", | 2046 type_name: "TextDecorationSkip", |
| 2047 default_value: "kTextDecorationSkipObjects", |
| 2048 field_size: 3, |
| 2049 field_group: "rare-inherited", |
| 1983 }, | 2050 }, |
| 1984 { | 2051 { |
| 1985 name: "text-decoration-style", | 2052 name: "text-decoration-style", |
| 1986 runtime_flag: "CSS3TextDecorations", | 2053 runtime_flag: "CSS3TextDecorations", |
| 1987 type_name: "TextDecorationStyle", | 2054 type_name: "TextDecorationStyle", |
| 1988 }, | 2055 }, |
| 1989 { | 2056 { |
| 1990 name: "text-indent", | 2057 name: "text-indent", |
| 1991 api_class: true, | 2058 api_class: true, |
| 1992 api_methods: ["parseSingleValue"], | 2059 api_methods: ["parseSingleValue"], |
| 1993 custom_all: true, | 2060 custom_all: true, |
| 1994 inherited: true, | 2061 inherited: true, |
| 1995 interpolable: true, | 2062 interpolable: true, |
| 2063 field_template: "storage_only", |
| 2064 field_type_path: "platform/Length", |
| 2065 default_value: "Length(kFixed)", |
| 2066 field_group: "rare-inherited", |
| 1996 }, | 2067 }, |
| 1997 { | 2068 { |
| 1998 name: "text-justify", | 2069 name: "text-justify", |
| 1999 inherited: true, | 2070 inherited: true, |
| 2000 runtime_flag: "CSS3Text", | 2071 runtime_flag: "CSS3Text", |
| 2072 getter: "GetTextJustify", |
| 2073 field_template: "storage_only", |
| 2074 field_type_path: "platform/text/TextJustify", |
| 2001 type_name: "TextJustify", | 2075 type_name: "TextJustify", |
| 2076 default_value: "kTextJustifyAuto", |
| 2077 field_size: 2, |
| 2078 field_group: "rare-inherited", |
| 2002 }, | 2079 }, |
| 2003 { | 2080 { |
| 2004 name: "text-overflow", | 2081 name: "text-overflow", |
| 2005 type_name: "TextOverflow", | 2082 type_name: "TextOverflow", |
| 2006 }, | 2083 }, |
| 2007 { | 2084 { |
| 2008 name: "text-shadow", | 2085 name: "text-shadow", |
| 2009 converter: "ConvertShadowList", | 2086 converter: "ConvertShadowList", |
| 2010 inherited: true, | 2087 inherited: true, |
| 2011 interpolable: true, | 2088 interpolable: true, |
| 2089 field_template: "storage_only", |
| 2090 field_type_path: "core/style/ShadowList", |
| 2091 pointer_type_name: "RefPtr", |
| 2092 default_value: "nullptr", |
| 2093 field_group: "rare-inherited", |
| 2012 }, | 2094 }, |
| 2013 { | 2095 { |
| 2014 name: "text-size-adjust", | 2096 name: "text-size-adjust", |
| 2015 api_class: true, | 2097 api_class: true, |
| 2016 api_methods: ["parseSingleValue"], | 2098 api_methods: ["parseSingleValue"], |
| 2017 converter: "ConvertTextSizeAdjust", | 2099 converter: "ConvertTextSizeAdjust", |
| 2018 inherited: true, | 2100 inherited: true, |
| 2019 type_name: "TextSizeAdjust", | 2101 getter: "GetTextSizeAdjust", |
| 2102 field_template: "storage_only", |
| 2103 field_type_path: "core/style/TextSizeAdjust", |
| 2104 default_value: "TextSizeAdjust::AdjustAuto()", |
| 2105 field_group: "rare-inherited", |
| 2020 }, | 2106 }, |
| 2021 { | 2107 { |
| 2022 name: "text-transform", | 2108 name: "text-transform", |
| 2023 independent: true, | 2109 independent: true, |
| 2024 inherited: true, | 2110 inherited: true, |
| 2025 default_value: "none", | 2111 default_value: "none", |
| 2026 field_template: "keyword", | 2112 field_template: "keyword", |
| 2027 keywords: ["capitalize", "uppercase", "lowercase", "none"], | 2113 keywords: ["capitalize", "uppercase", "lowercase", "none"], |
| 2028 }, | 2114 }, |
| 2029 { | 2115 { |
| 2030 name: "text-underline-position", | 2116 name: "text-underline-position", |
| 2031 api_class: true, | 2117 api_class: true, |
| 2032 api_methods: ["parseSingleValue"], | 2118 api_methods: ["parseSingleValue"], |
| 2033 inherited: true, | 2119 inherited: true, |
| 2034 runtime_flag: "CSS3TextDecorations", | 2120 runtime_flag: "CSS3TextDecorations", |
| 2121 field_template: "storage_only", |
| 2035 type_name: "TextUnderlinePosition", | 2122 type_name: "TextUnderlinePosition", |
| 2123 default_value: "kTextUnderlinePositionAuto", |
| 2124 field_size: 1, |
| 2125 field_group: "rare-inherited", |
| 2036 }, | 2126 }, |
| 2037 { | 2127 { |
| 2038 name: "top", | 2128 name: "top", |
| 2039 api_class: "CSSPropertyAPIMargin", | 2129 api_class: "CSSPropertyAPIMargin", |
| 2040 api_methods: ["parseSingleValue"], | 2130 api_methods: ["parseSingleValue"], |
| 2041 converter: "ConvertLengthOrAuto", | 2131 converter: "ConvertLengthOrAuto", |
| 2042 interpolable: true, | 2132 interpolable: true, |
| 2043 keywords: ["auto"], | 2133 keywords: ["auto"], |
| 2044 supports_percentage: true, | 2134 supports_percentage: true, |
| 2045 typedom_types: ["Length"], | 2135 typedom_types: ["Length"], |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2290 converter: "ConvertComputedLength<float>", | 2380 converter: "ConvertComputedLength<float>", |
| 2291 custom_all: true, | 2381 custom_all: true, |
| 2292 interpolable: true, | 2382 interpolable: true, |
| 2293 }, | 2383 }, |
| 2294 { | 2384 { |
| 2295 name: "-webkit-highlight", | 2385 name: "-webkit-highlight", |
| 2296 api_class: true, | 2386 api_class: true, |
| 2297 api_methods: ["parseSingleValue"], | 2387 api_methods: ["parseSingleValue"], |
| 2298 converter: "ConvertString<CSSValueNone>", | 2388 converter: "ConvertString<CSSValueNone>", |
| 2299 inherited: true, | 2389 inherited: true, |
| 2390 field_template: "storage_only", |
| 2391 field_type_path: "platform/wtf/text/AtomicString", |
| 2392 default_value: "g_null_atom", |
| 2393 field_group: "rare-inherited", |
| 2300 }, | 2394 }, |
| 2301 { | 2395 { |
| 2302 name: "-webkit-hyphenate-character", | 2396 name: "-webkit-hyphenate-character", |
| 2303 converter: "ConvertString<CSSValueAuto>", | 2397 converter: "ConvertString<CSSValueAuto>", |
| 2304 inherited: true, | 2398 inherited: true, |
| 2305 name_for_methods: "HyphenationString", | 2399 name_for_methods: "HyphenationString", |
| 2400 field_template: "storage_only", |
| 2401 field_type_path: "platform/wtf/text/AtomicString", |
| 2402 default_value: "AtomicString()", |
| 2403 field_group: "rare-inherited", |
| 2306 }, | 2404 }, |
| 2307 { | 2405 { |
| 2308 name: "-webkit-line-break", | 2406 name: "-webkit-line-break", |
| 2309 inherited: true, | 2407 inherited: true, |
| 2408 field_template: "storage_only", |
| 2310 type_name: "LineBreak", | 2409 type_name: "LineBreak", |
| 2410 default_value: "LineBreak::kAuto", |
| 2411 field_size: 3, |
| 2412 field_group: "rare-inherited", |
| 2311 }, | 2413 }, |
| 2312 { | 2414 { |
| 2313 name: "-webkit-line-clamp", | 2415 name: "-webkit-line-clamp", |
| 2314 api_class: true, | 2416 api_class: true, |
| 2315 api_methods: ["parseSingleValue"], | 2417 api_methods: ["parseSingleValue"], |
| 2316 type_name: "LineClampValue", | 2418 type_name: "LineClampValue", |
| 2317 }, | 2419 }, |
| 2318 { | 2420 { |
| 2319 name: "-webkit-margin-after-collapse", | 2421 name: "-webkit-margin-after-collapse", |
| 2320 type_name: "EMarginCollapse", | 2422 type_name: "EMarginCollapse", |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2432 initial: "InitialRtlOrdering", | 2534 initial: "InitialRtlOrdering", |
| 2433 default_value: "logical", | 2535 default_value: "logical", |
| 2434 field_template: "keyword", | 2536 field_template: "keyword", |
| 2435 keywords: ["logical", "visual"], | 2537 keywords: ["logical", "visual"], |
| 2436 setter: "SetRtlOrdering", | 2538 setter: "SetRtlOrdering", |
| 2437 type_name: "EOrder", | 2539 type_name: "EOrder", |
| 2438 }, | 2540 }, |
| 2439 { | 2541 { |
| 2440 name: "-webkit-ruby-position", | 2542 name: "-webkit-ruby-position", |
| 2441 inherited: true, | 2543 inherited: true, |
| 2544 field_template: "storage_only", |
| 2442 type_name: "RubyPosition", | 2545 type_name: "RubyPosition", |
| 2546 default_value: "kRubyPositionBefore", |
| 2547 field_size: 1, |
| 2548 field_group: "rare-inherited", |
| 2443 }, | 2549 }, |
| 2444 { | 2550 { |
| 2445 name: "-webkit-tap-highlight-color", | 2551 name: "-webkit-tap-highlight-color", |
| 2446 api_class: "CSSPropertyAPIColor", | 2552 api_class: "CSSPropertyAPIColor", |
| 2447 api_methods: ["parseSingleValue"], | 2553 api_methods: ["parseSingleValue"], |
| 2448 converter: "ConvertColor", | 2554 converter: "ConvertColor", |
| 2449 inherited: true, | 2555 inherited: true, |
| 2556 field_template: "storage_only", |
| 2557 field_type_path: "platform/graphics/Color", |
| 2558 default_value: "LayoutTheme::TapHighlightColor()", |
| 2559 field_group: "rare-inherited", |
| 2450 }, | 2560 }, |
| 2451 { | 2561 { |
| 2452 name: "-webkit-text-combine", | 2562 name: "-webkit-text-combine", |
| 2453 inherited: true, | 2563 inherited: true, |
| 2454 name_for_methods: "TextCombine", | 2564 name_for_methods: "TextCombine", |
| 2455 type_name: "TextCombine", | 2565 type_name: "TextCombine", |
| 2456 }, | 2566 }, |
| 2457 { | 2567 { |
| 2458 name: "-webkit-text-emphasis-color", | 2568 name: "-webkit-text-emphasis-color", |
| 2459 api_class: "CSSPropertyAPIColor", | 2569 api_class: "CSSPropertyAPIColor", |
| 2460 api_methods: ["parseSingleValue"], | 2570 api_methods: ["parseSingleValue"], |
| 2461 custom_all: true, | 2571 custom_all: true, |
| 2462 inherited: true, | 2572 inherited: true, |
| 2573 field_template: "storage_only", |
| 2574 field_type_path: "platform/graphics/Color", |
| 2575 default_value: "Color()", |
| 2576 field_group: "rare-inherited", |
| 2463 }, | 2577 }, |
| 2464 { | 2578 { |
| 2465 name: "-webkit-text-emphasis-position", | 2579 name: "-webkit-text-emphasis-position", |
| 2466 inherited: true, | 2580 inherited: true, |
| 2467 type_name: "TextEmphasisPosition", | 2581 type_name: "TextEmphasisPosition", |
| 2468 }, | 2582 }, |
| 2469 { | 2583 { |
| 2470 name: "-webkit-text-emphasis-style", | 2584 name: "-webkit-text-emphasis-style", |
| 2471 api_class: true, | 2585 api_class: true, |
| 2472 api_methods: ["parseSingleValue"], | 2586 api_methods: ["parseSingleValue"], |
| 2473 custom_all: true, | 2587 custom_all: true, |
| 2474 inherited: true, | 2588 inherited: true, |
| 2475 }, | 2589 }, |
| 2476 { | 2590 { |
| 2477 name: "-webkit-text-fill-color", | 2591 name: "-webkit-text-fill-color", |
| 2478 api_class: "CSSPropertyAPIColor", | 2592 api_class: "CSSPropertyAPIColor", |
| 2479 api_methods: ["parseSingleValue"], | 2593 api_methods: ["parseSingleValue"], |
| 2480 custom_all: true, | 2594 custom_all: true, |
| 2481 inherited: true, | 2595 inherited: true, |
| 2596 field_template: "storage_only", |
| 2597 field_type_path: "platform/graphics/Color", |
| 2598 default_value: "Color()", |
| 2599 field_group: "rare-inherited", |
| 2482 }, | 2600 }, |
| 2483 { | 2601 { |
| 2484 name: "-webkit-text-security", | 2602 name: "-webkit-text-security", |
| 2485 inherited: true, | 2603 inherited: true, |
| 2604 field_template: "storage_only", |
| 2605 type_name: "ETextSecurity", |
| 2606 default_value: "ETextSecurity::kNone", |
| 2607 field_size: 2, |
| 2608 field_group: "rare-inherited", |
| 2486 }, | 2609 }, |
| 2487 { | 2610 { |
| 2488 name: "-webkit-text-stroke-color", | 2611 name: "-webkit-text-stroke-color", |
| 2489 api_class: "CSSPropertyAPIColor", | 2612 api_class: "CSSPropertyAPIColor", |
| 2490 api_methods: ["parseSingleValue"], | 2613 api_methods: ["parseSingleValue"], |
| 2491 custom_all: true, | 2614 custom_all: true, |
| 2492 inherited: true, | 2615 inherited: true, |
| 2493 interpolable: true, | 2616 interpolable: true, |
| 2617 field_template: "storage_only", |
| 2618 field_type_path: "platform/graphics/Color", |
| 2619 default_value: "Color()", |
| 2620 field_group: "rare-inherited", |
| 2494 }, | 2621 }, |
| 2495 { | 2622 { |
| 2496 name: "-webkit-text-stroke-width", | 2623 name: "-webkit-text-stroke-width", |
| 2497 api_class: true, | 2624 api_class: true, |
| 2498 api_methods: ["parseSingleValue"], | 2625 api_methods: ["parseSingleValue"], |
| 2499 converter: "ConvertTextStrokeWidth", | 2626 converter: "ConvertTextStrokeWidth", |
| 2500 inherited: true, | 2627 inherited: true, |
| 2628 field_template: "storage_only", |
| 2629 type_name: "float", |
| 2630 default_value: "0", |
| 2631 field_group: "rare-inherited", |
| 2501 }, | 2632 }, |
| 2502 { | 2633 { |
| 2503 name: "-webkit-transform-origin-x", | 2634 name: "-webkit-transform-origin-x", |
| 2504 api_class: "CSSPropertyAPIWebkitOriginX", | 2635 api_class: "CSSPropertyAPIWebkitOriginX", |
| 2505 converter: "ConvertLength", | 2636 converter: "ConvertLength", |
| 2506 interpolable: true, | 2637 interpolable: true, |
| 2507 }, | 2638 }, |
| 2508 { | 2639 { |
| 2509 name: "-webkit-transform-origin-y", | 2640 name: "-webkit-transform-origin-y", |
| 2510 api_class: "CSSPropertyAPIWebkitOriginY", | 2641 api_class: "CSSPropertyAPIWebkitOriginY", |
| 2511 converter: "ConvertLength", | 2642 converter: "ConvertLength", |
| 2512 interpolable: true, | 2643 interpolable: true, |
| 2513 }, | 2644 }, |
| 2514 { | 2645 { |
| 2515 name: "-webkit-transform-origin-z", | 2646 name: "-webkit-transform-origin-z", |
| 2516 api_class: true, | 2647 api_class: true, |
| 2517 api_methods: ["parseSingleValue"], | 2648 api_methods: ["parseSingleValue"], |
| 2518 converter: "ConvertComputedLength<float>", | 2649 converter: "ConvertComputedLength<float>", |
| 2519 interpolable: true, | 2650 interpolable: true, |
| 2520 }, | 2651 }, |
| 2521 "-webkit-user-drag", | 2652 "-webkit-user-drag", |
| 2522 { | 2653 { |
| 2523 name: "-webkit-user-modify", | 2654 name: "-webkit-user-modify", |
| 2524 inherited: true, | 2655 inherited: true, |
| 2656 field_template: "storage_only", |
| 2657 type_name: "EUserModify", |
| 2658 default_value: "EUserModify::kReadOnly", |
| 2659 field_size: 2, |
| 2660 field_group: "rare-inherited", |
| 2525 }, | 2661 }, |
| 2526 { | 2662 { |
| 2527 name: "user-select", | 2663 name: "user-select", |
| 2528 inherited: true, | 2664 inherited: true, |
| 2665 field_template: "storage_only", |
| 2666 type_name: "EUserSelect", |
| 2667 default_value: "true", |
| 2668 field_size: 2, |
| 2669 field_group: "rare-inherited", |
| 2529 }, | 2670 }, |
| 2530 { | 2671 { |
| 2531 name: "white-space", | 2672 name: "white-space", |
| 2532 independent: true, | 2673 independent: true, |
| 2533 inherited: true, | 2674 inherited: true, |
| 2534 default_value: "normal", | 2675 default_value: "normal", |
| 2535 field_template: "keyword", | 2676 field_template: "keyword", |
| 2536 keywords: ["normal", "pre", "pre-wrap", "pre-line", "nowrap", "-webkit-now
rap"], | 2677 keywords: ["normal", "pre", "pre-wrap", "pre-line", "nowrap", "-webkit-now
rap"], |
| 2537 }, | 2678 }, |
| 2538 { | 2679 { |
| 2539 name: "widows", | 2680 name: "widows", |
| 2540 api_class: "CSSPropertyAPIFragmentation", | 2681 api_class: "CSSPropertyAPIFragmentation", |
| 2541 api_methods: ["parseSingleValue"], | 2682 api_methods: ["parseSingleValue"], |
| 2542 inherited: true, | 2683 inherited: true, |
| 2543 interpolable: true, | 2684 interpolable: true, |
| 2685 field_template: "storage_only", |
| 2544 type_name: "short", | 2686 type_name: "short", |
| 2687 default_value: "2", |
| 2688 field_group: "rare-inherited", |
| 2545 }, | 2689 }, |
| 2546 { | 2690 { |
| 2547 name: "width", | 2691 name: "width", |
| 2548 api_class: "CSSPropertyAPIWidthOrHeight", | 2692 api_class: "CSSPropertyAPIWidthOrHeight", |
| 2549 converter: "ConvertLengthSizing", | 2693 converter: "ConvertLengthSizing", |
| 2550 is_descriptor: true, | 2694 is_descriptor: true, |
| 2551 interpolable: true, | 2695 interpolable: true, |
| 2552 keywords: ["auto", "fit-content", "min-content", "max-content"], | 2696 keywords: ["auto", "fit-content", "min-content", "max-content"], |
| 2553 supports_percentage: true, | 2697 supports_percentage: true, |
| 2554 typedom_types: ["Length"], | 2698 typedom_types: ["Length"], |
| 2555 field_template: "external", | 2699 field_template: "external", |
| 2556 field_type_path: "platform/Length", | 2700 field_type_path: "platform/Length", |
| 2557 field_group: "box", | 2701 field_group: "box", |
| 2558 default_value: "Length()" | 2702 default_value: "Length()" |
| 2559 }, | 2703 }, |
| 2560 { | 2704 { |
| 2561 name: "will-change", | 2705 name: "will-change", |
| 2562 api_class: true, | 2706 api_class: true, |
| 2563 api_methods: ["parseSingleValue"], | 2707 api_methods: ["parseSingleValue"], |
| 2564 custom_all: true, | 2708 custom_all: true, |
| 2565 }, | 2709 }, |
| 2566 { | 2710 { |
| 2567 name: "word-break", | 2711 name: "word-break", |
| 2568 inherited: true, | 2712 inherited: true, |
| 2713 field_template: "storage_only", |
| 2714 type_name: "EWordBreak", |
| 2715 default_value: "EWordBreak::kNormal", |
| 2716 field_size: 2, |
| 2717 field_group: "rare-inherited", |
| 2569 }, | 2718 }, |
| 2570 { | 2719 { |
| 2571 name: "word-spacing", | 2720 name: "word-spacing", |
| 2572 api_class: "CSSPropertyAPILetterAndWordSpacing", | 2721 api_class: "CSSPropertyAPILetterAndWordSpacing", |
| 2573 api_methods: ["parseSingleValue"], | 2722 api_methods: ["parseSingleValue"], |
| 2574 converter: "ConvertSpacing", | 2723 converter: "ConvertSpacing", |
| 2575 inherited: true, | 2724 inherited: true, |
| 2576 initial: "InitialLetterWordSpacing", | 2725 initial: "InitialLetterWordSpacing", |
| 2577 interpolable: true, | 2726 interpolable: true, |
| 2578 }, | 2727 }, |
| (...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3343 { | 3492 { |
| 3344 name: "-webkit-transition-timing-function", | 3493 name: "-webkit-transition-timing-function", |
| 3345 alias_for: "transition-timing-function", | 3494 alias_for: "transition-timing-function", |
| 3346 }, | 3495 }, |
| 3347 { | 3496 { |
| 3348 name: "-webkit-user-select", | 3497 name: "-webkit-user-select", |
| 3349 alias_for: "user-select", | 3498 alias_for: "user-select", |
| 3350 }, | 3499 }, |
| 3351 ], | 3500 ], |
| 3352 } | 3501 } |
| OLD | NEW |