Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / execCommand / break-non-editable-blockquote.html
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>
9
10 var test = document.getElementById('test');
11 window.getSelection().collapse(test.firstChild.firstChild, 5);
12 document.execCommand('InsertNewlineInQuotedContent', false, null);
13
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);
16
17 </script>
18 </body>
19 </html>