mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move position_fixed_simple_a.html to wpt reftests.
This commit is contained in:
parent
91d798cbd6
commit
9b7864aa1a
4 changed files with 25 additions and 1 deletions
|
@ -3595,6 +3595,18 @@
|
|||
"url": "/_mozilla/css/position_fixed_overflow_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_fixed_simple_a.html": [
|
||||
{
|
||||
"path": "css/position_fixed_simple_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_fixed_simple_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_fixed_simple_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_fixed_tile_edge.html": [
|
||||
{
|
||||
"path": "css/position_fixed_tile_edge.html",
|
||||
|
@ -9342,6 +9354,18 @@
|
|||
"url": "/_mozilla/css/position_fixed_overflow_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_fixed_simple_a.html": [
|
||||
{
|
||||
"path": "css/position_fixed_simple_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_fixed_simple_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_fixed_simple_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_fixed_tile_edge.html": [
|
||||
{
|
||||
"path": "css/position_fixed_tile_edge.html",
|
||||
|
|
39
tests/wpt/mozilla/tests/css/position_fixed_simple_a.html
Normal file
39
tests/wpt/mozilla/tests/css/position_fixed_simple_a.html
Normal file
|
@ -0,0 +1,39 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel=match href=position_fixed_simple_b.html>
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0px;
|
||||
}
|
||||
.box {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
#rel-cont {
|
||||
position: relative;
|
||||
}
|
||||
#first {
|
||||
background: red;
|
||||
}
|
||||
#normal {
|
||||
background: blue;
|
||||
}
|
||||
#fixed {
|
||||
position: fixed;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="first" class="box">
|
||||
</div>
|
||||
<div id="normal" class="box"></div>
|
||||
<!-- This should become empty -->
|
||||
<div id="rel-cont">
|
||||
<div id="fixed" class="box">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
24
tests/wpt/mozilla/tests/css/position_fixed_simple_b.html
Normal file
24
tests/wpt/mozilla/tests/css/position_fixed_simple_b.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0px;
|
||||
}
|
||||
.box {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
#first {
|
||||
background: green;
|
||||
}
|
||||
#normal {
|
||||
background: blue;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="first" class="box">
|
||||
</div>
|
||||
<div id="normal" class="box"></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue