Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <script src="../../resources/js-test.js"></script> | |
|
leviw_travelin_and_unemployed
2015/02/20 22:40:28
DOCTYPE html, yo ;)
| |
| 2 <script> | |
| 3 description = "Calling setSelectionRange() on an orphaned text node should be a no-op."; | |
| 4 | |
| 5 div = document.createElement('div'); | |
| 6 input = document.createElement('input'); | |
| 7 div.appendChild(input); | |
| 8 input.setSelectionRange(0, 0); | |
| 9 doc = document.implementation.createDocument("", null); | |
| 10 doc.appendChild(div); | |
| 11 document.execCommand("FindString", false, "test"); | |
| 12 </script> | |
| OLD | NEW |