Move vertical_align_inside_table_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-14 00:20:41 -04:00
parent 3c44beee30
commit dbbfde7793
4 changed files with 26 additions and 2 deletions

View file

@ -663,6 +663,18 @@
"url": "/_mozilla/css/upper_id_attr.html"
}
],
"css/vertical_align_inside_table_a.html": [
{
"path": "css/vertical_align_inside_table_a.html",
"references": [
[
"/_mozilla/css/vertical_align_inside_table_ref.html",
"=="
]
],
"url": "/_mozilla/css/vertical_align_inside_table_a.html"
}
],
"css/vertical_align_sub_a.html": [
{
"path": "css/vertical_align_sub_a.html",
@ -2168,6 +2180,18 @@
"url": "/_mozilla/css/upper_id_attr.html"
}
],
"css/vertical_align_inside_table_a.html": [
{
"path": "css/vertical_align_inside_table_a.html",
"references": [
[
"/_mozilla/css/vertical_align_inside_table_ref.html",
"=="
]
],
"url": "/_mozilla/css/vertical_align_inside_table_a.html"
}
],
"css/vertical_align_sub_a.html": [
{
"path": "css/vertical_align_sub_a.html",

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='vertical_align_inside_table_ref.html'>
<!--
Tests that layout doesn't treat `vertical-align` on table cells as though it were
`vertical-align` on inlines.
-->
<style>
td {
vertical-align: top;
}
</style>
</head>
<body>
<table>
<tr><td>What? <a>What?</a></td></tr>
</table>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<!--
Tests that layout doesn't treat `vertical-align` on table cells as though it were
`vertical-align` on inlines.
-->
</head>
<body>
<table>
<tr><td>What? <a>What?</a></td></tr>
</table>
</body>
</html>