- From: Jan Nicklas via GitHub <sysbot+gh@w3.org>
- Date: Tue, 21 May 2024 11:14:10 +0000
- To: public-css-archive@w3.org
I am not sure if I understood the discussion result correctly. When nesting different elements with different line-heights, the height of the largest line-height is used for the entire group. For me as developer it would be most intuitive if text-box-trim would behave in a similar way. Here are two examples and in both examples the largest font-size should be used for the trim calculation: `<h1><span style="font-size:120%">` (trimmed to the span) ![inner element has larger font](https://github.com/w3c/csswg-drafts/assets/4113649/bb12241a-43b7-4b2e-928a-12261c7e1a82) `<h1><span style="font-size:80%">` (trimmed to the h1) ![inner element has smaller font](https://github.com/w3c/csswg-drafts/assets/4113649/88e51f88-6496-441b-9a1a-553fc64d8712) -- GitHub Notification of comment by jantimon Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5426#issuecomment-2122395873 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 21 May 2024 11:14:11 UTC