Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / execCommand / 4580583-1.html
1 <html>
2 <head>
3     <style>
4     blockquote {
5         color: blue;
6         border-left: 2px solid blue;
7         margin-left: 2px;
8     }
9     </style>
10 </head>
11 <body>
12     <p>This tests to make sure that breaking a quoted list doesn't renumber the list.  You should see a list broken in two below, the list items numbered 1, 2, 3, 4.</p>
13     <div contenteditable="true">
14         <blockquote type="cite">
15             <ol>
16                 <li>One</li>
17                 <li id="two">Two</li>
18                 <li>Three</li>
19                 <li>Four</li>
20             </ol>
21         </blockquote>
22     </div>
23
24     <script>
25     li = document.getElementById("two");
26     selection = window.getSelection();
27     selection.collapse(li, li.childNodes.length);
28     document.execCommand("InsertNewlineInQuotedContent");
29     </script>
30 </body>
31 </html>