OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <link rel="stylesheet" href="resources/default.css"> | 3 <link rel="stylesheet" href="resources/default.css"> |
4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> | 4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> |
5 <script type="text/javascript"> | 5 <script type="text/javascript"> |
6 if (window.testRunner) | 6 if (window.testRunner) |
7 testRunner.dumpAsTextWithPixelResults(); | 7 testRunner.dumpAsTextWithPixelResults(); |
8 function repaintTest() | 8 function repaintTest() |
9 { | 9 { |
10 document.getElementById('container').style.opacity = '0.4'; | 10 document.getElementById('container').style.opacity = '0.4'; |
11 } | 11 } |
12 </script> | 12 </script> |
13 </head> | 13 </head> |
14 <body style="height:2000px;" onload="runRepaintAndPixelTest()"> | 14 <body style="height:2000px;" onload="runRepaintAndPixelTest()"> |
15 <!-- You should see 2 rectangles touching on one corner in the output: a gre
en one (top left) and a green one. --> | 15 <!-- You should see 2 rectangles touching on one corner in the output: a gre
en one (top left) and a green one. --> |
16 <div id="container" style="top: 200px;" class="relative blue"><div style="to
p:100px; left:100px;" class="absolute green"></div></div> | 16 <div id="container" style="top: 200px;" class="relative blue"><div style="to
p:100px; left:100px;" class="absolute green"></div></div> |
17 </body> | 17 </body> |
18 </html> | 18 </html> |
OLD | NEW |