Re: [csswg-drafts] [css-scroll-snap] Scroll snap areas for fragmented boxes (like in css-multicol) (#5911)

The CSS Working Group just discussed `[css-scroll-snap] Scroll snap areas for fragmented boxes (like in css-multicol)`.

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: [css-scroll-snap] Scroll snap areas for fragmented boxes (like in css-multicol)<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/5911<br>
&lt;dael> fantasai: Basically this is a question of how do we want to address it. We didn't spec frag boxes. Basically 2 concepts. Draw a bounding box around all frag and snap or each frag is independent snap area<br>
&lt;dael> fantasai: When they line up nicely it works fine. but a box split across multi columns and half is the bottom of a column and half is the top, how do you handle? Snap to the middle might not see well.<br>
&lt;dael> fantasai: I don't have a good answer. Wanted to ask the WG<br>
&lt;dael> florian: For multicol specicially drawing a big box could work. Fragmentation in general it wouldn't. Scroll and paginate could exist in the same device. If that's the case pieces might be on different canvases.<br>
&lt;dael> fantasai: If on sep pages you have to snap within page. No other poss interpretation.  Multiple frag on same page, how to handle?<br>
&lt;dael> fantasai: scroll snap does apply to inline boxes. That's a case where snap to bounding box makes sense. For block may be snap to each fragment makes sense<br>
&lt;dael> astearns: Other ideas?<br>
&lt;dael> astearns: Looks like we have 2 behaviors impl and we're not sure either is what we want to spec<br>
&lt;dael> smfr: Examples of pages that show different behavior? Any real world ones? Basically, does it matter?<br>
&lt;dael> fantasai: Yeah. Let's say I have phrases with an ID. terms and definitions. It wraps 2 lines. WHen you click on a link to the definition, where do we snap? If we ask to center it<br>
&lt;dael> florian: In spec we don't turn on snapping for these things. What would be a doc where we would turn on snapping? If we know why it's on might be able to reason what's preferable<br>
&lt;dael> Rossen_: Instead of trying to come up with examples here, I think this needs to go back to GH. I think it's a good prompt to add real world motivating examples<br>
&lt;dael> smfr: My suggestion would be to ask if anyone obj to bounding box solution<br>
&lt;dael> TabAtkins: In particular if FF objects b/c that's a change for them<br>
&lt;dael> fantasai: I will not original person who raised issue was looking for per fragment<br>
&lt;dael> TabAtkins: They wanted to snap to columns<br>
&lt;dael> fantasai: Yes, particular use case can be done in other ways<br>
&lt;dael> TabAtkins: B/c asking for something different we shoudln't worry about satisfying thier case<br>
&lt;dael> fantasai: I think it would be good to get author feedback<br>
&lt;dael> astearns: One way of getting feedback is spec bounding box and ask for examples of how we're getting it wrong<br>
&lt;dael> fantasai: We have both impl so they can compare. We need people to pay attention<br>
&lt;dael> Rossen_: Will bounding box be compat with multicol?<br>
&lt;dael> fantasai: If you ask for center snap position you snap to center of all col the element belongs to. Not sure if that's what you wanted<br>
&lt;dael> florian: Earlier point that for inlines bounding box is good but block it might not makes sense. Multicol is one example. The further apart the pieces can be the less sense it makes for bounding box. Okay to say inline is bounding box, else per fragment?<br>
&lt;dael> jfkthame: Even inline element could run cross fragments in a multicol, couldn't it?<br>
&lt;dael> florian: Yeah. Double fragmented<br>
&lt;dael> iank_: I was going to ask same question fantasai asked, what do webdev expect here<br>
&lt;dael> fantasai: WE should try and reach out to dev community. Maybe jensimmons or rachelandrew<br>
&lt;dael> rachelandrew: If we ask webdev might get confused with the snap to column boxes. Trying to think how to separate<br>
&lt;dael> fantasai: Need a diagram. One of a multicol with a hot pink box or something<br>
&lt;dael> rachelandrew: Happy to have a go at writing blog. need to make sure we're getting feedback for the thing we want<br>
&lt;dael> fantasai: How about you and I work on that<br>
&lt;dael> rachelandrew: Sure<br>
&lt;fantasai> s/pink box/pink box starting near the bottom of the first column/<br>
&lt;dael> astearns: Alright, I'll take the tag off this and we'llg et feedback<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5911#issuecomment-795784265 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 10 March 2021 17:30:02 UTC