| OLD | NEW |
| 1 The square should be a uniform shade of green. | 1 The square should be a uniform shade of green. |
| 2 <div style="width: 100px; height: 50px; background-color: green; opacity: 0.5;">
</div> | 2 <div style="width: 100px; height: 50px; background-color: green; opacity: 0.5;">
</div> |
| 3 <span style="opacity: 0.9"> | 3 <span style="opacity: 0.9"> |
| 4 <div id="inner" style="float: left; width: 100px; height: 100px; overflow: h
idden;"> | 4 <div id="inner" style="float: left; width: 100px; height: 100px; overflow: h
idden;"> |
| 5 <span style="display: inline-block; width: 100px; height: 50px; backgrou
nd-color: green; opacity: 0.5;"></span> | 5 <span style="display: inline-block; width: 100px; height: 50px; backgrou
nd-color: green; opacity: 0.5;"></span> |
| 6 </div> | 6 </div> |
| 7 </span> | 7 </span> |
| 8 <script src="../../resources/run-after-display.js"></script> |
| 8 <script> | 9 <script> |
| 9 function test() | 10 if (window.testRunner) |
| 10 { | 11 testRunner.waitUntilDone(); |
| 12 runAfterDisplay(function() { |
| 11 document.getElementById("inner").style.float = "none"; | 13 document.getElementById("inner").style.float = "none"; |
| 12 } | 14 if (window.testRunner) |
| 13 | 15 testRunner.notifyDone(); |
| 14 if (!window.testRunner) | 16 }); |
| 15 setTimeout(test, 0); | |
| 16 else { | |
| 17 document.body.offsetTop; | |
| 18 testRunner.display(); | |
| 19 test(); | |
| 20 } | |
| 21 </script> | 17 </script> |
| OLD | NEW |