2009-09-08 13:00:20 -07:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html class="reftest-wait">
|
|
|
|
<head>
|
|
|
|
<style>
|
|
|
|
input { color: purple; }
|
2010-07-22 15:48:15 -07:00
|
|
|
:default { font-size: 3em; color: green; }
|
2009-09-08 13:00:20 -07: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="submit">
|
|
|
|
<input type="submit">
|
|
|
|
</span>
|
|
|
|
<input type="submit" name="foo" value="foo">
|
|
|
|
<input type="image" name="bar" value="bar">
|
|
|
|
</form>
|
|
|
|
</body>
|
|
|
|
</html>
|