зеркало из https://github.com/mozilla/pjs.git
29 строки
684 B
HTML
29 строки
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>
|