mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move position_abs_replaced_simple_a.html to wpt reftests.
This commit is contained in:
parent
00310c1216
commit
b1a4ec4492
5 changed files with 25 additions and 1 deletions
|
@ -683,6 +683,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/position_abs_replaced_simple_a.html": [
|
||||
{
|
||||
"path": "css/position_abs_replaced_simple_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_abs_replaced_simple_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_abs_replaced_simple_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_abs_width_percentage_a.html": [
|
||||
{
|
||||
"path": "css/position_abs_width_percentage_a.html",
|
||||
|
@ -3168,6 +3180,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/position_abs_replaced_simple_a.html": [
|
||||
{
|
||||
"path": "css/position_abs_replaced_simple_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_abs_replaced_simple_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_abs_replaced_simple_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_abs_width_percentage_a.html": [
|
||||
{
|
||||
"path": "css/position_abs_width_percentage_a.html",
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel='match' href='position_abs_replaced_simple_b.html'>
|
||||
<style>
|
||||
#first {
|
||||
position: relative;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
border: solid 1px;
|
||||
}
|
||||
#abs {
|
||||
position: absolute;
|
||||
margin: 0px;
|
||||
top: 30px;
|
||||
right: 30px;
|
||||
bottom: 30px;
|
||||
width: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="first">
|
||||
<img src="rust_logo.png" width="100" id="abs" alt="Rust Logo" />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,32 @@
|
|||
<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: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="first">
|
||||
<div class="row">
|
||||
</div>
|
||||
<div class="center">
|
||||
<img src="rust_logo.png" width="30" id="abs" alt="Rust Logo" />
|
||||
</div>
|
||||
<div class="row">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
tests/wpt/mozilla/tests/css/rust_logo.png
Normal file
BIN
tests/wpt/mozilla/tests/css/rust_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.3 KiB |
Loading…
Add table
Add a link
Reference in a new issue