mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move position_relative_top_percentage_a.html to wpt reftests.
This commit is contained in:
parent
d2a27ee9bf
commit
98387ffc7c
4 changed files with 25 additions and 1 deletions
|
@ -683,6 +683,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_top_percentage_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_top_percentage_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_relative_top_percentage_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_relative_top_percentage_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_vertical_percentage_overflow_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_vertical_percentage_overflow_a.html",
|
||||
|
@ -3060,6 +3072,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_top_percentage_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_top_percentage_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_relative_top_percentage_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_relative_top_percentage_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_vertical_percentage_overflow_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_vertical_percentage_overflow_a.html",
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel='match' href='position_relative_top_percentage_b.html'>
|
||||
<style>
|
||||
#first {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: solid 10px;
|
||||
}
|
||||
#rel {
|
||||
position: relative;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="first">
|
||||
<div id="rel">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,28 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
#first {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: solid 10px;
|
||||
}
|
||||
.box {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
#green_square {
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
margin-left: 50px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="first">
|
||||
<div class="box"></div>
|
||||
<div id="green_square">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue