Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<link rel="match" href="flex-column-container-with-scrollable-descendant-ref.html">
<style>
.container {
width: 500px;
outline: 1px solid black;
}
.flex-container {
display:flex;
flex-direction: column;
outline: 1px solid green;
}
.flex-item {
width: 300px;
outline: 1px solid magenta;
}
.content {
overflow: auto;
white-space: pre;
}
.sibling {
width: 100px;
height: 100px;
border: 4px solid blue;
}
</style>
</head>
<body>
<div class=container>
<div class=flex-container>
<div class=flex-item>
<div class=content>PASS if always-on scrollbar does not overlap the blue box below</div>
</div>
</div>
<div class=sibling></div>
</div>
</body>
</html>