Re: [csswg-drafts] [css-text] Hyphenation styling should apply to the wbr element (#5972)

> <wbr> is a soft wrap opportunity, not a hyphenation opportunity:

What's the rationale for concluding this?  For example, if you look at the example in the HTML Standard, it would change the reading of the text if no hyphen is applied and the long 'word' is broken over a line end.  (The HTML spec makes no mention of hyphenation, of course.)

If you wanted wbr to split things like URLs so that they can break across a line, but not with hyphenation, you could style the text to have hyphens:none.

I'm not strongly oppositing the decision at the moment, but i'd like to create a better understanding of whether there really is a difference between the way wbr works here.  Either way, it should probably be documented in one spec or another.

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


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

Received on Tuesday, 12 September 2023 08:22:36 UTC