| 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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 name: "align-content", | 513 name: "align-content", |
| 514 converter: "convertContentAlignmentData", | 514 converter: "convertContentAlignmentData", |
| 515 initial: "initialContentAlignment", | 515 initial: "initialContentAlignment", |
| 516 }, | 516 }, |
| 517 { | 517 { |
| 518 name: "align-items", | 518 name: "align-items", |
| 519 api_class: true, | 519 api_class: true, |
| 520 api_methods: ["parseSingleValue"], | 520 api_methods: ["parseSingleValue"], |
| 521 converter: "convertSelfOrDefaultAlignmentData", | 521 converter: "convertSelfOrDefaultAlignmentData", |
| 522 initial: "initialDefaultAlignment", | 522 initial: "initialDefaultAlignment", |
| 523 api_class: true, |
| 523 }, | 524 }, |
| 524 { | 525 { |
| 525 name: "alignment-baseline", | 526 name: "alignment-baseline", |
| 526 svg: true, | 527 svg: true, |
| 527 }, | 528 }, |
| 528 { | 529 { |
| 529 api_class: "CSSPropertyAPIAlignOrJustifySelf", | 530 api_class: "CSSPropertyAPIAlignOrJustifySelf", |
| 530 api_methods: ["parseSingleValue"], | 531 api_methods: ["parseSingleValue"], |
| 531 name: "align-self", | 532 name: "align-self", |
| 532 converter: "convertSelfOrDefaultAlignmentData", | 533 converter: "convertSelfOrDefaultAlignmentData", |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 name: "border-top-width", | 730 name: "border-top-width", |
| 730 converter: "convertLineWidth<unsigned>", | 731 converter: "convertLineWidth<unsigned>", |
| 731 initial: "initialBorderWidth", | 732 initial: "initialBorderWidth", |
| 732 interpolable: true, | 733 interpolable: true, |
| 733 keywords: ["thin", "medium", "thick"], | 734 keywords: ["thin", "medium", "thick"], |
| 734 supports_percentage: true, | 735 supports_percentage: true, |
| 735 typedom_types: ["Length"], | 736 typedom_types: ["Length"], |
| 736 }, | 737 }, |
| 737 { | 738 { |
| 738 name: "bottom", | 739 name: "bottom", |
| 740 api_class: "CSSPropertyAPIMargin", |
| 741 api_methods: ["parseSingleValue"], |
| 739 converter: "convertLengthOrAuto", | 742 converter: "convertLengthOrAuto", |
| 740 initial: "initialOffset", | 743 initial: "initialOffset", |
| 741 interpolable: true, | 744 interpolable: true, |
| 742 keywords: ["auto"], | 745 keywords: ["auto"], |
| 743 supports_percentage: true, | 746 supports_percentage: true, |
| 744 typedom_types: ["Length"], | 747 typedom_types: ["Length"], |
| 745 }, | 748 }, |
| 746 { | 749 { |
| 747 name: "box-shadow", | 750 name: "box-shadow", |
| 748 converter: "convertShadowList", | 751 converter: "convertShadowList", |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1061 converter: "convertContentAlignmentData", | 1064 converter: "convertContentAlignmentData", |
| 1062 initial: "initialContentAlignment", | 1065 initial: "initialContentAlignment", |
| 1063 }, | 1066 }, |
| 1064 { | 1067 { |
| 1065 name: "justify-items", | 1068 name: "justify-items", |
| 1066 api_class: true, | 1069 api_class: true, |
| 1067 api_methods: ["parseSingleValue"], | 1070 api_methods: ["parseSingleValue"], |
| 1068 converter: "convertSelfOrDefaultAlignmentData", | 1071 converter: "convertSelfOrDefaultAlignmentData", |
| 1069 initial: "initialSelfAlignment", | 1072 initial: "initialSelfAlignment", |
| 1070 runtime_flag: "CSSGridLayout", | 1073 runtime_flag: "CSSGridLayout", |
| 1074 api_class: true, |
| 1071 }, | 1075 }, |
| 1072 { | 1076 { |
| 1073 name: "justify-self", | 1077 name: "justify-self", |
| 1074 api_class: "CSSPropertyAPIAlignOrJustifySelf", | 1078 api_class: "CSSPropertyAPIAlignOrJustifySelf", |
| 1075 api_methods: ["parseSingleValue"], | 1079 api_methods: ["parseSingleValue"], |
| 1076 converter: "convertSelfOrDefaultAlignmentData", | 1080 converter: "convertSelfOrDefaultAlignmentData", |
| 1077 initial: "initialSelfAlignment", | 1081 initial: "initialSelfAlignment", |
| 1078 runtime_flag: "CSSGridLayout", | 1082 runtime_flag: "CSSGridLayout", |
| 1079 }, | 1083 }, |
| 1080 { | 1084 { |
| 1081 name: "left", | 1085 name: "left", |
| 1086 api_class: "CSSPropertyAPIMargin", |
| 1087 api_methods: ["parseSingleValue"], |
| 1082 converter: "convertLengthOrAuto", | 1088 converter: "convertLengthOrAuto", |
| 1083 initial: "initialOffset", | 1089 initial: "initialOffset", |
| 1084 interpolable: true, | 1090 interpolable: true, |
| 1085 keywords: ["auto"], | 1091 keywords: ["auto"], |
| 1086 supports_percentage: true, | 1092 supports_percentage: true, |
| 1087 typedom_types: ["Length"], | 1093 typedom_types: ["Length"], |
| 1088 }, | 1094 }, |
| 1089 { | 1095 { |
| 1090 name: "letter-spacing", | 1096 name: "letter-spacing", |
| 1091 api_class: "CSSPropertyAPILetterAndWordSpacing", | 1097 api_class: "CSSPropertyAPILetterAndWordSpacing", |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1131 name: "list-style-type", | 1137 name: "list-style-type", |
| 1132 inherited: true, | 1138 inherited: true, |
| 1133 initial_keyword: "disc", | 1139 initial_keyword: "disc", |
| 1134 keyword_only: true, | 1140 keyword_only: true, |
| 1135 keywords: [ | 1141 keywords: [ |
| 1136 "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", | 1142 "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", |
| 1137 ], | 1143 ], |
| 1138 }, | 1144 }, |
| 1139 { | 1145 { |
| 1140 name: "margin-bottom", | 1146 name: "margin-bottom", |
| 1147 api_class: "CSSPropertyAPIMargin", |
| 1148 api_methods: ["parseSingleValue"], |
| 1141 converter: "convertQuirkyLength", | 1149 converter: "convertQuirkyLength", |
| 1142 initial: "initialMargin", | 1150 initial: "initialMargin", |
| 1143 interpolable: true, | 1151 interpolable: true, |
| 1144 }, | 1152 }, |
| 1145 { | 1153 { |
| 1146 name: "margin-left", | 1154 name: "margin-left", |
| 1155 api_class: "CSSPropertyAPIMargin", |
| 1156 api_methods: ["parseSingleValue"], |
| 1147 converter: "convertQuirkyLength", | 1157 converter: "convertQuirkyLength", |
| 1148 initial: "initialMargin", | 1158 initial: "initialMargin", |
| 1149 interpolable: true, | 1159 interpolable: true, |
| 1150 }, | 1160 }, |
| 1151 { | 1161 { |
| 1152 name: "margin-right", | 1162 name: "margin-right", |
| 1163 api_class: "CSSPropertyAPIMargin", |
| 1164 api_methods: ["parseSingleValue"], |
| 1153 converter: "convertQuirkyLength", | 1165 converter: "convertQuirkyLength", |
| 1154 initial: "initialMargin", | 1166 initial: "initialMargin", |
| 1155 interpolable: true, | 1167 interpolable: true, |
| 1156 }, | 1168 }, |
| 1157 { | 1169 { |
| 1158 name: "margin-top", | 1170 name: "margin-top", |
| 1171 api_class: "CSSPropertyAPIMargin", |
| 1172 api_methods: ["parseSingleValue"], |
| 1159 converter: "convertQuirkyLength", | 1173 converter: "convertQuirkyLength", |
| 1160 initial: "initialMargin", | 1174 initial: "initialMargin", |
| 1161 interpolable: true, | 1175 interpolable: true, |
| 1162 }, | 1176 }, |
| 1163 { | 1177 { |
| 1164 name: "marker-end", | 1178 name: "marker-end", |
| 1165 converter: "convertFragmentIdentifier", | 1179 converter: "convertFragmentIdentifier", |
| 1166 inherited: true, | 1180 inherited: true, |
| 1167 name_for_methods: "MarkerEndResource", | 1181 name_for_methods: "MarkerEndResource", |
| 1168 svg: true, | 1182 svg: true, |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1417 api_methods: ["parseSingleValue"], | 1431 api_methods: ["parseSingleValue"], |
| 1418 converter: "convertQuotes", | 1432 converter: "convertQuotes", |
| 1419 inherited: true, | 1433 inherited: true, |
| 1420 }, | 1434 }, |
| 1421 { | 1435 { |
| 1422 name: "resize", | 1436 name: "resize", |
| 1423 custom_value: true, | 1437 custom_value: true, |
| 1424 }, | 1438 }, |
| 1425 { | 1439 { |
| 1426 name: "right", | 1440 name: "right", |
| 1441 api_class: "CSSPropertyAPIMargin", |
| 1442 api_methods: ["parseSingleValue"], |
| 1427 converter: "convertLengthOrAuto", | 1443 converter: "convertLengthOrAuto", |
| 1428 initial: "initialOffset", | 1444 initial: "initialOffset", |
| 1429 interpolable: true, | 1445 interpolable: true, |
| 1430 keywords: ["auto"], | 1446 keywords: ["auto"], |
| 1431 supports_percentage: true, | 1447 supports_percentage: true, |
| 1432 typedom_types: ["Length"], | 1448 typedom_types: ["Length"], |
| 1433 }, | 1449 }, |
| 1434 { | 1450 { |
| 1435 name: "r", | 1451 name: "r", |
| 1436 converter: "convertLength", | 1452 converter: "convertLength", |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1727 { | 1743 { |
| 1728 name: "text-underline-position", | 1744 name: "text-underline-position", |
| 1729 api_class: true, | 1745 api_class: true, |
| 1730 api_methods: ["parseSingleValue"], | 1746 api_methods: ["parseSingleValue"], |
| 1731 inherited: true, | 1747 inherited: true, |
| 1732 runtime_flag: "CSS3TextDecorations", | 1748 runtime_flag: "CSS3TextDecorations", |
| 1733 type_name: "TextUnderlinePosition", | 1749 type_name: "TextUnderlinePosition", |
| 1734 }, | 1750 }, |
| 1735 { | 1751 { |
| 1736 name: "top", | 1752 name: "top", |
| 1753 api_class: "CSSPropertyAPIMargin", |
| 1754 api_methods: ["parseSingleValue"], |
| 1737 converter: "convertLengthOrAuto", | 1755 converter: "convertLengthOrAuto", |
| 1738 initial: "initialOffset", | 1756 initial: "initialOffset", |
| 1739 interpolable: true, | 1757 interpolable: true, |
| 1740 keywords: ["auto"], | 1758 keywords: ["auto"], |
| 1741 supports_percentage: true, | 1759 supports_percentage: true, |
| 1742 typedom_types: ["Length"], | 1760 typedom_types: ["Length"], |
| 1743 }, | 1761 }, |
| 1744 { | 1762 { |
| 1745 name: "touch-action", | 1763 name: "touch-action", |
| 1746 api_class: true, | 1764 api_class: true, |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2313 { | 2331 { |
| 2314 name: "-webkit-border-after-style", | 2332 name: "-webkit-border-after-style", |
| 2315 direction_aware: true, | 2333 direction_aware: true, |
| 2316 }, | 2334 }, |
| 2317 { | 2335 { |
| 2318 name: "-webkit-border-after-width", | 2336 name: "-webkit-border-after-width", |
| 2319 direction_aware: true, | 2337 direction_aware: true, |
| 2320 }, | 2338 }, |
| 2321 { | 2339 { |
| 2322 name: "-webkit-margin-end", | 2340 name: "-webkit-margin-end", |
| 2341 api_class: "CSSPropertyAPIWebkitMargin", |
| 2342 api_methods: ["parseSingleValue"], |
| 2323 direction_aware: true, | 2343 direction_aware: true, |
| 2324 }, | 2344 }, |
| 2325 { | 2345 { |
| 2326 name: "-webkit-margin-start", | 2346 name: "-webkit-margin-start", |
| 2347 api_class: "CSSPropertyAPIWebkitMargin", |
| 2348 api_methods: ["parseSingleValue"], |
| 2327 direction_aware: true, | 2349 direction_aware: true, |
| 2328 }, | 2350 }, |
| 2329 { | 2351 { |
| 2330 name: "-webkit-margin-before", | 2352 name: "-webkit-margin-before", |
| 2353 api_class: "CSSPropertyAPIWebkitMargin", |
| 2354 api_methods: ["parseSingleValue"], |
| 2331 direction_aware: true, | 2355 direction_aware: true, |
| 2332 }, | 2356 }, |
| 2333 { | 2357 { |
| 2334 name: "-webkit-margin-after", | 2358 name: "-webkit-margin-after", |
| 2359 api_class: "CSSPropertyAPIWebkitMargin", |
| 2360 api_methods: ["parseSingleValue"], |
| 2335 direction_aware: true, | 2361 direction_aware: true, |
| 2336 }, | 2362 }, |
| 2337 { | 2363 { |
| 2338 name: "-webkit-padding-end", | 2364 name: "-webkit-padding-end", |
| 2339 api_class: "CSSPropertyAPIWebkitPadding", | 2365 api_class: "CSSPropertyAPIWebkitPadding", |
| 2340 api_methods: ["parseSingleValue"], | 2366 api_methods: ["parseSingleValue"], |
| 2341 direction_aware: true, | 2367 direction_aware: true, |
| 2342 }, | 2368 }, |
| 2343 { | 2369 { |
| 2344 name: "-webkit-padding-start", | 2370 name: "-webkit-padding-start", |
| (...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2932 { | 2958 { |
| 2933 name: "-webkit-transition-timing-function", | 2959 name: "-webkit-transition-timing-function", |
| 2934 alias_for: "transition-timing-function", | 2960 alias_for: "transition-timing-function", |
| 2935 }, | 2961 }, |
| 2936 { | 2962 { |
| 2937 name: "-webkit-user-select", | 2963 name: "-webkit-user-select", |
| 2938 alias_for: "user-select", | 2964 alias_for: "user-select", |
| 2939 }, | 2965 }, |
| 2940 ], | 2966 ], |
| 2941 } | 2967 } |
| OLD | NEW |