Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / 5418891.html
blob008af890a4c13de48e52101cc89af84d72f3892b
1 <style>
2 blockquote {
3 color: blue;
4 border-left: 2px solid blue;
5 padding-left: 5px;
6 margin: 0px;
8 </style>
9 <p>This tests for a crash when attempting to break a blockquote at the end of its content. The caret should be in the first of two empty paragraphs between two pieces of quoted content.</p>
10 <div contenteditable="true">
11 <blockquote type="cite"><div id="dv">foo</div></blockquote>
12 <br>
13 <blockquote type="cite"><div>bar</div></blockquote>
14 </div>
16 <script>
17 dv = document.getElementById("dv");
18 text = dv.firstChild;
19 s = window.getSelection();
20 s.collapse(text, 3);
21 document.execCommand("InsertNewlineInQuotedContent");
22 </script>