Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html class="reftest-wait">
<title>CSS Backgrounds and Borders Test: don't propagate html background when display:none dynamic</title>
<link rel="match" href="../reference/blank.html">
<style>
html { background: red; }
</style>
<script>
window.onload = () => {
requestAnimationFrame(() => requestAnimationFrame(() => {
document.documentElement.style.display = "none";
document.documentElement.classList.remove("reftest-wait");
}));
};
</script>