Move empty_cells_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-22 09:16:45 -04:00
parent 02a35f5540
commit 8cb1aa0d67
4 changed files with 25 additions and 1 deletions

View file

@ -935,6 +935,18 @@
"url": "/_mozilla/css/data_img_a.html"
}
],
"css/empty_cells_a.html": [
{
"path": "css/empty_cells_a.html",
"references": [
[
"/_mozilla/css/empty_cells_ref.html",
"=="
]
],
"url": "/_mozilla/css/empty_cells_a.html"
}
],
"css/external_media_query_link.html": [
{
"path": "css/external_media_query_link.html",
@ -5352,6 +5364,18 @@
"url": "/_mozilla/css/data_img_a.html"
}
],
"css/empty_cells_a.html": [
{
"path": "css/empty_cells_a.html",
"references": [
[
"/_mozilla/css/empty_cells_ref.html",
"=="
]
],
"url": "/_mozilla/css/empty_cells_a.html"
}
],
"css/external_media_query_link.html": [
{
"path": "css/external_media_query_link.html",

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='empty_cells_ref.html'>
<!-- Tests that `empty-cells` works—in particular, that the definition of emptiness is correct. -->
<style>
table {
empty-cells: hide;
}
section {
float: right;
}
nav {
position: absolute;
}
</style>
</head>
<body>
<table border=3>
<tr><td>Yo</td><td>Howdy</td><td><section>&nbsp;</section></td><td></td></tr>
<tr><td>Later</td><td><nav></nav></td><td>See ya</td><td>Aloha</td></tr>
<tr><td></td><td>Sayonara</td><td></td><td><span></span></td></tr>
</table>
</body>
</html>

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that `empty-cells` works—in particular, that the definition of emptiness is correct. -->
<style>
.empty {
border: none;
}
</style>
</head>
<body>
<table border=3>
<tr><td>Yo</td><td>Howdy</td><td></td><td class=empty></td></tr>
<tr><td>Later</td><td class=empty></td><td>See ya</td><td>Aloha</td></tr>
<tr><td class=empty></td><td>Sayonara</td><td class=empty></td><td></td></tr>
</table>
</body>
</html>