mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move position_abs_nested_a.html to wpt reftests.
This commit is contained in:
parent
9086f3e81e
commit
48fb35ab4b
4 changed files with 25 additions and 1 deletions
|
@ -683,6 +683,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/position_abs_nested_a.html": [
|
||||
{
|
||||
"path": "css/position_abs_nested_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_abs_nested_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_abs_nested_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_abs_pseudo_a.html": [
|
||||
{
|
||||
"path": "css/position_abs_pseudo_a.html",
|
||||
|
@ -3204,6 +3216,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/position_abs_nested_a.html": [
|
||||
{
|
||||
"path": "css/position_abs_nested_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_abs_nested_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_abs_nested_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_abs_pseudo_a.html": [
|
||||
{
|
||||
"path": "css/position_abs_pseudo_a.html",
|
||||
|
|
35
tests/wpt/mozilla/tests/css/position_abs_nested_a.html
Normal file
35
tests/wpt/mozilla/tests/css/position_abs_nested_a.html
Normal file
|
@ -0,0 +1,35 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel='match' href='position_abs_nested_b.html'>
|
||||
<style>
|
||||
#first {
|
||||
position: relative;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
border: solid 1px;
|
||||
}
|
||||
#abs {
|
||||
position: absolute;
|
||||
left: 30px;
|
||||
top: 30px;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
background: blue;
|
||||
}
|
||||
#abs2 {
|
||||
position: absolute;
|
||||
background: green;
|
||||
height: 15px;
|
||||
width: 15px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="first">
|
||||
<div id="abs">
|
||||
<div id="abs2">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
36
tests/wpt/mozilla/tests/css/position_abs_nested_b.html
Normal file
36
tests/wpt/mozilla/tests/css/position_abs_nested_b.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
#first {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
border: solid 1px;
|
||||
}
|
||||
.row {
|
||||
width: 90px;
|
||||
height: 30px;
|
||||
}
|
||||
.center {
|
||||
margin-left: 30px;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
background: blue;
|
||||
}
|
||||
.little-box {
|
||||
height: 15px;
|
||||
width: 15px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="first">
|
||||
<div class="row"></div>
|
||||
<div class="center">
|
||||
<div class="little-box">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue