Move vertical_align_top_span_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-13 22:38:46 -04:00
parent bae2ca0e39
commit 77d5f85b25
4 changed files with 25 additions and 1 deletions

View file

@ -603,6 +603,18 @@
"url": "/_mozilla/css/stacking_context_rtl.html"
}
],
"css/vertical_align_top_span_a.html": [
{
"path": "css/vertical_align_top_span_a.html",
"references": [
[
"/_mozilla/css/vertical_align_top_span_ref.html",
"=="
]
],
"url": "/_mozilla/css/vertical_align_top_span_a.html"
}
],
"css/word-spacing.html": [
{
"path": "css/word-spacing.html",
@ -1940,6 +1952,18 @@
"url": "/_mozilla/css/stacking_context_rtl.html"
}
],
"css/vertical_align_top_span_a.html": [
{
"path": "css/vertical_align_top_span_a.html",
"references": [
[
"/_mozilla/css/vertical_align_top_span_ref.html",
"=="
]
],
"url": "/_mozilla/css/vertical_align_top_span_a.html"
}
],
"css/word-spacing.html": [
{
"path": "css/word-spacing.html",

View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<link rel='match' href='vertical_align_top_span_ref.html'>
<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: top;
}
</style>
</head>
<body>
<div><span>X<span class="align">X</span></span></div>
</body>
</html>

View file

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