- From: Andreu Botella via GitHub <sysbot+gh@w3.org>
- Date: Thu, 13 Jun 2024 10:14:42 +0000
- To: public-css-archive@w3.org
In Blink, if the specified value of `display` is `-webkit-box` or `-webkit-inline-box`, that is also its computed value. Then, when building the box tree, if an element would have `display: -webkit(-inline)-box`, `-webkit-box-orient: vertical` and a value of `-webkit-line-clamp` (or `line-clamp` in our WIP implementation of `continue: collapse`) other than `none`, then a block box is created. (If any of those conditions does not hold, `display: -webkit(-inline)-box` creates a flex box.) Then, during block layout, those conditions are checked again to know whether `-webkit-line-clamp` would have any effect. In Firefox, if those conditions hold, the computed value of `display` is `flow-root` (for `-webkit-box`) or `inline` (for `-webkit-inline-box`). None of the other properties are changed during style adjustment. But because of that, the check of whether `-webkit-line-clamp` applies during block layout needs to check the specified value of `display`, rather than the computed value. -- GitHub Notification of comment by andreubotella Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10435#issuecomment-2165222766 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 13 June 2024 10:14:43 UTC