Re: [csswg-drafts] [css-overflow-4] display: -webkit-box and line-clamp without -webkit-box-orient: vertical (#10448)

The CSS Working Group just discussed `[css-overflow-4] display: -webkit-box and line-clamp without -webkit-box-orient: vertical`, and agreed to the following:

* `RESOLVED: no change to spec, add a note`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> andreubotella: We had agreed to a compat workaround for line-clamp<br>
&lt;fantasai> andreubotella: if you have -webkit-box and -webkit-box-orient: vertical<br>
&lt;fantasai> andreubotella: then either line-clamp or -webkit-line-clamp would make it not a flex, and make it a block<br>
&lt;fantasai> andreubotella: and -webkit-line-clamp would apply<br>
&lt;fantasai> andreubotella: issue is if you have line-clamp on block containers<br>
&lt;fantasai> andreubotella: should display: -webkit-box + line-clamp without box-orient, should it also trigger the behavior of making it a block container?<br>
&lt;fantasai> andreubotella: I agree with Florian that -webkit-line-clamp only applies with -webkit-box and -webkit-box-orient:vertical<br>
&lt;fantasai> andreubotella: but if you have [missed]<br>
&lt;florian> q+<br>
&lt;astearns> ack florian<br>
&lt;fantasai> andreubotella: if you have -webkit-box and line-clamp, is -box-orient also required?<br>
&lt;fantasai> florian: This problem is more difficult to dscribe than to solve<br>
&lt;fantasai> florian: we have a weird compat hack that is required when you have -webkit-line-clamp<br>
&lt;fantasai> florian: and is allowed for line-clamp<br>
&lt;fantasai> florian: I don't think we need to generlaize<br>
&lt;fantasai> florian: we need to support the set for -webkit-line-clamp to work<br>
&lt;fantasai> florian: it needs to not work when the whole set is not there, because the Web depends o nit not triggering if any piece is missing<br>
&lt;fantasai> florian: if you don't have the full thing, then don't blockify the flexbox<br>
&lt;fantasai> florian: the non-hacky version doesn't apply to flexboxes<br>
&lt;fantasai> florian: not helpful, and not needed for compat, so keep it simple<br>
&lt;fantasai> florian: already resolved that the new line-clamp works if you have the full set of weird stuff<br>
&lt;fantasai> florian: but if you only have one of them, then we don't trigger the magic condition, and shouldn't<br>
&lt;fantasai> florian: so proposal is no change, just clarify with a note<br>
&lt;fantasai> astearns: proposed no change to spec, add a note mentioning the new version doesn't interact with only part of the old hack<br>
&lt;fantasai> RESOLVED: no change to spec, add a note<br>
</details>


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


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

Received on Wednesday, 4 September 2024 23:57:04 UTC