mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 21:55:31 +00:00
a4eaae6baf
This prevents useless work which _could_ lead to visual artifacts, as well as assertions caused by us touching dirty frames,
23 lines
381 B
HTML
23 lines
381 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
|
|
|
|
<input id="i"/>
|
|
|
|
<script>
|
|
<![CDATA[
|
|
|
|
function boom()
|
|
{
|
|
var i = document.getElementById("i");
|
|
i.select();
|
|
i.setAttribute("type", "radio");
|
|
i.blur();
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
|
|
window.addEventListener("load", function() { setTimeout(boom, 100); }, false);
|
|
|
|
]]>
|
|
</script>
|
|
|
|
</html>
|