mirror of
https://github.com/servo/servo.git
synced 2025-10-15 16:00:28 +01:00
Update web-platform-tests to revision b'468d01bbd84da2babf265c6af46947be68713440'
This commit is contained in:
parent
35e95f55a1
commit
58e8ee674b
9438 changed files with 266112 additions and 106976 deletions
|
@ -0,0 +1,2 @@
|
|||
<!DOCTYPE html>
|
||||
<embed style="display:block;" src="data:text/html,PASS">
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1240261">
|
||||
<link rel="match" href="change-src-while-not-displayed-ref.html">
|
||||
<embed id="embed" style="display:block;" src="data:text/html,FAIL">
|
||||
<script>
|
||||
onload = function() {
|
||||
document.body.offsetTop;
|
||||
embed.style.display = "none";
|
||||
document.body.offsetTop;
|
||||
embed.src = "data:text/html,PASS";
|
||||
document.body.offsetTop;
|
||||
embed.style.display = "block";
|
||||
requestAnimationFrame(()=> {
|
||||
requestAnimationFrame(()=> {
|
||||
document.documentElement.classList.remove('reftest-wait');
|
||||
});
|
||||
});
|
||||
}
|
||||
</script>
|
|
@ -0,0 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<body style="background: blue">
|
||||
<div style="position: fixed; left: 0; top: 0; width: 100%; height: 100px; background: yellow"></div>
|
||||
<div style="position: fixed; left: 0; bottom: 0; width: 100%; height: 100px; background: green"></div>
|
||||
<div style="height: 2000px"></div>
|
||||
</body>
|
|
@ -0,0 +1,9 @@
|
|||
<!doctype html>
|
||||
<html class="reftest-wait">
|
||||
<iframe id=myframe style="width: 300px; height: 1000px" src="resources/tall.html"></iframe>
|
||||
<div style="height: 2000px"></div>
|
||||
<script>
|
||||
window.scrollTo(0, 700);
|
||||
myframe.onload = () => document.documentElement.classList.remove('reftest-wait');
|
||||
</script>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!doctype html>
|
||||
<html class="reftest-wait">
|
||||
<title>Rendering of tall cross-domain iframe element in a scrolled window</title>
|
||||
<link rel="match" href="tall-cross-domain-iframe-in-scrolled.sub-ref.html">
|
||||
<link rel="help" href="https://html.spec.whatwg.org/multipage/rendering.html#embedded-content-rendering-rules">
|
||||
<meta name="assert" content="Checks that tall cross-domain iframe in a scrolled window is correctly rendered">
|
||||
<iframe id=myframe style="width: 300px; height: 1000px"
|
||||
src="http://{{domains[www1]}}:{{ports[http][0]}}/html/rendering/replaced-elements/embedded-content/resources/tall.html"></iframe>
|
||||
<div style="height: 2000px"></div>
|
||||
<script>
|
||||
window.scrollTo(0, 700);
|
||||
myframe.onload = () => document.documentElement.classList.remove('reftest-wait');
|
||||
</script>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue