Re: [csswg-drafts] [css-display] How does block inside inline affect the box tree, exactly? (#1477)

The definition for various things related to `line-clamp` in the spec relies on what exactly counts as a line box, so which of the fragment trees in https://github.com/w3c/csswg-drafts/issues/1477#issuecomment-381147340 is the proper one matters in this case. It seems like all browsers' implementations of `(-webkit-)line-clamp` treat block-in-inline boxes as not contained in a line box – that is to say, the block-in-inline doesn't add one to the number of lines.

It would be great to resolve that this is the case, and have this actually added to some specification.

-- 
GitHub Notification of comment by andreubotella
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1477#issuecomment-3302190912 using your GitHub account


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

Received on Wednesday, 17 September 2025 09:47:05 UTC