Move vertical_align_bottom_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-14 00:24:33 -04:00
parent ac7635056a
commit 9216468a86
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_bottom_a.html": [
{
"path": "css/vertical_align_bottom_a.html",
"references": [
[
"/_mozilla/css/vertical_align_bottom_ref.html",
"=="
]
],
"url": "/_mozilla/css/vertical_align_bottom_a.html"
}
],
"css/vertical_align_inline_block_a.html": [
{
"path": "css/vertical_align_inline_block_a.html",
@ -2192,6 +2204,18 @@
"url": "/_mozilla/css/upper_id_attr.html"
}
],
"css/vertical_align_bottom_a.html": [
{
"path": "css/vertical_align_bottom_a.html",
"references": [
[
"/_mozilla/css/vertical_align_bottom_ref.html",
"=="
]
],
"url": "/_mozilla/css/vertical_align_bottom_a.html"
}
],
"css/vertical_align_inline_block_a.html": [
{
"path": "css/vertical_align_inline_block_a.html",

View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='vertical_align_bottom_ref.html'>
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<style type="text/css">
body {
margin: 0;
font-size: 100px;
line-height: 1;
color: yellow;
}
div {
position: absolute;
top: 100px;
background-color: red;
}
.align {
color: green;
font-size: 20px;
vertical-align: bottom;
}
</style>
</head>
<body>
<div><span class="align">X</span><span>X</span></div>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
margin: 0;
}
.red {
background-color: red;
position: absolute;
top: 100px;
width: 20px;
height: 80px;
}
.green {
background-color: green;
position: absolute;
top: 180px;
width: 20px;
height: 20px;
}
.yellow {
background-color: yellow;
position: absolute;
left: 20px;
top: 100px;
width: 100px;
height: 100px;
}
</style>
</head>
<body>
<div class="red"></div>
<div class="green"></div>
<div class="yellow"></div>
</body>
</html>