Move visibility_hidden.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-13 23:12:41 -04:00
parent 77d5f85b25
commit ff57bd5d26
4 changed files with 25 additions and 1 deletions

View file

@ -615,6 +615,18 @@
"url": "/_mozilla/css/vertical_align_top_span_a.html"
}
],
"css/visibility_hidden.html": [
{
"path": "css/visibility_hidden.html",
"references": [
[
"/_mozilla/css/visibility_hidden_ref.html",
"=="
]
],
"url": "/_mozilla/css/visibility_hidden.html"
}
],
"css/word-spacing.html": [
{
"path": "css/word-spacing.html",
@ -1964,6 +1976,18 @@
"url": "/_mozilla/css/vertical_align_top_span_a.html"
}
],
"css/visibility_hidden.html": [
{
"path": "css/visibility_hidden.html",
"references": [
[
"/_mozilla/css/visibility_hidden_ref.html",
"=="
]
],
"url": "/_mozilla/css/visibility_hidden.html"
}
],
"css/word-spacing.html": [
{
"path": "css/word-spacing.html",

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='visibility_hidden_ref.html'>
<title>'visibility: hidden' test</title>
<style type="text/css">
body { color: black; background: white }
.hidden { visibility: hidden; }
.visible { visibility: visible; }
</style>
</head>
<body>
<p>This should be visible.</p>
<div class="hidden">
<p>This should NOT be visible.</p>
<p class="visible">This should be visible.</p>
</div>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<title>'visibility: hidden' test</title>
<style type="text/css">
body { color: black; background: white }
</style>
</head>
<body>
<p>This should be visible.</p>
<div>
<!-- Use the same markup so that this test is not affected by broken margin collapsing. -->
<p>&nbsp;</p>
<p>This should be visible.</p>
</div>
</body>
</html>