Move hide_layers1.html and hide_layers2.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-11-22 15:14:37 +01:00
parent 4466fc3537
commit 4cb6a87992
5 changed files with 50 additions and 2 deletions

View file

@ -13,8 +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_layers1.html iframe/hide_layers_ref.html
== iframe/hide_layers2.html iframe/hide_layers_ref.html
== iframe/multiple_external.html iframe/multiple_external_ref.html
== iframe/overflow.html iframe/overflow_ref.html
== iframe/positioning_margin.html iframe/positioning_margin_ref.html

View file

@ -1,20 +0,0 @@
<!DOCTYPE html>
<html class="reftest-wait">
<style type="text/css">
.hidden {
display: none;
}
body {
background-color: green;
}
</style>
<body>
<iframe id="iframe" src="data:text/html,%3Cspan%3EJust%20a%20simple%20little%20iframe.%3C%2Fspan%3E"></iframe>
</body>
<script type="text/javascript">
window.onload = function() {
document.getElementById("iframe").classList.add("hidden");
document.documentElement.classList.remove("reftest-wait");
}
</script>
</html>

View file

@ -1,18 +0,0 @@
<!DOCTYPE html>
<html class="reftest-wait">
<style type="text/css">
body {
background-color: green;
}
</style>
<body>
<iframe id="iframe" src="data:text/html,%3Cspan%3EJust%20a%20simple%20little%20iframe.%3C%2Fspan%3E"></iframe>
</body>
<script type="text/javascript">
window.onload = function() {
var iframe = document.getElementById("iframe");
iframe.parentNode.removeChild(iframe);
document.documentElement.classList.remove("reftest-wait");
}
</script>
</html>

View file

@ -1,10 +0,0 @@
<!DOCTYPE html>
<html>
<style type="text/css">
body {
background-color: green;
}
</style>
<body>
</body>
</html>