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/scroll-marker-014-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Non-atomic inline ::scroll-marker with scroll snapping</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
.carousel {
overflow: scroll;
scroll-marker-group: after;
}
.carousel::scroll-marker-group {
overflow: scroll;
scroll-snap-type: x mandatory;
}
.carousel > *::scroll-marker {
content: "x";
}
</style>
<div class="carousel">
<div></div>
</div>