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-markers-container-query-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>CSS Overflow Test: ::scroll-marker-group depending on size container query crash</title>
<style>
#scroller {
overflow: hidden;
scroll-marker-group: before;
container-type: size;
}
#scroller>div::scroll-marker {
content: ".";
}
@container (width) {
#scroller::scroll-marker-group {
display: block;
}
}
</style>
<div id="scroller">
<div></div>
</div>