4 <p>This tests inserting a td element
"beforeBegin" of another td element using insertAdjacentHTML.
5 If the context element was not properly adjusted, then td will be stripped by the parser.
</p>
6 <table><tr><td></td></tr></table>
10 testRunner
.dumpAsText();
12 var td
= document
.querySelector('td');
13 td
.insertAdjacentHTML('beforeBegin', '<td></td>');
15 document
.write(document
.getElementsByTagName('td').length
== 2 ? 'PASS' : 'FAIL');