| <!DOCTYPE HTML> |
| <style> |
| .container { |
| display: inline-block; |
| width: 1280px; |
| position: relative |
| } |
| .outerspan { |
| position: absolute; |
| left: 0; |
| right: 0; |
| } |
| </style> |
| <div class="container"> |
| <span class="outerspan"> |
| <span>This test checks that list item don't make non-overflowable box overflowing</span> |
| </span> |
| </div> |
| This test has passed if it doesn't crash. |
| <script> |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| document.designMode = 'on'; |
| document.execCommand('SelectAll'); |
| document.execCommand('Strikethrough'); |
| document.execCommand('InsertOrderedList'); |
| </script> |