5 document
.execCommand("SelectAll");
8 testRunner
.dumpAsText();
9 document
.execCommand("Cut");
10 document
.execCommand("Paste");
11 document
.body
.innerText
= document
.body
.innerHTML
;
16 <body onLoad=
"runTest();" contentEditable=
"true" style=
"padding: 5px; margin: 5px;">This tests for a bug where we would wrap copied markup in a div to hold a fully selected body's attributes and style even if there was nothing special about the body that warranted doing so. After you cut/paste, the text should only have
5 pixels of padding.
</body>