Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 19403.html
blob0f2c5d430343d1005aec7466315f4f01b3252d53
1 <div id="description">This tests for an ASSERT during a RemoveFormat call when it's called on a selection containing only a horizontal rule. It should not ASSERT.</div>
2 <div id="edit" contentEditable="true"><hr></div>
4 <script>
5 if (window.testRunner)
6 window.testRunner.dumpAsText();
7 edit = document.getElementById("edit");
8 edit.focus();
9 document.execCommand("SelectAll");
10 document.execCommand("RemoveFormat");
11 if (window.testRunner)
12 document.body.innerText = document.getElementById("description").innerText + "\n" + edit.innerHTML;
13 </script>