OLD | NEW |
1 <!DOCTYPE html> | 1 <!doctype HTML> |
2 <style> | 2 Passes if it does not crash. |
3 .list{display:list-item;} | |
4 .float{float:right;} | |
5 </style> | |
6 <ruby> | 3 <ruby> |
7 crbug.com/619380: Passes if it does not crash. | 4 test |
8 <rt> | 5 <rt> |
9 <rtc> | 6 <rtc> |
10 <a class="list"> | 7 <a style="display:list-item"> |
11 <input class="float"> | 8 <input style="float:right"></input> |
12 </rtc> | 9 </rtc> |
13 </rt> | 10 </a> |
14 </ruby> | 11 </rt> |
| 12 </ruby> |
15 <script> | 13 <script> |
16 if (window.testRunner) | 14 if (window.testRunner) |
17 window.testRunner.dumpAsText(); | 15 window.testRunner.dumpAsText(); |
18 document.execCommand("SelectAll"); | 16 onload = function() { |
19 window.getSelection().deleteFromDocument(); | 17 var mySelection=window.getSelection(); |
| 18 document.execCommand("SelectAll"); |
| 19 mySelection.deleteFromDocument(); |
| 20 } |
20 </script> | 21 </script> |
OLD | NEW |