Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>CSS Overflow Test: ::column::scroll-marker display type change on :target-current</title>
<link rel="match" href="scroll-marker-011-ref.html">
<style>
* {
font-family: monospace;
}
#scroller {
overflow: hidden;
scroll-marker-group: before;
columns: 1;
gap: 0;
height: 100px;
width: 100px;
}
#scroller::scroll-marker-group {
display: block;
height: 100px;
}
#scroller::column::scroll-marker {
display: flex;
content: "PASS";
}
#scroller::column::scroll-marker:target-current {
display: block;
}
#item {
height: 100px;
width: 100px;
}
</style>
<p>The word "PASS" should be seen below.</p>
<div id="scroller">
<div id="item"></div>
</div>