gecko/layout/reftests/generated-content/dynamic-restyle-01.html

25 lines
409 B
HTML
Raw Normal View History

<!DOCTYPE HTML>
<html class="reftest-wait">
<head>
<style>
body::before {
content:"Before";
border:inherit;
}
.cl::after {
display:block;
content:"After";
}
</style>
<script>
function fixupDOM() {
document.body.setAttribute("style", "border:2px solid red;");
document.body.className = "cl";
document.documentElement.className = "";
}
</script>
</head>
<body onload="fixupDOM()">
</body>
</html>