W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2018

Re: [csswg-drafts] Prevent line break after hyphen preceded by space (#3463)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Sat, 29 Dec 2018 21:13:11 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-450520488-1546117990-sysbot+gh@w3.org>
https://www.w3.org/TR/css-text-3/#line-break-details
> UAs that allow wrapping at punctuation other than spaces should prioritize breakpoints. (For example, if breaks after slashes are given a lower priority than spaces, the sequence "check /etc" will never break between the "/" and the "e".) As long as care is taken to avoid such awkward breaks, allowing breaks at appropriate punctuation other than spaces is recommended, as it results in more even-looking margins, particularly in narrow measures. The UA may use the width of the containing block, the text’s language, and other factors in assigning priorities: CSS does not define prioritization of line breaking opportunities. 

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3463#issuecomment-450520488 using your GitHub account
Received on Saturday, 29 December 2018 21:13:12 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:41 UTC