Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / break-non-editable-blockquote.html
blob397ace3d0db021b3e6ad2c1a80a162df02adf98e
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <blockquote type="cite">
5 <div id="test" contenteditable><blockquote type="cite">hello world</blockquote></div>
6 </blockquote>
7 <script src="../../resources/dump-as-markup.js"></script>
8 <script>
10 var test = document.getElementById('test');
11 window.getSelection().collapse(test.firstChild.firstChild, 5);
12 document.execCommand('InsertNewlineInQuotedContent', false, null);
14 Markup.description('This test ensures WebKit properly inserts newline in quoted contents, which is enclosed by a non-editable blockquote.');
15 Markup.dump(test);
17 </script>
18 </body>
19 </html>