<html> <head> <link rel="stylesheet" href="resources/default.css"> <script src="resources/text-based-repaint.js" type="text/javascript"></script> <script type="text/javascript"> if (window.testRunner) testRunner.dumpAsTextWithPixelResults(); function repaintTest() { document.getElementById('container').style.opacity = '0.4'; } </script> </head> <body style="height:2000px;" onload="runRepaintTest()"> <!-- You should see 2 rectangles touching on one corner in the output: a green one (top left) and a green one. --> <div id="container" style="top: 200px;" class="relative blue"><div style="top:100px; left:100px;" class="absolute green"></div></div> </body> </html>