<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class="reftest-wait"> <xul:titlebar id="a" style="overflow: auto;"/> <script> function doe() { document.getElementsByTagName('*')[1].focus(); document.getElementsByTagName('*')[0].focus(); document.documentElement.removeAttribute("class"); } setTimeout(doe, 200); </script> </html>