Re: [csswg-drafts] [css-text] Providing alternative breaking behaviours for Ethiopic (#4765)

Thanks @frivoal.  The 'around punctuation' text is a little vague for me.  Note also that none of the major browser engines does what you'd expect here.  Try changing the width of the bounding box in [this test](https://w3c.github.io/i18n-tests/exploratory/line_breaking/int-line-break?lang=am&fontSize=36&width=715&lineBreak=auto&wordBreak=break-all&text=%E1%8A%A5%E1%8B%AB%E1%8A%95%E1%8B%B3%E1%8A%95%E1%8B%B1%E1%8D%A1%E1%88%B0%E1%8B%8D%E1%8D%A1%E1%8A%A8%E1%88%9B%E1%8A%95%E1%8A%9B%E1%8B%8D%E1%88%9D%E1%8D%A1%E1%8A%A0%E1%8C%88%E1%88%AD%E1%8D%A1%E1%88%86%E1%8A%90%E1%8D%A1%E1%8A%A8%E1%88%AB%E1%88%B1%E1%8D%A1). You'll see that the wordspace wraps to the next line alone.  It shouldn't do that, and note in particular that _none of them_  wrap the wordspace to the next line by default (try [this test](https://w3c.github.io/i18n-tests/exploratory/line_breaking/int-line-break?lang=am&fontSize=36&width=715&lineBreak=auto&wordBreak=normal&text=%E1%8A%A5%E1%8B%AB%E1%8A%95%E1%8B%B3%E1%8A%95%E1%8B%B1%E1%8D%A1%E1%88%B0%E1%8B%8D%E1%8D%A1%E1%8A%A8%E1%88%9B%E1%8A%95%E1%8A%9B%E1%8B%8D%E1%88%9D%E1%8D%A1%E1%8A%A0%E1%8C%88%E1%88%AD%E1%8D%A1%E1%88%86%E1%8A%90%E1%8D%A1%E1%8A%A8%E1%88%AB%E1%88%B1%E1%8D%A1)), so i'm assuming that the browser implementers all misunderstood the point here too, since they made a change that does the wrong thing.

Here's some suggested text (inline markup showing here, but just for C&P convenience):

As a final example, in modern use of the Ethiopic script words are surrounded by spaces and usually wrap, unbroken, to the next line. Sometimes, however, Ethiopic may be written with `<span class="codepoint" translate="no"><span lang="am">&#x1361;</span> [<span class="uname">U+1361 ETHIOPIC WORDSPACE</span>]</span>` rather than a space, and split words while wrapping, with no hyphenation. `word-break: break-all` can be used for this. Note that applying `word-break:break-all` doesn't affect the Ethiopic rules for punctuation, which require that there is no line-break opportunity before an Ethiopic wordspace.

I can provide a screen shot of some Amharic text, if you like.

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

Received on Tuesday, 11 February 2020 13:02:54 UTC