Move inline_hypothetical_box_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-19 18:34:07 -04:00
parent 21d6bccf62
commit d1b3e098cd
4 changed files with 25 additions and 1 deletions

View file

@ -743,6 +743,18 @@
"url": "/_mozilla/css/inline_element_border_a.html"
}
],
"css/inline_hypothetical_box_a.html": [
{
"path": "css/inline_hypothetical_box_a.html",
"references": [
[
"/_mozilla/css/inline_hypothetical_box_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_hypothetical_box_a.html"
}
],
"css/inline_margins_a.html": [
{
"path": "css/inline_margins_a.html",
@ -4236,6 +4248,18 @@
"url": "/_mozilla/css/inline_element_border_a.html"
}
],
"css/inline_hypothetical_box_a.html": [
{
"path": "css/inline_hypothetical_box_a.html",
"references": [
[
"/_mozilla/css/inline_hypothetical_box_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_hypothetical_box_a.html"
}
],
"css/inline_margins_a.html": [
{
"path": "css/inline_margins_a.html",

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='inline_hypothetical_box_ref.html'>
<style>
.a {
position: relative;
height: 200px;
}
.b {
position: absolute;
vertical-align: top;
}
.c {
background: blue;
display: inline-block;
height: 8px;
width: 32px;
}
</style>
</head>
<body>
<div class=a><span class=c></span><span class=b style="top: 100px;">Hello</span>world!</div>
<div class=a><span class=c></span><span class=b style="left: 100px;">Hello</span>world!</div>
</body>
</html>

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<style>
.a {
position: relative;
height: 200px;
}
.b {
position: absolute;
display: block;
}
.c {
background: blue;
display: inline-block;
height: 8px;
width: 32px;
}
</style>
</head>
<body>
<div class=a><span class=c></span>world!<span class=b style="top: 100px; left: 32px;">Hello</span></div>
<div class=a><span class=c></span>world!<span class=b style="top: 0; left: 100px;">Hello</span></div>
</body>
</html>