Move vertical_align_inline_block_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-14 00:22:44 -04:00
parent dbbfde7793
commit ac7635056a
4 changed files with 25 additions and 1 deletions

View file

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

View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='vertical_align_inline_block_ref.html'>
<style>
html, body {
margin: 0;
}
#a {
display: inline-block;
vertical-align: top;
width: 128px;
height: 64px;
background: blue;
}
#b {
display: inline-block;
width: 128px;
height: 128px;
background: purple;
}
</style>
</head>
<body>
<div><span id=a></span><span id=b></span></div>
</body>
</html>

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<style>
#a {
position: absolute;
width: 128px;
height: 64px;
top: 0;
left: 0;
background: blue;
}
#b {
position: absolute;
width: 128px;
height: 128px;
top: 0;
left: 128px;
background: purple;
}
</style>
</head>
<body>
<div><span id=a></span><span id=b></span></div>
</body>
</html>