Source code
Revision control
Copy as Markdown
Other Tools
[insertHTML.html?white-space=pre]
[execCommand("insertHTML", false, "<pre>1st line\n2nd line</pre>") when ""]
expected: FAIL
[execCommand("insertHTML", false, "<div>abc<br>def</div>") when ""]
expected: FAIL
[execCommand("insertHTML", false, "<div>abc</div><div>def</div>") when ""]
expected: FAIL
[execCommand("insertHTML", false, "<div>abc<br>def</div><div>ghi<br>jkl</div>") when ""]
expected: FAIL
[insertHTML.html?white-space=pre-line]
[execCommand("insertHTML", false, "<pre>1st line\n2nd line</pre>") when ""]
expected: FAIL
[execCommand("insertHTML", false, "<div>abc<br>def</div>") when ""]
expected: FAIL
[execCommand("insertHTML", false, "<div>abc</div><div>def</div>") when ""]
expected: FAIL
[execCommand("insertHTML", false, "<div>abc<br>def</div><div>ghi<br>jkl</div>") when ""]
expected: FAIL
[insertHTML.html?white-space=pre-wrap]
[execCommand("insertHTML", false, "<pre>1st line\n2nd line</pre>") when ""]
expected: FAIL
[execCommand("insertHTML", false, "<div>abc<br>def</div>") when ""]
expected: FAIL
[execCommand("insertHTML", false, "<div>abc</div><div>def</div>") when ""]
expected: FAIL
[execCommand("insertHTML", false, "<div>abc<br>def</div><div>ghi<br>jkl</div>") when ""]
expected: FAIL
[insertHTML.html?white-space=normal]