mirror of
https://github.com/servo/servo.git
synced 2025-08-27 16:18:21 +01:00
Move hide_after_load.html to wpt reftests.
This commit is contained in:
parent
833cd524e0
commit
19c4991c55
5 changed files with 25 additions and 1 deletions
|
@ -13,7 +13,6 @@ fragment=top != ../html/acid2.html acid2_ref.html
|
|||
flaky_cpu == append_style_a.html append_style_b.html
|
||||
# `?` and `#` in the name is a test for https://github.com/servo/servo/issues/3340
|
||||
|
||||
== iframe/hide_after_load.html iframe/hide_after_load_ref.html
|
||||
== iframe/hide_and_show.html iframe/hide_and_show_ref.html
|
||||
== iframe/hide_layers1.html iframe/hide_layers_ref.html
|
||||
== iframe/hide_layers2.html iframe/hide_layers_ref.html
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<body style="background: green;">
|
||||
<iframe style="border: 0" src="hide_after_load_inner_frame.html"></iframe>
|
||||
<script type="text/javascript">
|
||||
var iframe = document.getElementsByTagName('iframe')[0];
|
||||
iframe.onload = function() {
|
||||
iframe.style.display = "none";
|
||||
|
||||
// We do this in a timeout, so that the compositor has a chance
|
||||
// to update the layer tree.
|
||||
setTimeout(function() {
|
||||
document.documentElement.classList.remove("reftest-wait");
|
||||
}, 0);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,6 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body style="background: red;">
|
||||
hidden content
|
||||
</body>
|
||||
</html>
|
|
@ -1,4 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body style="background: green;"> </body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue