Move position_fixed_a.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-12-02 14:05:20 +01:00
parent 2c4232b620
commit 91d798cbd6
4 changed files with 25 additions and 1 deletions

View file

@ -3559,6 +3559,18 @@
"url": "/_mozilla/css/position_abs_width_percentage_a.html"
}
],
"css/position_fixed_a.html": [
{
"path": "css/position_fixed_a.html",
"references": [
[
"/_mozilla/css/position_fixed_b.html",
"=="
]
],
"url": "/_mozilla/css/position_fixed_a.html"
}
],
"css/position_fixed_background_color_a.html": [
{
"path": "css/position_fixed_background_color_a.html",
@ -9294,6 +9306,18 @@
"url": "/_mozilla/css/position_abs_width_percentage_a.html"
}
],
"css/position_fixed_a.html": [
{
"path": "css/position_fixed_a.html",
"references": [
[
"/_mozilla/css/position_fixed_b.html",
"=="
]
],
"url": "/_mozilla/css/position_fixed_a.html"
}
],
"css/position_fixed_background_color_a.html": [
{
"path": "css/position_fixed_background_color_a.html",

View file

@ -0,0 +1,44 @@
<html>
<head>
<link rel=match href=position_fixed_b.html>
<style>
.container {
display: block;
background: blue;
}
.fixed_block {
background: green;
position: fixed;
}
.positioned_fixed_block {
background: yellow;
position: fixed;
top: 50%;
right: 25px;
}
.sized_fixed_block {
background: red;
position: fixed;
height: 50px;
width: 50px;
left: 5px;
right: 10px;
top: 100px;
bottom: 30px;
}
.stretched_fixed_block {
position: fixed;
background: black;
top: 100px;
bottom: 30px;
}
</style>
</head>
<body>
<div class="container">
<div class="fixed_block"> fixed block </div>
<div class="positioned_fixed_block"> positioned fixed block </div>
<div class="sized_fixed_block"> sized fixed block </div>
</div>
</body>
</html>

View file

@ -0,0 +1,43 @@
<html>
<head>
<style>
.container {
display: block;
background: blue;
}
.fixed_block {
background: green;
position: fixed;
}
.positioned_fixed_block {
background: yellow;
position: fixed;
top: 50%;
right: 25px;
}
.sized_fixed_block {
background: red;
position: fixed;
height: 50px;
width: 50px;
left: 5px;
right: 10px;
top: 100px;
bottom: 30px;
}
.stretched_fixed_block {
position: fixed;
background: black;
top: 100px;
bottom: 30px;
}
</style>
</head>
<body>
<div class="container">
<div class="fixed_block"> fixed block </div>
<div class="positioned_fixed_block"> positioned fixed block </div>
<div class="sized_fixed_block"> sized fixed block </div>
</div>
</body>
</html>