PluginProbe
Smart Grid-Layout Design for Contact Form 7 / 4.5
Smart Grid-Layout Design for Contact Form 7 v4.5
4.18.0 4.17.0 3.2.0 3.2.1 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 4.0.0 4.0.1 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.10 4.11 4.12 4.13 4.14 All 119 releases
← All changes | assets/codemirror/mode/css/test.js +22 -33 4.114.5 View file →
@@ -1,6 +1,6 @@
1 1 // CodeMirror, copyright (c) by Marijn Haverbeke and others
2 -// Distributed under an MIT license: https://codemirror.net/LICENSE
2 +// Distributed under an MIT license: http://codemirror.net/LICENSE
3 3
4 4 (function() {
5 5 var mode = CodeMirror.getMode({indentUnit: 2}, "css");
6 6 function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
@@ -23,11 +23,8 @@
23 23
24 24 MT("atMediaUnknownFeatureValueKeyword",
25 25 "[def @media] ([property orientation]: [error upsidedown]) { }");
26 26
27 - MT("atMediaUppercase",
28 - "[def @MEDIA] ([property orienTAtion]: [keyword landScape]) { }");
29 -
30 27 MT("tagSelector",
31 28 "[tag foo] { }");
32 29
33 30 MT("classSelector",
@@ -88,13 +85,13 @@
88 85 MT("tagTwoProperties",
89 86 "[tag foo] { [property margin]: [number 0]; [property padding]: [number 0]; }");
90 87
91 88 MT("tagTwoPropertiesURL",
92 - "[tag foo] { [property background]: [variable&callee url]([string //example.com/foo.png]); [property padding]: [number 0]; }");
89 + "[tag foo] { [property background]: [atom url]([string //example.com/foo.png]); [property padding]: [number 0]; }");
93 90
94 91 MT("indent_tagSelector",
95 92 "[tag strong], [tag em] {",
96 - " [property background]: [variable&callee rgba](",
93 + " [property background]: [atom rgba](",
97 94 " [number 255], [number 255], [number 0], [number .2]",
98 95 " );",
99 96 "}");
100 97
@@ -113,9 +110,9 @@
113 110 "}");
114 111
115 112 MT("indent_parentheses",
116 113 "[tag foo]:[variable-3 before] {",
117 - " [property background]: [variable&callee url](",
114 + " [property background]: [atom url](",
118 115 "[string blahblah]",
119 116 "[string etc]",
120 117 "[string ]) [keyword !important];",
121 118 "}");
@@ -123,22 +120,22 @@
123 120 MT("font_face",
124 121 "[def @font-face] {",
125 122 " [property font-family]: [string 'myfont'];",
126 123 " [error nonsense]: [string 'abc'];",
127 - " [property src]: [variable&callee url]([string http://blah]),",
128 - " [variable&callee url]([string http://foo]);",
124 + " [property src]: [atom url]([string http://blah]),",
125 + " [atom url]([string http://foo]);",
129 126 "}");
130 127
131 128 MT("empty_url",
132 - "[def @import] [variable&callee url]() [attribute screen];");
129 + "[def @import] [atom url]() [attribute screen];");
133 130
134 131 MT("parens",
135 132 "[qualifier .foo] {",
136 - " [property background-image]: [variable&callee fade]([atom #000], [number 20%]);",
137 - " [property border-image]: [variable&callee linear-gradient](",
133 + " [property background-image]: [variable fade]([atom #000], [number 20%]);",
134 + " [property border-image]: [atom linear-gradient](",
138 135 " [atom to] [atom bottom],",
139 - " [variable&callee fade]([atom #000], [number 20%]) [number 0%],",
140 - " [variable&callee fade]([atom #000], [number 20%]) [number 100%]",
136 + " [variable fade]([atom #000], [number 20%]) [number 0%],",
137 + " [variable fade]([atom #000], [number 20%]) [number 100%]",
141 138 " );",
142 139 "}");
143 140
144 141 MT("css_variable",
@@ -145,19 +142,11 @@
145 142 ":[variable-3 root] {",
146 143 " [variable-2 --main-color]: [atom #06c];",
147 144 "}",
148 145 "[tag h1][builtin #foo] {",
149 - " [property color]: [variable&callee var]([variable-2 --main-color]);",
146 + " [property color]: [atom var]([variable-2 --main-color]);",
150 147 "}");
151 148
152 - MT("blank_css_variable",
153 - ":[variable-3 root] {",
154 - " [variable-2 --]: [atom #06c];",
155 - "}",
156 - "[tag h1][builtin #foo] {",
157 - " [property color]: [variable&callee var]([variable-2 --]);",
158 - "}");
159 -
160 149 MT("supports",
161 150 "[def @supports] ([keyword not] (([property text-align-last]: [atom justify]) [keyword or] ([meta -moz-][property text-align-last]: [atom justify])) {",
162 151 " [property text-align-last]: [atom justify];",
163 152 "}");
@@ -162,12 +151,12 @@
162 151 " [property text-align-last]: [atom justify];",
163 152 "}");
164 153
165 154 MT("document",
166 - "[def @document] [variable&callee url]([string http://blah]),",
167 - " [variable&callee url-prefix]([string https://]),",
168 - " [variable&callee domain]([string blah.com]),",
169 - " [variable&callee regexp]([string \".*blah.+\"]) {",
155 + "[def @document] [tag url]([string http://blah]),",
156 + " [tag url-prefix]([string https://]),",
157 + " [tag domain]([string blah.com]),",
158 + " [tag regexp]([string \".*blah.+\"]) {",
170 159 " [builtin #id] {",
171 160 " [property background-color]: [keyword white];",
172 161 " }",
173 162 " [tag foo] {",
@@ -175,18 +164,18 @@
175 164 " }",
176 165 "}");
177 166
178 167 MT("document_url",
179 - "[def @document] [variable&callee url]([string http://blah]) { [qualifier .class] { } }");
168 + "[def @document] [tag url]([string http://blah]) { [qualifier .class] { } }");
180 169
181 170 MT("document_urlPrefix",
182 - "[def @document] [variable&callee url-prefix]([string https://]) { [builtin #id] { } }");
171 + "[def @document] [tag url-prefix]([string https://]) { [builtin #id] { } }");
183 172
184 173 MT("document_domain",
185 - "[def @document] [variable&callee domain]([string blah.com]) { [tag foo] { } }");
174 + "[def @document] [tag domain]([string blah.com]) { [tag foo] { } }");
186 175
187 176 MT("document_regexp",
188 - "[def @document] [variable&callee regexp]([string \".*blah.+\"]) { [builtin #id] { } }");
177 + "[def @document] [tag regexp]([string \".*blah.+\"]) { [builtin #id] { } }");
189 178
190 179 MT("counter-style",
191 180 "[def @counter-style] [variable binary] {",
192 181 " [property system]: [atom numeric];",
@@ -206,12 +195,12 @@
206 195 MT("counter-style-use",
207 196 "[tag ol][qualifier .roman] { [property list-style]: [variable simple-roman]; }");
208 197
209 198 MT("counter-style-symbols",
210 - "[tag ol] { [property list-style]: [variable&callee symbols]([atom cyclic] [string \"*\"] [string \"\\2020\"] [string \"\\2021\"] [string \"\\A7\"]); }");
199 + "[tag ol] { [property list-style]: [atom symbols]([atom cyclic] [string \"*\"] [string \"\\2020\"] [string \"\\2021\"] [string \"\\A7\"]); }");
211 200
212 201 MT("comment-does-not-disrupt",
213 202 "[def @font-face] [comment /* foo */] {",
214 - " [property src]: [variable&callee url]([string x]);",
203 + " [property src]: [atom url]([string x]);",
215 204 " [property font-family]: [variable One];",
216 205 "}")
217 206 })();