2009-09-09 00:00:20 +04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html class="reftest-wait">
|
|
|
|
<head>
|
|
|
|
<style>
|
|
|
|
input { color: purple; }
|
2010-07-23 02:48:15 +04:00
|
|
|
:default { font-size: 3em; color: green; }
|
2009-09-09 00:00:20 +04:00
|
|
|
</style>
|
|
|
|
<script type="text/javascript">
|
|
|
|
function boom()
|
|
|
|
{
|
|
|
|
var toRemove = document.getElementById("toremove");
|
|
|
|
toRemove.parentNode.removeChild(toRemove);
|
|
|
|
document.documentElement.className = "";
|
|
|
|
}
|
|
|
|
window.addEventListener("MozReftestInvalidate", boom, false);
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<form>
|
|
|
|
<span id="toremove">
|
|
|
|
<input type="image">
|
|
|
|
<input type="image">
|
|
|
|
</span>
|
|
|
|
<input type="submit" name="foo" value="foo">
|
|
|
|
<input type="image" name="bar" value="bar">
|
|
|
|
</form>
|
|
|
|
</body>
|
|
|
|
</html>
|