4 blockquote[
type=
"cite"] {
8 border-left:
2px solid blue;
13 <div id=
"description">This tests to see that if the caret is in an empty quoted paragraph, and there's no quoted content before that paragraph, then pressing delete removes that paragraph's quoting and the empty line. Below you should see the attribution line, an unquoted paragraph, and then two quoted paragraphs with
"quoted" in them.
</div>
14 <div id=
"edit" contentEditable=
"true">
16 <div>On Tuesday, Justin wrote:
</div>
18 <blockquote type=
"cite" id=
"blockquote"><br>quoted
<br>quoted
</blockquote>
22 if (window
.testRunner
)
23 window
.testRunner
.dumpAsText();
24 blockquote
= document
.getElementById("blockquote");
25 window
.getSelection().collapse(blockquote
, 0);
26 document
.execCommand("Delete");
27 document
.execCommand("InsertText", false, "not quoted");
28 if (window
.testRunner
)
29 document
.body
.innerText
= document
.getElementById("description").innerText
+ "\n" + document
.getElementById("edit").innerHTML
;