mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Move overflow_position_abs_inside_normal_a.html to wpt reftests.
This commit is contained in:
parent
a8cbc28643
commit
2c4232b620
5 changed files with 29 additions and 2 deletions
|
@ -13,8 +13,6 @@ fragment=top != ../html/acid2.html acid2_ref.html
|
|||
flaky_cpu == append_style_a.html append_style_b.html
|
||||
# `?` and `#` in the name is a test for https://github.com/servo/servo/issues/3340
|
||||
|
||||
# Should be ==?
|
||||
!= overflow_position_abs_inside_normal_a.html overflow_position_abs_inside_normal_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
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
<html>
|
||||
<title>
|
||||
`overflow: hidden` on #second has no effect on #abs because its CB is #first.
|
||||
</title>
|
||||
<head>
|
||||
<style>
|
||||
#first {
|
||||
position: relative;
|
||||
}
|
||||
#second {
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
background: red;
|
||||
overflow: hidden;
|
||||
}
|
||||
#abs {
|
||||
position: absolute;
|
||||
height: 200px;
|
||||
width: 200px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="first">
|
||||
<div id="second">
|
||||
<div id="abs">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,17 +0,0 @@
|
|||
<html>
|
||||
<title>
|
||||
`overflow: hidden` on #second has no effect on #abs because its CB is #first.
|
||||
</title>
|
||||
<head>
|
||||
<style>
|
||||
#first {
|
||||
height: 200px;
|
||||
width: 200px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="first"></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue