зеркало из https://github.com/mozilla/pjs.git
20 строки
536 B
HTML
20 строки
536 B
HTML
|
<!DOCTYPE html>
|
||
|
<html style="display: table" class="reftest-wait">
|
||
|
<head>
|
||
|
<script>
|
||
|
window.addEventListener("MozReftestInvalidate",
|
||
|
function() {
|
||
|
var b = document.createElement("body");
|
||
|
b.style.background = "green";
|
||
|
document.documentElement.appendChild(b);
|
||
|
document.documentElement.className = "";
|
||
|
}, false);
|
||
|
</script>
|
||
|
</head>
|
||
|
<body style="background: red">
|
||
|
<script>
|
||
|
document.documentElement.removeChild(document.body);
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|