mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move position_abs_static_y_a.html to wpt reftests.
This commit is contained in:
parent
b1a4ec4492
commit
903c21708c
4 changed files with 25 additions and 1 deletions
|
@ -695,6 +695,18 @@
|
|||
"url": "/_mozilla/css/position_abs_replaced_simple_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_abs_static_y_a.html": [
|
||||
{
|
||||
"path": "css/position_abs_static_y_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_abs_static_y_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_abs_static_y_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_abs_width_percentage_a.html": [
|
||||
{
|
||||
"path": "css/position_abs_width_percentage_a.html",
|
||||
|
@ -3192,6 +3204,18 @@
|
|||
"url": "/_mozilla/css/position_abs_replaced_simple_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_abs_static_y_a.html": [
|
||||
{
|
||||
"path": "css/position_abs_static_y_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_abs_static_y_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_abs_static_y_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_abs_width_percentage_a.html": [
|
||||
{
|
||||
"path": "css/position_abs_width_percentage_a.html",
|
||||
|
|
32
tests/wpt/mozilla/tests/css/position_abs_static_y_a.html
Normal file
32
tests/wpt/mozilla/tests/css/position_abs_static_y_a.html
Normal file
|
@ -0,0 +1,32 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel='match' href='position_abs_static_y_b.html'>
|
||||
<style>
|
||||
#first {
|
||||
position: relative;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
border: solid 1px;
|
||||
}
|
||||
#second {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
#abs {
|
||||
position: absolute;
|
||||
left: 30px;
|
||||
right: 30px;
|
||||
height: 20px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="first">
|
||||
<div id="second">
|
||||
</div>
|
||||
<div id="abs">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
28
tests/wpt/mozilla/tests/css/position_abs_static_y_b.html
Normal file
28
tests/wpt/mozilla/tests/css/position_abs_static_y_b.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
#first {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
border: solid 1px;
|
||||
}
|
||||
.row {
|
||||
width: 90px;
|
||||
height: 30px;
|
||||
}
|
||||
.center {
|
||||
margin-left: 30px;
|
||||
height: 20px;
|
||||
width: 30px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="first">
|
||||
<div class="row"></div>
|
||||
<div class="center">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue