Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-overflow/column-scroll-marker-group-style-remove.html - WPT Dashboard Interop Dashboard
<!DOCTYPE HTML>
<title>CSS Overflow Test: disabling ::scroll-marker-group removes column scroll-markers</title>
<link rel="match" href="scroll-marker-group-style-remove-ref.html">
<style>
#scroller {
overflow: hidden;
scroll-marker-group: after;
columns: 1;
column-fill: auto;
height: 100px;
width: 100px;
}
#scroller::column::scroll-marker {
content: ' ';
border-radius: 50%;
background: blue;
width: 50px;
height: 50px;
}
.scroll-marker-group::scroll-marker-group {
border: 3px solid black;
display: flex;
height: 50px;
width: 100px;
}
.item {
height: 100px;
width: 100px;
}
</style>
<div id="scroller" class="scroll-marker-group">
<div class="item">1</div>
<div class="item">2</div>
</div>
<script>
document.body.offsetTop;
scroller.className = "";
</script>