1
0
Fork 0
firefox/layout/reftests/display-list/retained-dl-prerender-transform-1.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

36 lines
842 B
HTML

<html class="reftest-wait">
<head>
<style>
* {
margin: 0px;
padding: 0px;
}
.inner {
width: 100px;
height: 100px;
background-color: green;
display: inline-block;
}
#third {
background-color: red;
}
body {
overflow: hidden;
}
</style>
</head>
<body id="body">
<div id="transformed" style="transform:translateX(700px); will-change:transform;">
<div id="first" class="reftest-no-display-list inner"></div><div id="second" class="reftest-no-display-list inner"></div><div id="third" class="reftest-display-list inner"></div>
</div>
</body>
<script>
function doTest() {
var third = document.getElementById("third")
third.style.backgroundColor = "green";
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>
</html>