- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 16 Nov 2022 18:02:18 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-contain-2] contain:size shouldn't fragment as monolithic`. <details><summary>The full IRC log of that discussion</summary> <astearns> topic: [css-contain-2] contain:size shouldn't fragment as monolithic<br> <astearns> github: https://github.com/w3c/csswg-drafts/issues/5648#issuecomment-1240067326<br> <dandclark> florian: Situation is size containment has requirements about fragmentation we need to satisfy for it to work.<br> <dandclark> ...: Reused frag. of monolithing elements because if fulfilled reqs but it does more. Solves problem but with unecessary side effects. Can we relax solution to solve prob without side effects?<br> <dandclark> florian: Size containment requires size of element doesn't change when content changes, and if element isfragmented, size of fragments don't change<br> <dandclark> ...: COuld have first without second if move fragmentation point<br> <dandclark> ...: By saying size-contained element is monolithic, do get that property.<br> <dandclark> ...: Slice the element <missed> and that solves the problem.<br> <dandclark> ...: If the element contains content, maybe interesting in some scenarios the boxes themselves to that but the content is allowed to fragment in fixed-size fragments.<br> <dandclark> ...: If have 3 lines of text in element and frag point is in middle of second line, take the entirety of second line and put it in next fragment<br> <dandclark> ...: 2nd and 3rd line could fit in second fragment without overflow<br> <dbaron> sounds a lot like printing on paper<br> <dandclark> ...: Could be interesting to allow browser to either slice or allow content, but allow fragmentation within these sizes.<br> <dandclark> ...: Should we do this? I don't think any browser does now.<br> <iank_> I slightly prefer leaving as is<br> <dandclark> ...: But could be interesting to allow them to<br> <dandclark> iank: The way that balancing works is that it does need to know about contents and where you slice<br> <dandclark> ...: and that has depenency on height. Also engines don't implement fragmentation primitives well. Hesitant about adding another<br> <miriam> q+<br> <dandclark> ...: especially for such a narrow use case<br> <dandclark> ...: So prefer leaving it<br> <astearns> ack miriam<br> <dandclark> miriam: As container queries beome more popular, how much of an edge case [cut off]<br> <dandclark> iank: This is only needed when got full size ontainment or containment in block axis<br> <dandclark> ...: Not needed in inline axis, which is dominant case for container queries<br> <dandclark> florian: I think that's true, havent thought about it a lot<br> <dandclark> florian: way I was proposing to address was to invent something to size the content the same; don't require but allow normal fragmentation<br> <dandclark> ...: It's just an allowance, don't have to take it<br> <dandclark> ...: Theoretically it would be fine. But only worth speccing if there's interest in pursuing it.<br> <dandclark> ...: Another solution is to defer it and look again in 5 years<br> <dandclark> ...: Not time sensitive since it's an allowance only anyway<br> <dandclark> iank: Don't have immediate interest. Prefer leaving as monolithic at the moment. Can change later if there's demand.<br> <dandclark> ...: There's demand for strongly making elements monolithic.<br> <dandclark> ...: Which capability doesn't exist now.<br> <dandclark> ...: There are cases where break inside avoid <missed>. I can raise separate issue about that<br> <dandclark> florian: My sense is for this issue, defer it long term. Nothing wrong with proposed solution but no point if no one wants to do it.<br> <astearns> ack fantasai<br> <dandclark> ...: Can close issue, or mark deferred.<br> <dandclark> fantasai: If want to allow in future, should put it in spec, otherwise people won't know we considered it.<br> <dandclark> ...: If think it's bad idea, should close no change<br> <dandclark> iank: Not sure if good or bad idea. It's ehhh.<br> <tantek> do we already link to it in-context in the spec as an open issue? so implementers can be more aware of it?<br> <dandclark> fantasai: People make web page, use containment stuff. Then try to print the doc. Do we think it's best to cut lines in half?<br> <dandclark> ...: I expect contain to be used all over the place. So significant amount of printed content will be cut in half.<br> <dandclark> iank: Disagree w/ premise. Inline size containmnent will be used heavily, but full size containment not that prevalent.<br> <chris> Havent seen bisected lines of text on printing since, like, Netscape 2 or something<br> <dandclark> astearns: Out of time. Will leave issue and keep discussing.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5648#issuecomment-1317434754 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 16 November 2022 18:02:20 UTC