<html xmlns="http://www.w3.org/1999/xhtml"> <head></head> <body onload="document.getElementById('tbody').appendChild(document.createTextNode('Bar'));"> <p>Reload to see the assertion failure.</p> <div><span dir="rtl">Foo<tbody id="tbody"></tbody></span></div> </body> </html>