mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Make some iframe reftests more robust.
This commit is contained in:
parent
b86965f394
commit
6075d0eb03
2 changed files with 8 additions and 13 deletions
|
@ -1,14 +1,6 @@
|
||||||
<html class="reftest-wait">
|
<html class="reftest-wait">
|
||||||
<link rel=match href=overflow_ref.html>
|
<link rel=match href=overflow_ref.html>
|
||||||
<body>
|
<iframe src="data:text/html,%3Cdiv%20style%3D%22background%3Agreen%3B%20width%3A%20200px%3B%20height%3A%20200px%3B%22%3E%3C%2Fdiv%3E"
|
||||||
<iframe src="data:text/html,%3Cdiv%20style%3D%22background%3Agreen%3B%20width%3A%20200px%3B%20height%3A%20200px%3B%22%3E%3C%2Fdiv%3E"
|
style="display: block; width: 108px; height: 108px; border: none"
|
||||||
style="display: block; width: 108px; height: 108px; border: none">
|
onload="document.documentElement.classList.remove('reftest-wait')">
|
||||||
</iframe>
|
</iframe>
|
||||||
<script type="text/javascript">
|
|
||||||
window.onload = function() {
|
|
||||||
document.documentElement.classList.remove("reftest-wait");
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
<html class=reftest-wait>
|
||||||
<link rel=match href=stacking_context_ref.html>
|
<link rel=match href=stacking_context_ref.html>
|
||||||
<style>
|
<style>
|
||||||
iframe {
|
iframe {
|
||||||
|
@ -11,4 +12,6 @@ iframe {
|
||||||
transform: translateX(0px); /* form a stacking context */
|
transform: translateX(0px); /* form a stacking context */
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<iframe src="data:text/html,%3Cspan%3EJust%20a%20simple%20little%20iframe.%3C%2Fspan%3E">
|
<iframe src="data:text/html,%3Cspan%3EJust%20a%20simple%20little%20iframe.%3C%2Fspan%3E"
|
||||||
|
onload="document.documentElement.classList.remove('reftest-wait')">
|
||||||
|
</iframe>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue