- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Thu, 27 Mar 2025 20:19:01 +0000
- To: public-css-archive@w3.org
What's causing this effect is that the button is an `inline-block`, which sits inside the line box; and we don't look inside a line box for `text-box-trim`, we just cut down to its root inline box, as if it only contained plain text. The options here are: - a) make the developer work around this situation by using flexbox or grid or some other layout mechanism other than inline blocks. - b) make a rule that inline blocks prevent `text-box` from trimming past their margin edge. -- GitHub Notification of comment by fantasai Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11472#issuecomment-2759383599 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 27 March 2025 20:19:02 UTC