Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / selection-after-delete.html
blob785c696ea960fb3356972c07c598a71712b5fb3a
1 <script src="resources/text-based-repaint.js" type="text/javascript"></script>
2 <script type="text/javascript">
3 function repaintTest() {
4 document.execCommand("Delete");
6 </script>
7 <body onload="runRepaintTest();" contenteditable="true">
8 <p>This tests to see if selection gaps are removed when the selection is deleted. Nothing should be selected below. A caret should be inside the red div.</p>
9 <div id="test" style="width: 150px; border: 1px solid red; margin: 30px;">hello world hello world hello world hello world hello world hello world hello world hello world hello<br></div>
10 <script>
11 var s = window.getSelection();
12 var e = document.getElementById("test");
13 s.setBaseAndExtent(e, 0, e, e.childNodes.length);
14 </script>
15 </body>