Move hide_after_create.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-22 09:16:45 -04:00
parent 0eb67166ed
commit 0439894c7c
4 changed files with 25 additions and 1 deletions

View file

@ -36,7 +36,6 @@ prefs:"layout.flex.enabled" == flex_row_direction.html flex_row_direction_ref.ht
== floated_negative_margins_a.html floated_negative_margins_ref.html
== font_size.html font_size_ref.html
# `?` and `#` in the name is a test for https://github.com/servo/servo/issues/3340
== hide_after_create.html hide_after_create_ref.html
== iframe/bg_color.html iframe/bg_color_ref.html
== iframe/hide_after_load.html iframe/hide_after_load_ref.html

View file

@ -1,24 +0,0 @@
<!DOCTYPE html>
<html class="reftest-wait">
<style type="text/css">
.hidden {
display: none;
}
body {
background-color: green;
}
iframe {
background-color: red;
border: 0;
}
</style>
<body>
<iframe id="iframe" src="about:blank"></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,10 +0,0 @@
<!DOCTYPE html>
<html>
<style type="text/css">
body {
background-color: green;
}
</style>
<body>
</body>
</html>