mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move inline_hypothetical_box_a.html to wpt reftests.
This commit is contained in:
parent
21d6bccf62
commit
d1b3e098cd
4 changed files with 25 additions and 1 deletions
|
@ -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",
|
||||
|
|
29
tests/wpt/mozilla/tests/css/inline_hypothetical_box_a.html
Normal file
29
tests/wpt/mozilla/tests/css/inline_hypothetical_box_a.html
Normal 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>
|
||||
|
29
tests/wpt/mozilla/tests/css/inline_hypothetical_box_ref.html
Normal file
29
tests/wpt/mozilla/tests/css/inline_hypothetical_box_ref.html
Normal 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>
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue