blob: 1831a94427d537beded516ec7a5c848162695fc0 [file] [log] [blame]
<body style="margin:0px">
<div style="width: 100px; height: 100px; position: absolute; left: 100px; top: 100px; background-color: red">FAIL</div>
<div id="outer" style="opacity: 0.5; margin: 100px">
<div style="position: relative; background-color: green; width: 100px; height: 100px">PASS</div>
You should see a 100x100 green rect at 100x100 above with the word PASS. There should be no red on this page. This is a test case for
function doTest() {
document.getElementById("outer").style.opacity = 1.0;
if (window.testRunner)
if (window.testRunner)
// Delay until after the first paint
setTimeout(doTest, 0);