mirror of
https://github.com/servo/servo.git
synced 2025-10-16 16:29:18 +01:00
Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'
This commit is contained in:
parent
ace9b32b1c
commit
df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions
|
@ -1,8 +1,3 @@
|
|||
<!doctype html>
|
||||
<html class="reftest-wait">
|
||||
<div style="height: 100px"></div>
|
||||
<iframe id=myframe src="/images/green.png"></iframe>
|
||||
<script>
|
||||
myframe.onload = () => document.documentElement.classList.remove('reftest-wait');
|
||||
</script>
|
||||
</html>
|
||||
|
|
|
@ -10,6 +10,12 @@
|
|||
<div style="height: 100px"></div>
|
||||
</div>
|
||||
<script>
|
||||
myframe.onload = () => document.documentElement.classList.remove('reftest-wait');
|
||||
myframe.onload = () => {
|
||||
requestAnimationFrame(() => {
|
||||
requestAnimationFrame(() => {
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
});
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
|
|
|
@ -6,6 +6,12 @@
|
|||
<meta name="assert" content="Checks that iframe content is correctly rendered even if it is retrieved from a different domain.">
|
||||
<iframe id=myframe src="http://{{domains[www1]}}:{{ports[http][0]}}/images/green.png"></iframe>
|
||||
<script>
|
||||
myframe.onload = () => document.documentElement.classList.remove('reftest-wait');
|
||||
myframe.onload = () => {
|
||||
requestAnimationFrame(() => {
|
||||
requestAnimationFrame(() => {
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
});
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
|
|
|
@ -9,6 +9,12 @@
|
|||
<div style="height: 2000px"></div>
|
||||
<script>
|
||||
window.scrollTo(0, 700);
|
||||
myframe.onload = () => document.documentElement.classList.remove('reftest-wait');
|
||||
myframe.onload = () => {
|
||||
requestAnimationFrame(() => {
|
||||
requestAnimationFrame(() => {
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
});
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue