OLD | NEW |
| (Empty) |
1 <head> | |
2 <style> | |
3 blockquote[type=cite] { | |
4 color: | |
5 } | |
6 </style> | |
7 </head> | |
8 <body> | |
9 <div id="description">This tests for a bug where deleting whole paragraphs of qu
oted content plus a line break could pull unquoted content into a blockquote.</d
iv> | |
10 <div id="edit" contentEditable="true"><blockquote type="cite">one<br><span id="s
tart">two</span></blockquote><span id="end">three</span></div> | |
11 | |
12 <script> | |
13 if (window.testRunner) | |
14 window.testRunner.dumpAsText(); | |
15 | |
16 start = document.getElementById("start"); | |
17 end = document.getElementById("end"); | |
18 | |
19 window.getSelection().setBaseAndExtent(start, 0, end, 0); | |
20 document.execCommand("Delete"); | |
21 if (window.testRunner) | |
22 document.body.innerText = document.getElementById("description").innerText +
"\n\n" + document.getElementById("edit").innerHTML; | |
23 </script> | |
24 </body> | |
OLD | NEW |