Re: [csswg-drafts] [css-text] Line breaking for ambiguous characters; e.g., U+2010, U+2013 (#4419)

The CSS Working Group just discussed `[css-text] Line breaking for ambiguous characters; e.g., U+2010, U+2013`, and agreed to the following:

* `RESOLVED: Adopt the suggestion in https://github.com/w3c/csswg-drafts/issues/4419#issuecomment-577700150`
* `RESOLVED: Disallow before hyphen in normal and strict. Allow break between ID and hyphen in loose. This means Kanji+Hyphen breaks; and Alphabetic+Hyphen doesn't break, unless word-break: break-all makes Alphabetic behave like ID.`

<details><summary>The full IRC log of that discussion</summary>
&lt;Rossen__> Topic: [css-text] Line breaking for ambiguous characters; e.g., U+2010, U+2013<br>
&lt;Rossen__> github: https://github.com/w3c/csswg-drafts/issues/4419<br>
&lt;fantasai> ScribeNick: fantasai<br>
&lt;fantasai> ScribeNick: emilio<br>
&lt;emilio> koji: the current CSS spec says that if the language is japanese and line-break: normal there should be a break opportunity before 2010 and 2013<br>
&lt;emilio> ... it can break strangely for english words within japanese text<br>
&lt;emilio> ... gecko fixed it by not breaking if the previous character is a latin character<br>
&lt;emilio> ... but I want to fix this in the spec<br>
&lt;emilio> ... and make sure all browsers agree<br>
&lt;emilio> fantasai: we got together yesterday and concluded in all langs you want to disallow breaks before hyphens in normal breaking mode but japanese wants to allow it in loose mode<br>
&lt;fantasai> https://github.com/w3c/csswg-drafts/issues/4419#issuecomment-577700150<br>
&lt;emilio> ... so word-break break-all would allow between the latin letter and the hyphen<br>
&lt;Rossen__> q?<br>
&lt;emilio> ... so that's the solution outlined in the last comment (above)<br>
&lt;emilio> myles: are we going to contact ICU<br>
&lt;emilio> koji: if we agree I'll do<br>
&lt;emilio> florian: I support this<br>
&lt;myles> s/ICU/ICU and CLDR?<br>
&lt;myles> s/ICU/ICU and CLDR?/<br>
&lt;emilio> Rossen__: objections?<br>
&lt;emilio> RESOLVED: Adopt the suggestion in https://github.com/w3c/csswg-drafts/issues/4419#issuecomment-577700150<br>
&lt;emilio> RESOLVED: Disallow before hyphen in normal and strict. Allow break between ID and hyphen in loose. This means Kanji+Hyphen breaks; and Alphabetic+Hyphen doesn't break, unless word-break: break-all makes Alphabetic behave like ID.<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4419#issuecomment-578075879 using your GitHub account

Received on Friday, 24 January 2020 10:32:43 UTC