mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
29 lines
684 B
HTML
29 lines
684 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<style>
|
|
input { color: purple; }
|
|
:default { font-size: 3em; color: green; }
|
|
</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="image" name="bar" value="bar">
|
|
<input type="submit" name="foo" value="foo">
|
|
</form>
|
|
</body>
|
|
</html>
|