OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Tests the source-atop composite operator when source alpha is a fract
ional value.</title> | 4 <title>Tests the source-atop composite operator when source alpha is a fract
ional value.</title> |
5 <!-- This test passes if each horizontal pair of squares are exactly the sam
e color. --> | 5 <!-- This test passes if each horizontal pair of squares are exactly the sam
e color. --> |
6 <script> | 6 <script> |
7 if (window.testRunner) { | 7 if (window.testRunner) { |
8 window.testRunner.overridePreference("WebKitCSSCustomFilterEnabled",
"1"); | 8 window.testRunner.overridePreference("WebKitCSSCustomFilterEnabled",
"1"); |
9 window.testRunner.overridePreference("WebKitWebGLEnabled", "1"); | 9 window.testRunner.overridePreference("WebKitWebGLEnabled", "1"); |
10 window.testRunner.dumpAsText(true); | 10 window.testRunner.dumpAsTextWithPixelResults(); |
11 } | 11 } |
12 </script> | 12 </script> |
13 <style> | 13 <style> |
14 .pair-of-squares { | 14 .pair-of-squares { |
15 clear: both; | 15 clear: both; |
16 } | 16 } |
17 .pair-of-squares > div { | 17 .pair-of-squares > div { |
18 /* Square size. */ | 18 /* Square size. */ |
19 width: 20px; | 19 width: 20px; |
20 height: 20px; | 20 height: 20px; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 } | 62 } |
63 </style> | 63 </style> |
64 </head> | 64 </head> |
65 <body> | 65 <body> |
66 <div class="pair-of-squares"> | 66 <div class="pair-of-squares"> |
67 <div class="destination source-atop"></div> | 67 <div class="destination source-atop"></div> |
68 <div class="source-atop-expected"></div> | 68 <div class="source-atop-expected"></div> |
69 </div> | 69 </div> |
70 </body> | 70 </body> |
71 </html> | 71 </html> |
OLD | NEW |