Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<style>
.will-merge {
opacity: 0.5;
}
</style>
</head>
<body>
<span id="foo">foo</span>
<span class="will-merge">bar<br>baz</span>
<span>qux</span>
<script type="text/javascript">
function doTest() {
var e = document.getElementById("foo");
e.parentNode.removeChild(e);
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest);
setTimeout(doTest, 5000);
</script>
</body>
</html>