-
Notifications
You must be signed in to change notification settings - Fork 733
Closed
Labels
Testing UnnecessaryMemory aid - issue doesn't require testsMemory aid - issue doesn't require testsTracked in DoCcss-text-3Current WorkCurrent Worki18n-clreqChinese language enablementChinese language enablementi18n-jlreqJapanese language enablementJapanese language enablementi18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Description
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.
Metadata
Metadata
Assignees
Labels
Testing UnnecessaryMemory aid - issue doesn't require testsMemory aid - issue doesn't require testsTracked in DoCcss-text-3Current WorkCurrent Worki18n-clreqChinese language enablementChinese language enablementi18n-jlreqJapanese language enablementJapanese language enablementi18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.