Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make some iframe reftests more robust.
- Loading branch information
Showing
2 changed files
with
8 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,6 @@ | ||
<html class="reftest-wait"> | ||
<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" | ||
style="display: block; width: 108px; height: 108px; border: none"> | ||
</iframe> | ||
<script type="text/javascript"> | ||
window.onload = function() { | ||
document.documentElement.classList.remove("reftest-wait"); | ||
} | ||
</script> | ||
</div> | ||
</body> | ||
</html> | ||
<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" | ||
onload="document.documentElement.classList.remove('reftest-wait')"> | ||
</iframe> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters