| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style id="style"> |
| 3 .float{float:left;} |
| 4 .list-item{display:list-item;} |
| 5 </style> |
| 6 <p>crbug.com/683104: Passes if it does not crash.</p> |
| 7 <ruby id="ruby"> |
| 8 <rb> |
| 9 <div class="float list-item"></div> |
| 10 Text |
| 11 <input class="list-item"> |
| 12 <rt id="rt" class="list-item"> |
| 13 <rtc></rtc> |
| 14 </rt> |
| 15 </rb> |
| 16 </ruby> |
| 17 <script> |
| 18 if (window.testRunner) |
| 19 testRunner.dumpAsText(); |
| 20 document.body.offsetTop; |
| 21 var oElement = document.getElementById("style"); |
| 22 oElement.insertAdjacentHTML('afterbegin', '<summary><_______ZZ(((P%%%%8</summa
ry>'); |
| 23 document.execCommand(false); |
| 24 var newElement = document.getElementById("rt"); |
| 25 oElement.parentNode.replaceChild(newElement, oElement) |
| 26 </script> |
| OLD | NEW |