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

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