| OLD | NEW |
| (Empty) |
| 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,
2, 3, 4. Two list items will be numbered '2' because the original item '2' was s
plit.</p> | |
| 13 <div contenteditable="true"> | |
| 14 <blockquote type="cite"> | |
| 15 <ol> | |
| 16 <li>One</li> | |
| 17 <li id="two">TwoTwo</li> | |
| 18 <li>Three</li> | |
| 19 <li>Four</li> | |
| 20 </ol> | |
| 21 </blockquote> | |
| 22 </div> | |
| 23 | |
| 24 <script> | |
| 25 li = document.getElementById("two"); | |
| 26 text = li.firstChild; | |
| 27 selection = window.getSelection(); | |
| 28 selection.setPosition(text, 3); | |
| 29 document.execCommand("InsertNewlineInQuotedContent"); | |
| 30 </script> | |
| 31 </body> | |
| 32 </html> | |
| OLD | NEW |