1
0
Fork 0
firefox/testing/web-platform/tests/infrastructure/reftest-wait.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

21 lines
526 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<title>Test infrastructure should support 'reftest-wait'</title>
<link rel="match" href="reftest-wait-ref.html">
<style>
.marker {
margin-bottom: 10px;
background: red;
height: 50px;
width: 50px;
}
</style>
<script>
setTimeout(function() {
document.querySelector(".marker").style.background = 'green';
document.documentElement.classList.remove("reftest-wait");
}, 1000);
</script>
<div class="marker"></div>
<div>The box above should be green.</div>
</html>