| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 | |
| 3 <html> | |
| 4 <head> | |
| 5 <style type="text/css" media="screen"> | |
| 6 span { | |
| 7 position: relative; | |
| 8 padding: 10px; | |
| 9 } | |
| 10 | |
| 11 .composited { | |
| 12 position: absolute; | |
| 13 width: 200px; | |
| 14 height: 100px; | |
| 15 border: 1px solid black; | |
| 16 transform: translateZ(0); | |
| 17 } | |
| 18 </style> | |
| 19 <script type="text/javascript" charset="utf-8"> | |
| 20 if (window.testRunner) | |
| 21 testRunner.dumpAsText(); | |
| 22 | |
| 23 function doTest() | |
| 24 { | |
| 25 window.setTimeout(function() { | |
| 26 var testNode = document.getElementById('test'); | |
| 27 testNode.removeChild(testNode.firstChild); | |
| 28 }, 0); | |
| 29 } | |
| 30 | |
| 31 window.addEventListener('load', doTest, false); | |
| 32 </script> | |
| 33 </head> | |
| 34 <body> | |
| 35 | |
| 36 <p>This should not assert in debug builds.</p> | |
| 37 <div class="composited"></div> | |
| 38 <span id="test">test</span> | |
| 39 </body> | |
| 40 </html> | |
| OLD | NEW |