OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Testing that the custom filter is applied correctly when a filter
in the stack is not loaded yet.</title> | 4 <title>Testing that the custom filter is applied correctly when a filter
in the stack is not loaded yet.</title> |
5 <script> | 5 <script> |
6 if (window.testRunner) { | 6 if (window.testRunner) { |
7 window.testRunner.overridePreference("WebKitCSSCustomFilterEnabl
ed", "1"); | 7 window.testRunner.overridePreference("WebKitCSSCustomFilterEnabl
ed", "1"); |
8 window.testRunner.overridePreference("WebKitWebGLEnabled", "1"); | 8 window.testRunner.overridePreference("WebKitWebGLEnabled", "1"); |
9 window.testRunner.dumpAsText(true); | 9 window.testRunner.dumpAsTextWithPixelResults(); |
10 window.testRunner.waitUntilDone(); | 10 window.testRunner.waitUntilDone(); |
11 } | 11 } |
12 | 12 |
13 function runTest() | 13 function runTest() |
14 { | 14 { |
15 // We need to run the tests after the downloading succeeded. | 15 // We need to run the tests after the downloading succeeded. |
16 if (window.testRunner) | 16 if (window.testRunner) |
17 window.testRunner.notifyDone(); | 17 window.testRunner.notifyDone(); |
18 } | 18 } |
19 </script> | 19 </script> |
(...skipping 14 matching lines...) Expand all Loading... |
34 <div class="helper_marker"> | 34 <div class="helper_marker"> |
35 <img class='filterA' src="../resources/reference.png"> | 35 <img class='filterA' src="../resources/reference.png"> |
36 </div> | 36 </div> |
37 <!-- | 37 <!-- |
38 Testing that multiple filters can be applied even if some filters ca
nnot be loaded. | 38 Testing that multiple filters can be applied even if some filters ca
nnot be loaded. |
39 You should see a rectangle with a washed out block of colored bars o
n top of green background. | 39 You should see a rectangle with a washed out block of colored bars o
n top of green background. |
40 There should be a green column left of the block spanning 20% of the
rectangle's width. | 40 There should be a green column left of the block spanning 20% of the
rectangle's width. |
41 --> | 41 --> |
42 </body> | 42 </body> |
43 </html> | 43 </html> |
OLD | NEW |