- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 19 Feb 2025 17:26:07 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-overflow-5] Should ::scroll-marker pseudo-elements within skipped content-visibility: auto elements be discovered?`, and agreed to the following: * `RESOLVED: Try option 2` <details><summary>The full IRC log of that discussion</summary> <TabAtkins> flackr: it's common practice now to have content-visibility:auto on your list items fo rlong lists, so we skip painting ofr offscreen<br> <TabAtkins> florian: but if you have content in there that produces a scroll marker, as you scroll you'll be adding/removing markers from scroll-marker-group<br> <TabAtkins> flackr: probably not what authors intend. so i'm proposing we find a way to make this work.<br> <TabAtkins> flackr: 1) make it similar to find-in-page, we don't skip the subtrees for finding scroll markers<br> <TabAtkins> s/florian/flackr/<br> <TabAtkins> flackr: 2) use the scrollIntoView() psoition of the non-skipped ancestor of the marker for determining when the marker is active, this lets us still skip layout<br> <TabAtkins> flackr: finally, spec says put a bunch of containment on skipped elements. scroll markers are a bit of an exception - need to specify they paint even if they're in a paint containment<br> <TabAtkins> flackr: could just say they're contianed and that's that, but i think author expects it<br> <emilio> TabAtkins: I agree about trying to work it out<br> <emilio> ... from author perspective the scroll marker is no longer "in the subtree"<br> <emilio> ... having containment applied to it would be [missed]<br> <TabAtkins> flackr: yeah, that would be the last point in my carveout<br> <emilio> s/[missed]/confusing<br> <emilio> q+<br> <emilio> flackr: so you agree with me?<br> <emilio> TabAtkins: yes<br> <astearns> ack fantasai<br> <astearns> ack emilio<br> <TabAtkins> emilio: i'm a bit wary of introducing this kind of exceptions...<br> <TabAtkins> emilio: could make same argument about fixpos children. i think those don't escape<br> <TabAtkins> emilio: i'm not opposed to try and make this work, i agree it would be nice, i'm justs wary of the implications<br> <TabAtkins> emilio: they tend to bite us back<br> <emilio> astearns: is there anything else we'd need to apply this to? Seems a weird special-case<br> <andruud> q+<br> <TabAtkins> astearns: that was my concern too. is there anything else we'd need to apply this to? seems a little strange to have this carveout just for scroll marker.<br> <emilio> flackr: dialogs are sorta similar<br> <TabAtkins> flackr: i think dialogs are similar<br> <TabAtkins> TabAtkins: that gets puts in the top layer, it escapes<br> <emilio> TabAtkins: for those things, it's box-tree rewriting<br> <emilio> ... we do it not very often but when we do it does escape<br> <emilio> ... fixedpos is different<br> <emilio> ... because those don't escape in the layout tree<br> <emilio> ... also if you're a fixed pos you can move them around without rendering effect<br> <emilio> ... same is not true of scroll markers<br> <emilio> q+<br> <astearns> ack andruud<br> <emilio> ... so I'm ok w/ fixed-pos getting contained but scroll-markers not being contained<br> <TabAtkins> andruud: does this mean that style skipping for c-v is just defeated for scrollable elements/<br> <emilio> andruud: does this mean that style skipping is defeated for scrollable elements?<br> <TabAtkins> flackr: for scrollable containers that have an active scroll-marker-group<br> <TabAtkins> andruud: so you'd know it on the scroller<br> <TabAtkins> flackr: yes. we'd still be able to skip style in the nromal case<br> <TabAtkins> andruud: are you worried that style and layout are now linked a bit thru CQs and anchorpos?<br> <TabAtkins> andruud: you can't really know the style until you do layout if there's a CQ<br> <TabAtkins> flackr: yeah, ijn those cases i suppose we'd be requiring the layout<br> <TabAtkins> flackr: but it is contained to things in that scrolling container<br> <astearns> ack emilio<br> <TabAtkins> emilio: tho arguably, setting this on the root is kinda a use-case<br> <TabAtkins> was gonna point that out too :)<br> <TabAtkins> emilio: I think fixpos do get reparented in a way, we just say contain:layout establishes a CB for them<br> <TabAtkins> TabAtkins: yeah, a lot of things esteablish a CB for fixpos, they're easily interrupted<br> <TabAtkins> emilio: I suppose this adds another weird case where we do styling but don't fire transition events, etc<br> <TabAtkins> emilio: i do agree it would be nice to work, but will have a bunch of side effectws that might not be aware of right now<br> <TabAtkins> emilio: don't want to object to trying to figure this out. just think there's gonna be quirky edge cases and side effects<br> <TabAtkins> astearns: so not hearing great enthusiasm, but not hearing objections<br> <TabAtkins> astearns: supposed proposed resolution would be to take option 2, and attempt to come up with a spec?<br> <TabAtkins> flackr: yes, that's what I'm looking for. try to do it, see how it works out.<br> <TabAtkins> astearns: any objections to attempting option 2?<br> <TabAtkins> RESOLVED: Try option 2<br> <TabAtkins> flackr: and if it doesn't work out, we have option 1 which is easy to explain. option 2 is just nice for authors.<br> <TabAtkins> astearns: right, worth trying<br> <emilio> scribe+<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11705#issuecomment-2669299007 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 17:26:09 UTC