OLD | NEW |
1 Test the computed style of the -webkit-filter property. | 1 Test the computed style of the -webkit-filter property. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 | 6 |
7 Basic reference : url('#a') | 7 Basic reference : url('#a') |
8 PASS filterStyle.length is 1 | 8 PASS filterStyle is "url('#a')" |
9 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_REFERENCE | |
10 PASS subRule.cssText is 'url(\'#a\')' | |
11 | 9 |
12 Bare unquoted reference converting to quoted form : url(#a) | 10 Bare unquoted reference converting to quoted form : url(#a) |
13 PASS filterStyle.length is 1 | 11 PASS filterStyle is "url('#a')" |
14 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_REFERENCE | |
15 PASS subRule.cssText is 'url(\'#a\')' | |
16 | 12 |
17 Multiple references : url('#a') url('#b') | 13 Multiple references : url('#a') url('#b') |
18 PASS filterStyle.length is 2 | 14 PASS filterStyle is "url('#a') url('#b')" |
19 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_REFERENCE | |
20 PASS subRule.cssText is 'url(\'#a\')' | |
21 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_REFERENCE | |
22 PASS subRule.cssText is 'url(\'#b\')' | |
23 | 15 |
24 Reference as 2nd value : grayscale(1) url('#a') | 16 Reference as 2nd value : grayscale(1) url('#a') |
25 PASS filterStyle.length is 2 | 17 PASS filterStyle is "grayscale(1) url('#a')" |
26 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE | |
27 PASS subRule.cssText is 'grayscale(1)' | |
28 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_REFERENCE | |
29 PASS subRule.cssText is 'url(\'#a\')' | |
30 | 18 |
31 Integer value : grayscale(1) | 19 Integer value : grayscale(1) |
32 PASS filterStyle.length is 1 | 20 PASS filterStyle is "grayscale(1)" |
33 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE | |
34 PASS subRule.cssText is 'grayscale(1)' | |
35 | 21 |
36 Float value converts to integer : grayscale(1.0) | 22 Float value converts to integer : grayscale(1.0) |
37 PASS filterStyle.length is 1 | 23 PASS filterStyle is "grayscale(1)" |
38 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE | |
39 PASS subRule.cssText is 'grayscale(1)' | |
40 | 24 |
41 Zero value : grayscale(0) | 25 Zero value : grayscale(0) |
42 PASS filterStyle.length is 1 | 26 PASS filterStyle is "grayscale(0)" |
43 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE | |
44 PASS subRule.cssText is 'grayscale(0)' | |
45 | 27 |
46 No values : grayscale() | 28 No values : grayscale() |
47 PASS filterStyle.length is 1 | 29 PASS filterStyle is "grayscale(1)" |
48 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE | |
49 PASS subRule.cssText is 'grayscale(1)' | |
50 | 30 |
51 Multiple values : grayscale(0.5) grayscale(0.25) | 31 Multiple values : grayscale(0.5) grayscale(0.25) |
52 PASS filterStyle.length is 2 | 32 PASS filterStyle is "grayscale(0.5) grayscale(0.25)" |
53 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE | |
54 PASS subRule.cssText is 'grayscale(0.5)' | |
55 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE | |
56 PASS subRule.cssText is 'grayscale(0.25)' | |
57 | 33 |
58 Integer value : sepia(1) | 34 Integer value : sepia(1) |
59 PASS filterStyle.length is 1 | 35 PASS filterStyle is "sepia(1)" |
60 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SEPIA | |
61 PASS subRule.cssText is 'sepia(1)' | |
62 | 36 |
63 Float value converts to integer : sepia(1.0) | 37 Float value converts to integer : sepia(1.0) |
64 PASS filterStyle.length is 1 | 38 PASS filterStyle is "sepia(1)" |
65 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SEPIA | |
66 PASS subRule.cssText is 'sepia(1)' | |
67 | 39 |
68 Zero value : sepia(0) | 40 Zero value : sepia(0) |
69 PASS filterStyle.length is 1 | 41 PASS filterStyle is "sepia(0)" |
70 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SEPIA | |
71 PASS subRule.cssText is 'sepia(0)' | |
72 | 42 |
73 No values : sepia() | 43 No values : sepia() |
74 PASS filterStyle.length is 1 | 44 PASS filterStyle is "sepia(1)" |
75 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SEPIA | |
76 PASS subRule.cssText is 'sepia(1)' | |
77 | 45 |
78 Multiple values : sepia(0.5) sepia(0.25) | 46 Multiple values : sepia(0.5) sepia(0.25) |
79 PASS filterStyle.length is 2 | 47 PASS filterStyle is "sepia(0.5) sepia(0.25)" |
80 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SEPIA | |
81 PASS subRule.cssText is 'sepia(0.5)' | |
82 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SEPIA | |
83 PASS subRule.cssText is 'sepia(0.25)' | |
84 | 48 |
85 Rule combinations : sepia(0.5) grayscale(0.25) | 49 Rule combinations : sepia(0.5) grayscale(0.25) |
86 PASS filterStyle.length is 2 | 50 PASS filterStyle is "sepia(0.5) grayscale(0.25)" |
87 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SEPIA | |
88 PASS subRule.cssText is 'sepia(0.5)' | |
89 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE | |
90 PASS subRule.cssText is 'grayscale(0.25)' | |
91 | 51 |
92 Integer value : saturate(1) | 52 Integer value : saturate(1) |
93 PASS filterStyle.length is 1 | 53 PASS filterStyle is "saturate(1)" |
94 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SATURATE | |
95 PASS subRule.cssText is 'saturate(1)' | |
96 | 54 |
97 Float value converts to integer : saturate(1.0) | 55 Float value converts to integer : saturate(1.0) |
98 PASS filterStyle.length is 1 | 56 PASS filterStyle is "saturate(1)" |
99 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SATURATE | |
100 PASS subRule.cssText is 'saturate(1)' | |
101 | 57 |
102 Zero value : saturate(0) | 58 Zero value : saturate(0) |
103 PASS filterStyle.length is 1 | 59 PASS filterStyle is "saturate(0)" |
104 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SATURATE | |
105 PASS subRule.cssText is 'saturate(0)' | |
106 | 60 |
107 No values : saturate() | 61 No values : saturate() |
108 PASS filterStyle.length is 1 | 62 PASS filterStyle is "saturate(1)" |
109 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SATURATE | |
110 PASS subRule.cssText is 'saturate(1)' | |
111 | 63 |
112 Multiple values : saturate(0.5) saturate(0.25) | 64 Multiple values : saturate(0.5) saturate(0.25) |
113 PASS filterStyle.length is 2 | 65 PASS filterStyle is "saturate(0.5) saturate(0.25)" |
114 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SATURATE | |
115 PASS subRule.cssText is 'saturate(0.5)' | |
116 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SATURATE | |
117 PASS subRule.cssText is 'saturate(0.25)' | |
118 | 66 |
119 Rule combinations : saturate(0.5) grayscale(0.25) | 67 Rule combinations : saturate(0.5) grayscale(0.25) |
120 PASS filterStyle.length is 2 | 68 PASS filterStyle is "saturate(0.5) grayscale(0.25)" |
121 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SATURATE | |
122 PASS subRule.cssText is 'saturate(0.5)' | |
123 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE | |
124 PASS subRule.cssText is 'grayscale(0.25)' | |
125 | 69 |
126 Degrees value as integer : hue-rotate(10deg) | 70 Degrees value as integer : hue-rotate(10deg) |
127 PASS filterStyle.length is 1 | 71 PASS filterStyle is "hue-rotate(10deg)" |
128 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_HUE_ROTATE | |
129 PASS subRule.cssText is 'hue-rotate(10deg)' | |
130 | 72 |
131 Degrees float value converts to integer : hue-rotate(10.0deg) | 73 Degrees float value converts to integer : hue-rotate(10.0deg) |
132 PASS filterStyle.length is 1 | 74 PASS filterStyle is "hue-rotate(10deg)" |
133 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_HUE_ROTATE | |
134 PASS subRule.cssText is 'hue-rotate(10deg)' | |
135 | 75 |
136 Radians value : hue-rotate(10rad) | 76 Radians value : hue-rotate(10rad) |
137 PASS filterStyle.length is 1 | 77 PASS filterStyle is "hue-rotate(572.957795130823deg)" |
138 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_HUE_ROTATE | |
139 PASS subRule.cssText is 'hue-rotate(572.957795130823deg)' | |
140 | 78 |
141 Gradians value : hue-rotate(10grad) | 79 Gradians value : hue-rotate(10grad) |
142 PASS filterStyle.length is 1 | 80 PASS filterStyle is "hue-rotate(9deg)" |
143 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_HUE_ROTATE | |
144 PASS subRule.cssText is 'hue-rotate(9deg)' | |
145 | 81 |
146 Turns value : hue-rotate(0.5turn) | 82 Turns value : hue-rotate(0.5turn) |
147 PASS filterStyle.length is 1 | 83 PASS filterStyle is "hue-rotate(180deg)" |
148 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_HUE_ROTATE | |
149 PASS subRule.cssText is 'hue-rotate(180deg)' | |
150 | 84 |
151 Zero value : hue-rotate(0) | 85 Zero value : hue-rotate(0) |
152 PASS filterStyle.length is 1 | 86 PASS filterStyle is "hue-rotate(0deg)" |
153 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_HUE_ROTATE | |
154 PASS subRule.cssText is 'hue-rotate(0deg)' | |
155 | 87 |
156 No values : hue-rotate() | 88 No values : hue-rotate() |
157 PASS filterStyle.length is 1 | 89 PASS filterStyle is "hue-rotate(0deg)" |
158 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_HUE_ROTATE | |
159 PASS subRule.cssText is 'hue-rotate(0deg)' | |
160 | 90 |
161 Rule combinations : hue-rotate(10deg) grayscale(0.25) | 91 Rule combinations : hue-rotate(10deg) grayscale(0.25) |
162 PASS filterStyle.length is 2 | 92 PASS filterStyle is "hue-rotate(10deg) grayscale(0.25)" |
163 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_HUE_ROTATE | |
164 PASS subRule.cssText is 'hue-rotate(10deg)' | |
165 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE | |
166 PASS subRule.cssText is 'grayscale(0.25)' | |
167 | 93 |
168 Integer value : invert(1) | 94 Integer value : invert(1) |
169 PASS filterStyle.length is 1 | 95 PASS filterStyle is "invert(1)" |
170 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_INVERT | |
171 PASS subRule.cssText is 'invert(1)' | |
172 | 96 |
173 Float value converts to integer : invert(1.0) | 97 Float value converts to integer : invert(1.0) |
174 PASS filterStyle.length is 1 | 98 PASS filterStyle is "invert(1)" |
175 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_INVERT | |
176 PASS subRule.cssText is 'invert(1)' | |
177 | 99 |
178 Zero value : invert(0) | 100 Zero value : invert(0) |
179 PASS filterStyle.length is 1 | 101 PASS filterStyle is "invert(0)" |
180 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_INVERT | |
181 PASS subRule.cssText is 'invert(0)' | |
182 | 102 |
183 No values : invert() | 103 No values : invert() |
184 PASS filterStyle.length is 1 | 104 PASS filterStyle is "invert(1)" |
185 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_INVERT | |
186 PASS subRule.cssText is 'invert(1)' | |
187 | 105 |
188 Multiple values : invert(0.5) invert(0.25) | 106 Multiple values : invert(0.5) invert(0.25) |
189 PASS filterStyle.length is 2 | 107 PASS filterStyle is "invert(0.5) invert(0.25)" |
190 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_INVERT | |
191 PASS subRule.cssText is 'invert(0.5)' | |
192 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_INVERT | |
193 PASS subRule.cssText is 'invert(0.25)' | |
194 | 108 |
195 Rule combinations : invert(0.5) grayscale(0.25) | 109 Rule combinations : invert(0.5) grayscale(0.25) |
196 PASS filterStyle.length is 2 | 110 PASS filterStyle is "invert(0.5) grayscale(0.25)" |
197 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_INVERT | |
198 PASS subRule.cssText is 'invert(0.5)' | |
199 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE | |
200 PASS subRule.cssText is 'grayscale(0.25)' | |
201 | 111 |
202 Integer value : opacity(1) | 112 Integer value : opacity(1) |
203 PASS filterStyle.length is 1 | 113 PASS filterStyle is "opacity(1)" |
204 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_OPACITY | |
205 PASS subRule.cssText is 'opacity(1)' | |
206 | 114 |
207 Float value converts to integer : opacity(1.0) | 115 Float value converts to integer : opacity(1.0) |
208 PASS filterStyle.length is 1 | 116 PASS filterStyle is "opacity(1)" |
209 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_OPACITY | |
210 PASS subRule.cssText is 'opacity(1)' | |
211 | 117 |
212 Zero value : opacity(0) | 118 Zero value : opacity(0) |
213 PASS filterStyle.length is 1 | 119 PASS filterStyle is "opacity(0)" |
214 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_OPACITY | |
215 PASS subRule.cssText is 'opacity(0)' | |
216 | 120 |
217 No values : opacity() | 121 No values : opacity() |
218 PASS filterStyle.length is 1 | 122 PASS filterStyle is "opacity(1)" |
219 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_OPACITY | |
220 PASS subRule.cssText is 'opacity(1)' | |
221 | 123 |
222 Multiple values : opacity(0.5) opacity(0.25) | 124 Multiple values : opacity(0.5) opacity(0.25) |
223 PASS filterStyle.length is 2 | 125 PASS filterStyle is "opacity(0.5) opacity(0.25)" |
224 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_OPACITY | |
225 PASS subRule.cssText is 'opacity(0.5)' | |
226 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_OPACITY | |
227 PASS subRule.cssText is 'opacity(0.25)' | |
228 | 126 |
229 Rule combinations : opacity(0.5) grayscale(0.25) | 127 Rule combinations : opacity(0.5) grayscale(0.25) |
230 PASS filterStyle.length is 2 | 128 PASS filterStyle is "opacity(0.5) grayscale(0.25)" |
231 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_OPACITY | |
232 PASS subRule.cssText is 'opacity(0.5)' | |
233 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE | |
234 PASS subRule.cssText is 'grayscale(0.25)' | |
235 | 129 |
236 Integer value : brightness(1) | 130 Integer value : brightness(1) |
237 PASS filterStyle.length is 1 | 131 PASS filterStyle is "brightness(1)" |
238 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_BRIGHTNESS | |
239 PASS subRule.cssText is 'brightness(1)' | |
240 | 132 |
241 Float value converts to integer : brightness(1.0) | 133 Float value converts to integer : brightness(1.0) |
242 PASS filterStyle.length is 1 | 134 PASS filterStyle is "brightness(1)" |
243 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_BRIGHTNESS | |
244 PASS subRule.cssText is 'brightness(1)' | |
245 | 135 |
246 Zero value : brightness(0) | 136 Zero value : brightness(0) |
247 PASS filterStyle.length is 1 | 137 PASS filterStyle is "brightness(0)" |
248 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_BRIGHTNESS | |
249 PASS subRule.cssText is 'brightness(0)' | |
250 | 138 |
251 No values : brightness() | 139 No values : brightness() |
252 PASS filterStyle.length is 1 | 140 PASS filterStyle is "brightness(0)" |
253 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_BRIGHTNESS | |
254 PASS subRule.cssText is 'brightness(0)' | |
255 | 141 |
256 Multiple values : brightness(0.5) brightness(0.25) | 142 Multiple values : brightness(0.5) brightness(0.25) |
257 PASS filterStyle.length is 2 | 143 PASS filterStyle is "brightness(0.5) brightness(0.25)" |
258 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_BRIGHTNESS | |
259 PASS subRule.cssText is 'brightness(0.5)' | |
260 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_BRIGHTNESS | |
261 PASS subRule.cssText is 'brightness(0.25)' | |
262 | 144 |
263 Rule combinations : brightness(0.5) grayscale(0.25) | 145 Rule combinations : brightness(0.5) grayscale(0.25) |
264 PASS filterStyle.length is 2 | 146 PASS filterStyle is "brightness(0.5) grayscale(0.25)" |
265 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_BRIGHTNESS | |
266 PASS subRule.cssText is 'brightness(0.5)' | |
267 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE | |
268 PASS subRule.cssText is 'grayscale(0.25)' | |
269 | 147 |
270 Integer value : contrast(1) | 148 Integer value : contrast(1) |
271 PASS filterStyle.length is 1 | 149 PASS filterStyle is "contrast(1)" |
272 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_CONTRAST | |
273 PASS subRule.cssText is 'contrast(1)' | |
274 | 150 |
275 Value greater than 1 : contrast(2) | 151 Value greater than 1 : contrast(2) |
276 PASS filterStyle.length is 1 | 152 PASS filterStyle is "contrast(2)" |
277 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_CONTRAST | |
278 PASS subRule.cssText is 'contrast(2)' | |
279 | 153 |
280 Float value converts to integer : contrast(1.0) | 154 Float value converts to integer : contrast(1.0) |
281 PASS filterStyle.length is 1 | 155 PASS filterStyle is "contrast(1)" |
282 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_CONTRAST | |
283 PASS subRule.cssText is 'contrast(1)' | |
284 | 156 |
285 Zero value : contrast(0) | 157 Zero value : contrast(0) |
286 PASS filterStyle.length is 1 | 158 PASS filterStyle is "contrast(0)" |
287 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_CONTRAST | |
288 PASS subRule.cssText is 'contrast(0)' | |
289 | 159 |
290 No values : contrast() | 160 No values : contrast() |
291 PASS filterStyle.length is 1 | 161 PASS filterStyle is "contrast(1)" |
292 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_CONTRAST | |
293 PASS subRule.cssText is 'contrast(1)' | |
294 | 162 |
295 Multiple values : contrast(0.5) contrast(0.25) | 163 Multiple values : contrast(0.5) contrast(0.25) |
296 PASS filterStyle.length is 2 | 164 PASS filterStyle is "contrast(0.5) contrast(0.25)" |
297 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_CONTRAST | |
298 PASS subRule.cssText is 'contrast(0.5)' | |
299 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_CONTRAST | |
300 PASS subRule.cssText is 'contrast(0.25)' | |
301 | 165 |
302 Rule combinations : contrast(0.5) grayscale(0.25) | 166 Rule combinations : contrast(0.5) grayscale(0.25) |
303 PASS filterStyle.length is 2 | 167 PASS filterStyle is "contrast(0.5) grayscale(0.25)" |
304 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_CONTRAST | |
305 PASS subRule.cssText is 'contrast(0.5)' | |
306 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE | |
307 PASS subRule.cssText is 'grayscale(0.25)' | |
308 | 168 |
309 One zero to px : blur(0) | 169 One zero to px : blur(0) |
310 PASS filterStyle.length is 1 | 170 PASS filterStyle is "blur(0px)" |
311 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_BLUR | |
312 PASS subRule.cssText is 'blur(0px)' | |
313 | 171 |
314 One length : blur(2em) | 172 One length : blur(2em) |
315 PASS filterStyle.length is 1 | 173 PASS filterStyle is "blur(32px)" |
316 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_BLUR | |
317 PASS subRule.cssText is 'blur(32px)' | |
318 | 174 |
319 One length : blur(5px) | 175 One length : blur(5px) |
320 PASS filterStyle.length is 1 | 176 PASS filterStyle is "blur(5px)" |
321 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_BLUR | |
322 PASS subRule.cssText is 'blur(5px)' | |
323 | 177 |
324 No values : blur() | 178 No values : blur() |
325 PASS filterStyle.length is 1 | 179 PASS filterStyle is "blur(0px)" |
326 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_BLUR | |
327 PASS subRule.cssText is 'blur(0px)' | |
328 | 180 |
329 Color then three values : drop-shadow(red 1px 2px 3px) | 181 Color then three values : drop-shadow(red 1px 2px 3px) |
330 PASS filterStyle.length is 1 | 182 PASS filterStyle is "drop-shadow(rgb(255, 0, 0) 1px 2px 3px)" |
331 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_DROP_SHADOW | |
332 PASS subRule.cssText is 'drop-shadow(rgb(255, 0, 0) 1px 2px 3px)' | |
333 | 183 |
334 Three values then color : drop-shadow(1px 2px 3px red) | 184 Three values then color : drop-shadow(1px 2px 3px red) |
335 PASS filterStyle.length is 1 | 185 PASS filterStyle is "drop-shadow(rgb(255, 0, 0) 1px 2px 3px)" |
336 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_DROP_SHADOW | |
337 PASS subRule.cssText is 'drop-shadow(rgb(255, 0, 0) 1px 2px 3px)' | |
338 | 186 |
339 Color then three values with zero length : drop-shadow(#abc 0 0 0) | 187 Color then three values with zero length : drop-shadow(#abc 0 0 0) |
340 PASS filterStyle.length is 1 | 188 PASS filterStyle is "drop-shadow(rgb(170, 187, 204) 0px 0px 0px)" |
341 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_DROP_SHADOW | |
342 PASS subRule.cssText is 'drop-shadow(rgb(170, 187, 204) 0px 0px 0px)' | |
343 | 189 |
344 Three values with zero length : drop-shadow(0 0 0) | 190 Three values with zero length : drop-shadow(0 0 0) |
345 PASS filterStyle.length is 1 | 191 PASS filterStyle is "drop-shadow(rgba(0, 0, 0, 0) 0px 0px 0px)" |
346 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_DROP_SHADOW | |
347 PASS subRule.cssText is 'drop-shadow(rgba(0, 0, 0, 0) 0px 0px 0px)' | |
348 | 192 |
349 Two values no color : drop-shadow(1px 2px) | 193 Two values no color : drop-shadow(1px 2px) |
350 PASS filterStyle.length is 1 | 194 PASS filterStyle is "drop-shadow(rgba(0, 0, 0, 0) 1px 2px 0px)" |
351 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_DROP_SHADOW | |
352 PASS subRule.cssText is 'drop-shadow(rgba(0, 0, 0, 0) 1px 2px 0px)' | |
353 | 195 |
354 Multiple operations : grayscale(0.5) sepia(0.25) saturate(0.75) hue-rotate(35deg
) invert(0.2) opacity(0.9) blur(5px) | 196 Multiple operations : grayscale(0.5) sepia(0.25) saturate(0.75) hue-rotate(35deg
) invert(0.2) opacity(0.9) blur(5px) |
355 PASS filterStyle.length is 7 | 197 PASS filterStyle is "grayscale(0.5) sepia(0.25) saturate(0.75) hue-rotate(35deg)
invert(0.2) opacity(0.9) blur(5px)" |
356 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE | |
357 PASS subRule.cssText is 'grayscale(0.5)' | |
358 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SEPIA | |
359 PASS subRule.cssText is 'sepia(0.25)' | |
360 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SATURATE | |
361 PASS subRule.cssText is 'saturate(0.75)' | |
362 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_HUE_ROTATE | |
363 PASS subRule.cssText is 'hue-rotate(35deg)' | |
364 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_INVERT | |
365 PASS subRule.cssText is 'invert(0.2)' | |
366 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_OPACITY | |
367 PASS subRule.cssText is 'opacity(0.9)' | |
368 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_BLUR | |
369 PASS subRule.cssText is 'blur(5px)' | |
370 | 198 |
371 Percentage values : grayscale(50%) sepia(25%) saturate(75%) invert(20%) opacity(
90%) brightness(60%) contrast(30%) | 199 Percentage values : grayscale(50%) sepia(25%) saturate(75%) invert(20%) opacity(
90%) brightness(60%) contrast(30%) |
372 PASS filterStyle.length is 7 | 200 PASS filterStyle is "grayscale(0.5) sepia(0.25) saturate(0.75) invert(0.2) opaci
ty(0.9) brightness(0.6) contrast(0.3)" |
373 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_GRAYSCALE | |
374 PASS subRule.cssText is 'grayscale(0.5)' | |
375 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SEPIA | |
376 PASS subRule.cssText is 'sepia(0.25)' | |
377 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_SATURATE | |
378 PASS subRule.cssText is 'saturate(0.75)' | |
379 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_INVERT | |
380 PASS subRule.cssText is 'invert(0.2)' | |
381 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_OPACITY | |
382 PASS subRule.cssText is 'opacity(0.9)' | |
383 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_BRIGHTNESS | |
384 PASS subRule.cssText is 'brightness(0.6)' | |
385 PASS subRule.operationType is WebKitCSSFilterValue.CSS_FILTER_CONTRAST | |
386 PASS subRule.cssText is 'contrast(0.3)' | |
387 PASS successfullyParsed is true | 201 PASS successfullyParsed is true |
388 | 202 |
389 TEST COMPLETE | 203 TEST COMPLETE |
390 | 204 |
OLD | NEW |