mirror of
https://github.com/servo/servo.git
synced 2025-09-10 23:18:20 +01:00
Move position_fixed_a.html to wpt reftests.
This commit is contained in:
parent
2c4232b620
commit
91d798cbd6
4 changed files with 25 additions and 1 deletions
|
@ -16,7 +16,6 @@ flaky_cpu == append_style_a.html append_style_b.html
|
|||
resolution=300x300,device-pixel-ratio=2 != pixel_snapping_border_a.html pixel_snapping_border_ref.html
|
||||
resolution=300x300,device-pixel-ratio=2 != pixel_snapping_position_a.html pixel_snapping_position_ref.html
|
||||
# commented out because multiple layers don't work with reftests --pcwalton
|
||||
# == position_fixed_a.html position_fixed_b.html
|
||||
# == position_fixed_simple_a.html position_fixed_simple_b.html
|
||||
# == position_fixed_static_y_a.html position_fixed_static_y_b.html
|
||||
# text_decoration_propagation_a.html text_decoration_propagation_b.html
|
||||
|
|
|
@ -1,43 +0,0 @@
|
|||
<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>
|
|
@ -1,43 +0,0 @@
|
|||
<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>
|
Loading…
Add table
Add a link
Reference in a new issue