Re: [csswg-drafts] [css-text] What does the `white-space-collapse` apply to when white-space trimming/positioning (#9724)

> What would happen if a sequence of whitespace that hangs unconditionally is followed by a sequence that hangs conditionally?

Same logic? In cases where the condition is met and (all) the conditionally hangable glyphs do hang because they didn't fit the line prior to justification, then the unconditionally hangable glyphs are at the end of the line too, and hang too.

However, if there remains at least one conditionally hangable glyph at the end of the line which is not hanging because it did fit the line prior to justification, then the unconditionally hanging glyphs aren't actually at the end of the line since there's something in between, and thus they don't hang.

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


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

Received on Thursday, 21 December 2023 08:21:37 UTC