Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-br-013.html
blob324940cbec60dfa92569ae3cfc5253115830760d
1 <html>
2 <head>
3 <script>
4 function test()
6 var sel = window.getSelection();
7 sel.collapse(document.getElementById('dv'), 0);
8 document.execCommand("Delete");
10 </script>
11 </head>
12 <body onload="test()">
13 <div>This tests that we only preserve an empty paragraph's style when moving paragraphs around if the selection is still in an empty paragraph after the move occurs.</div>
14 <div>The test passes if the text below is still underlined.</div><br>
15 <div contenteditable><span class="Apple-style-span" style="text-decoration: underline;">This text should be underlined</span><div id="dv"><br></div></div>
16 </body>
17 </html>