- From: Florian Rivoal via GitHub <noreply@w3.org>
- Date: Thu, 17 Jul 2025 09:42:09 +0000
- To: public-css-archive@w3.org
https://www.w3.org/TR/css-text-3/#line-break-details states: > For soft wrap opportunities defined by the boundary between two characters or [atomic inlines](https://www.w3.org/TR/css-display-3/#atomic-inline), the [white-space](https://www.w3.org/TR/css-text-3/#propdef-white-space) property on the nearest common ancestor of the two characters controls breaking; In the example above, the boundary is between "r" and "o", and the nearest common ancestor of the two is the parent div, which uses the initial value for the `white-space` property. I would therefore expect wrapping to be allowed, and consider the firefox behavior to be a spec violation. The situation would be different if the `<span style="white-space: nowrap">` itself contained text. -- GitHub Notification of comment by frivoal Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12491#issuecomment-3083376010 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 17 July 2025 09:42:10 UTC