mirror of
https://github.com/servo/servo.git
synced 2025-08-19 20:35:34 +01:00
Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444
This commit is contained in:
parent
25e8bf69e6
commit
665817d2a6
35333 changed files with 1818077 additions and 16036 deletions
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue