mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +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
|
@ -3295,6 +3295,18 @@
|
|||
"url": "/_mozilla/css/overflow_position_abs_inline_block.html"
|
||||
}
|
||||
],
|
||||
"css/overflow_position_abs_inside_normal_a.html": [
|
||||
{
|
||||
"path": "css/overflow_position_abs_inside_normal_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/overflow_position_abs_inside_normal_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/overflow_position_abs_inside_normal_a.html"
|
||||
}
|
||||
],
|
||||
"css/overflow_position_abs_simple_a.html": [
|
||||
{
|
||||
"path": "css/overflow_position_abs_simple_a.html",
|
||||
|
@ -9018,6 +9030,18 @@
|
|||
"url": "/_mozilla/css/overflow_position_abs_inline_block.html"
|
||||
}
|
||||
],
|
||||
"css/overflow_position_abs_inside_normal_a.html": [
|
||||
{
|
||||
"path": "css/overflow_position_abs_inside_normal_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/overflow_position_abs_inside_normal_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/overflow_position_abs_inside_normal_a.html"
|
||||
}
|
||||
],
|
||||
"css/overflow_position_abs_simple_a.html": [
|
||||
{
|
||||
"path": "css/overflow_position_abs_simple_a.html",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[overflow_position_abs_inside_normal_a.html]
|
||||
type: reftest
|
||||
expected: FAIL
|
||||
bug: https://github.com/servo/servo/issues/8780
|
|
@ -0,0 +1,33 @@
|
|||
<html>
|
||||
<title>
|
||||
`overflow: hidden` on #second has no effect on #abs because its CB is #first.
|
||||
</title>
|
||||
<head>
|
||||
<link rel=match href=overflow_position_abs_inside_normal_b.html>
|
||||
<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>
|
|
@ -0,0 +1,17 @@
|
|||
<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