mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move hide_after_create.html to wpt reftests.
This commit is contained in:
parent
0eb67166ed
commit
0439894c7c
4 changed files with 25 additions and 1 deletions
|
@ -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",
|
||||
|
|
25
tests/wpt/mozilla/tests/css/hide_after_create.html
Normal file
25
tests/wpt/mozilla/tests/css/hide_after_create.html
Normal 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>
|
10
tests/wpt/mozilla/tests/css/hide_after_create_ref.html
Normal file
10
tests/wpt/mozilla/tests/css/hide_after_create_ref.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style type="text/css">
|
||||
body {
|
||||
background-color: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue