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

@ -1223,6 +1223,18 @@
"url": "/_mozilla/css/height_compute_reset.html"
}
],
"css/hide_after_create.html": [
{
"path": "css/hide_after_create.html",
"references": [
[
"/_mozilla/css/hide_after_create_ref.html",
"=="
]
],
"url": "/_mozilla/css/hide_after_create.html"
}
],
"css/img_block_display_a.html": [
{
"path": "css/img_block_display_a.html",
@ -5616,6 +5628,18 @@
"url": "/_mozilla/css/height_compute_reset.html"
}
],
"css/hide_after_create.html": [
{
"path": "css/hide_after_create.html",
"references": [
[
"/_mozilla/css/hide_after_create_ref.html",
"=="
]
],
"url": "/_mozilla/css/hide_after_create.html"
}
],
"css/img_block_display_a.html": [
{
"path": "css/img_block_display_a.html",

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html class="reftest-wait">
<link rel='match' href='hide_after_create_ref.html'>
<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

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