Revision 4091ab0f7cbcb304cdd5b1d1c30264b052359b38 authored by Florian Rivoal on 29 March 2018, 16:46:52 UTC, committed by L. David Baron on 29 March 2018, 16:46:52 UTC
Corresponding to the spec changes decided in https://github.com/w3c/csswg-drafts/issues/2000
1 parent afcd47b
Raw File
reftest-wait.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>
back to top