Move position_fixed_simple_a.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-12-02 14:08:58 +01:00
parent 91d798cbd6
commit 9b7864aa1a
4 changed files with 25 additions and 1 deletions

View file

@ -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",

View 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>

View 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>