- From: Robert Flack via GitHub <sysbot+gh@w3.org>
- Date: Wed, 19 Feb 2025 16:18:04 +0000
- To: public-css-archive@w3.org
flackr has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-overflow-5] ::scroll-marker should determine inherited interactivity from ::scroll-marker-group == It's common practice to make the offscreen pages in a carousel inert, however, the `::scroll-marker` pseudo-elements generated for them should not be. In general, it would make sense for them to inherit their interactivity from the `::scroll-marker-group` as this is the control into which they are placed. E.g. in the following example, only the current page is interactive, but the markers to go to the other pages are expected to be interactive. ```html <style> .scroller { scroll-marker-group: after; overflow: auto; scroll-snap-type: x mandatory; } .page { interactivity: inert; @container scroll-state(snapped: inline) { interactivity: auto; } } .page::scroll-marker { counter-increment: page; content: counter(page); } </style> <div class=scroller> <div class=page></div> <div class=page></div> <div class=page></div> <div class=page></div> </div> ``` Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11746 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 19 February 2025 16:18:05 UTC