Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444

This commit is contained in:
Josh Matthews 2017-04-17 12:06:02 +10:00 committed by Anthony Ramine
parent 25e8bf69e6
commit 665817d2a6
35333 changed files with 1818077 additions and 16036 deletions

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<title>Reference for Test infrastructure should support 'reftest-wait'</title>
<style>
.marker {
margin-bottom: 10px;
background: green;
height: 50px;
width: 50px;
}
</style>
<div class="marker"></div>
<div>The box above should be green.</div>

View file

@ -0,0 +1,21 @@
<!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>