| OLD | NEW |
| (Empty) |
| 1 <style> | |
| 2 blockquote { | |
| 3 color: blue; | |
| 4 border-left: 1px solid blue; | |
| 5 padding-left: 2px; | |
| 6 margin: 0px; | |
| 7 } | |
| 8 </style> | |
| 9 <body> | |
| 10 <div>This tests for a bug where hitting return at the end of a paragraph inside
a blockquote would create an extraneous empty quoted paragraph. You should see
"line one" (quoted), "" (unquoted), and "line two" (quoted) below.</div> | |
| 11 <div id="div" contentEditable="true"><blockquote type="cite"><div id="test">line
one<br>line two</div></blockquote></div> | |
| 12 <script> | |
| 13 if (window.testRunner) | |
| 14 window.testRunner.dumpAsText(); | |
| 15 test = document.getElementById("test"); | |
| 16 window.getSelection().setPosition(test, 1); | |
| 17 document.execCommand("InsertNewlineInQuotedContent"); | |
| 18 if (window.testRunner) { | |
| 19 div = document.getElementById("div"); | |
| 20 div.innerText = div.innerHTML; | |
| 21 } | |
| 22 </script> | |
| 23 </body> | |
| OLD | NEW |