fune/testing/web-platform/tests/css/css-position/containing-block-change-scrollframe-ref.html
Emilio Cobos Álvarez c5bcd4f00f Bug 1735533 - Don't reframe scrollframes to update whether they're a abspos containing-block. r=dholbert
(if they don't have any impacted abspos descendants, of course, just
like we do for regular blocks)

Differential Revision: https://phabricator.services.mozilla.com/D128877
2021-10-21 19:58:42 +00:00

32 lines
555 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>CSS Test Reference</title>
<style>
#container {
width: 400px;
height: 400px;
margin: 100px;
background-color: purple;
position: relative;
}
#spacer {
height: 300px;
}
#bottom {
height: 100px;
background-color: green;
}
#abspos {
position: absolute;
width: 100px;
height: 100px;
background-color: green;
top: 0;
left: 0;
}
</style>
<div id="container">
<div id="spacer"></div>
<div id="bottom"></div>
<div id="abspos"></div>
</div>