1 <div id=
"description">This tests for a crash when pasting content that contains Apple-style-spans that don't have renderers.' You should see 'Hello World!'
</div>
2 <div id=
"edit" contenteditable=
"true"><br></div>
5 edit
= document
.getElementById("edit");
6 description
= document
.getElementById("description");
8 document
.execCommand("InsertHTML", false, "Hello <span style='display:none;' class='Apple-style-span'></span>World!");
9 if (window
.testRunner
) {
10 window
.testRunner
.dumpAsText();
11 document
.body
.innerText
= description
.innerText
+ "\n" + edit
.innerHTML
;