[csswg-drafts] Issue: [css-text-3] Segment Break Transformation Rules for East Asian Width property of A marked as i18n

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[csswg-drafts] Issue: [css-text-3] Segment Break Transformation Rules for East Asian Width property of A marked as i18n

r12a via GitHub
r12a has just labeled an issue for https://github.com/w3c/csswg-drafts
 as "i18n":

== [css-text-3]  Segment Break Transformation Rules for East Asian
Width property of A ==
https://drafts.csswg.org/css-text-3/#line-break-transform
> Otherwise, if the East Asian Width property [UAX11] of both the
character before and after the line feed is F, W, or H (not A), and
neither side is Hangul, then the segment break is removed.

As this rule, common use cases of quotation marks in Chinese
```
简体中文的
“引号”
两边不应该有空格。
```
will have unexpected spaces, because quotation marks are *A*.

Ideally, we should consider the language information of the context.
If the context is East Asian language, *A* should be treat as *W*.
Even in the unknown language context, if any side of the line feed is
*A* and other side is *F*, *W* or *H*, the segment break should also
be removed.



See https://github.com/w3c/csswg-drafts/issues/337