2 Editable:
<div contenteditable=
"true" id=
"editable"></div>
5 <script src=
"../../resources/js-test.js"></script>
7 function $(id
) { return document
.getElementById(id
); }
9 var expected
= '<table><tbody><tr><td>stats</td></tr></tbody></table>';
10 document
.execCommand('InsertHTML', false, '<p>' + expected
+ '</p>');
11 shouldBeEqualToString('$("editable").innerHTML', expected
);
12 if (window
.testRunner
)
13 $('container').outerHTML
= '';