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 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 name: "border-top-width", | 704 name: "border-top-width", |
705 converter: "convertLineWidth<unsigned>", | 705 converter: "convertLineWidth<unsigned>", |
706 initial: "initialBorderWidth", | 706 initial: "initialBorderWidth", |
707 interpolable: true, | 707 interpolable: true, |
708 keywords: ["thin", "medium", "thick"], | 708 keywords: ["thin", "medium", "thick"], |
709 supports_percentage: true, | 709 supports_percentage: true, |
710 typedom_types: ["Length"], | 710 typedom_types: ["Length"], |
711 }, | 711 }, |
712 { | 712 { |
713 name: "bottom", | 713 name: "bottom", |
714 api_class: "CSSPropertyAPIMargin", | |
715 converter: "convertLengthOrAuto", | 714 converter: "convertLengthOrAuto", |
716 initial: "initialOffset", | 715 initial: "initialOffset", |
717 interpolable: true, | 716 interpolable: true, |
718 keywords: ["auto"], | 717 keywords: ["auto"], |
719 supports_percentage: true, | 718 supports_percentage: true, |
720 typedom_types: ["Length"], | 719 typedom_types: ["Length"], |
721 }, | 720 }, |
722 { | 721 { |
723 name: "box-shadow", | 722 name: "box-shadow", |
724 converter: "convertShadowList", | 723 converter: "convertShadowList", |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1028 }, | 1027 }, |
1029 { | 1028 { |
1030 name: "justify-self", | 1029 name: "justify-self", |
1031 converter: "convertSelfOrDefaultAlignmentData", | 1030 converter: "convertSelfOrDefaultAlignmentData", |
1032 initial: "initialSelfAlignment", | 1031 initial: "initialSelfAlignment", |
1033 runtime_flag: "CSSGridLayout", | 1032 runtime_flag: "CSSGridLayout", |
1034 api_class: "CSSPropertyAPIAlignOrJustifySelf", | 1033 api_class: "CSSPropertyAPIAlignOrJustifySelf", |
1035 }, | 1034 }, |
1036 { | 1035 { |
1037 name: "left", | 1036 name: "left", |
1038 api_class: "CSSPropertyAPIMargin", | |
1039 converter: "convertLengthOrAuto", | 1037 converter: "convertLengthOrAuto", |
1040 initial: "initialOffset", | 1038 initial: "initialOffset", |
1041 interpolable: true, | 1039 interpolable: true, |
1042 keywords: ["auto"], | 1040 keywords: ["auto"], |
1043 supports_percentage: true, | 1041 supports_percentage: true, |
1044 typedom_types: ["Length"], | 1042 typedom_types: ["Length"], |
1045 }, | 1043 }, |
1046 { | 1044 { |
1047 name: "letter-spacing", | 1045 name: "letter-spacing", |
1048 api_class: "CSSPropertyAPILetterAndWordSpacing", | 1046 api_class: "CSSPropertyAPILetterAndWordSpacing", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1085 name: "list-style-type", | 1083 name: "list-style-type", |
1086 inherited: true, | 1084 inherited: true, |
1087 initial_keyword: "disc", | 1085 initial_keyword: "disc", |
1088 keyword_only: true, | 1086 keyword_only: true, |
1089 keywords: [ | 1087 keywords: [ |
1090 "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", | 1088 "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", |
1091 ], | 1089 ], |
1092 }, | 1090 }, |
1093 { | 1091 { |
1094 name: "margin-bottom", | 1092 name: "margin-bottom", |
1095 api_class: "CSSPropertyAPIMargin", | |
1096 converter: "convertQuirkyLength", | 1093 converter: "convertQuirkyLength", |
1097 initial: "initialMargin", | 1094 initial: "initialMargin", |
1098 interpolable: true, | 1095 interpolable: true, |
1099 }, | 1096 }, |
1100 { | 1097 { |
1101 name: "margin-left", | 1098 name: "margin-left", |
1102 api_class: "CSSPropertyAPIMargin", | |
1103 converter: "convertQuirkyLength", | 1099 converter: "convertQuirkyLength", |
1104 initial: "initialMargin", | 1100 initial: "initialMargin", |
1105 interpolable: true, | 1101 interpolable: true, |
1106 }, | 1102 }, |
1107 { | 1103 { |
1108 name: "margin-right", | 1104 name: "margin-right", |
1109 api_class: "CSSPropertyAPIMargin", | |
1110 converter: "convertQuirkyLength", | 1105 converter: "convertQuirkyLength", |
1111 initial: "initialMargin", | 1106 initial: "initialMargin", |
1112 interpolable: true, | 1107 interpolable: true, |
1113 }, | 1108 }, |
1114 { | 1109 { |
1115 name: "margin-top", | 1110 name: "margin-top", |
1116 api_class: "CSSPropertyAPIMargin", | |
1117 converter: "convertQuirkyLength", | 1111 converter: "convertQuirkyLength", |
1118 initial: "initialMargin", | 1112 initial: "initialMargin", |
1119 interpolable: true, | 1113 interpolable: true, |
1120 }, | 1114 }, |
1121 { | 1115 { |
1122 name: "marker-end", | 1116 name: "marker-end", |
1123 converter: "convertFragmentIdentifier", | 1117 converter: "convertFragmentIdentifier", |
1124 inherited: true, | 1118 inherited: true, |
1125 name_for_methods: "MarkerEndResource", | 1119 name_for_methods: "MarkerEndResource", |
1126 svg: true, | 1120 svg: true, |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1358 api_class: true, | 1352 api_class: true, |
1359 converter: "convertQuotes", | 1353 converter: "convertQuotes", |
1360 inherited: true, | 1354 inherited: true, |
1361 }, | 1355 }, |
1362 { | 1356 { |
1363 name: "resize", | 1357 name: "resize", |
1364 custom_value: true, | 1358 custom_value: true, |
1365 }, | 1359 }, |
1366 { | 1360 { |
1367 name: "right", | 1361 name: "right", |
1368 api_class: "CSSPropertyAPIMargin", | |
1369 converter: "convertLengthOrAuto", | 1362 converter: "convertLengthOrAuto", |
1370 initial: "initialOffset", | 1363 initial: "initialOffset", |
1371 interpolable: true, | 1364 interpolable: true, |
1372 keywords: ["auto"], | 1365 keywords: ["auto"], |
1373 supports_percentage: true, | 1366 supports_percentage: true, |
1374 typedom_types: ["Length"], | 1367 typedom_types: ["Length"], |
1375 }, | 1368 }, |
1376 { | 1369 { |
1377 name: "r", | 1370 name: "r", |
1378 converter: "convertLength", | 1371 converter: "convertLength", |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1649 }, | 1642 }, |
1650 { | 1643 { |
1651 name: "text-underline-position", | 1644 name: "text-underline-position", |
1652 api_class: true, | 1645 api_class: true, |
1653 inherited: true, | 1646 inherited: true, |
1654 runtime_flag: "CSS3TextDecorations", | 1647 runtime_flag: "CSS3TextDecorations", |
1655 type_name: "TextUnderlinePosition", | 1648 type_name: "TextUnderlinePosition", |
1656 }, | 1649 }, |
1657 { | 1650 { |
1658 name: "top", | 1651 name: "top", |
1659 api_class: "CSSPropertyAPIMargin", | |
1660 converter: "convertLengthOrAuto", | 1652 converter: "convertLengthOrAuto", |
1661 initial: "initialOffset", | 1653 initial: "initialOffset", |
1662 interpolable: true, | 1654 interpolable: true, |
1663 keywords: ["auto"], | 1655 keywords: ["auto"], |
1664 supports_percentage: true, | 1656 supports_percentage: true, |
1665 typedom_types: ["Length"], | 1657 typedom_types: ["Length"], |
1666 }, | 1658 }, |
1667 { | 1659 { |
1668 name: "touch-action", | 1660 name: "touch-action", |
1669 api_class: true, | 1661 api_class: true, |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2206 { | 2198 { |
2207 name: "-webkit-border-after-style", | 2199 name: "-webkit-border-after-style", |
2208 direction_aware: true, | 2200 direction_aware: true, |
2209 }, | 2201 }, |
2210 { | 2202 { |
2211 name: "-webkit-border-after-width", | 2203 name: "-webkit-border-after-width", |
2212 direction_aware: true, | 2204 direction_aware: true, |
2213 }, | 2205 }, |
2214 { | 2206 { |
2215 name: "-webkit-margin-end", | 2207 name: "-webkit-margin-end", |
2216 api_class: "CSSPropertyAPIWebkitMargin", | |
2217 direction_aware: true, | 2208 direction_aware: true, |
2218 }, | 2209 }, |
2219 { | 2210 { |
2220 name: "-webkit-margin-start", | 2211 name: "-webkit-margin-start", |
2221 api_class: "CSSPropertyAPIWebkitMargin", | |
2222 direction_aware: true, | 2212 direction_aware: true, |
2223 }, | 2213 }, |
2224 { | 2214 { |
2225 name: "-webkit-margin-before", | 2215 name: "-webkit-margin-before", |
2226 api_class: "CSSPropertyAPIWebkitMargin", | |
2227 direction_aware: true, | 2216 direction_aware: true, |
2228 }, | 2217 }, |
2229 { | 2218 { |
2230 name: "-webkit-margin-after", | 2219 name: "-webkit-margin-after", |
2231 api_class: "CSSPropertyAPIWebkitMargin", | |
2232 direction_aware: true, | 2220 direction_aware: true, |
2233 }, | 2221 }, |
2234 { | 2222 { |
2235 name: "-webkit-padding-end", | 2223 name: "-webkit-padding-end", |
2236 api_class: "CSSPropertyAPIWebkitPadding", | 2224 api_class: "CSSPropertyAPIWebkitPadding", |
2237 direction_aware: true, | 2225 direction_aware: true, |
2238 }, | 2226 }, |
2239 { | 2227 { |
2240 name: "-webkit-padding-start", | 2228 name: "-webkit-padding-start", |
2241 api_class: "CSSPropertyAPIWebkitPadding", | 2229 api_class: "CSSPropertyAPIWebkitPadding", |
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2821 { | 2809 { |
2822 name: "-webkit-transition-timing-function", | 2810 name: "-webkit-transition-timing-function", |
2823 alias_for: "transition-timing-function", | 2811 alias_for: "transition-timing-function", |
2824 }, | 2812 }, |
2825 { | 2813 { |
2826 name: "-webkit-user-select", | 2814 name: "-webkit-user-select", |
2827 alias_for: "user-select", | 2815 alias_for: "user-select", |
2828 }, | 2816 }, |
2829 ], | 2817 ], |
2830 } | 2818 } |
OLD | NEW |