line-break:strict does not work for ja without lang
Reported by
zhengxu7...@gmail.com,
Jan 5
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:64.0) Gecko/20100101 Firefox/64.0 Example URL: Steps to reproduce the problem: 1. load attached html 2. confirm if small 'ゃ' is displayed at top of second line What is the expected behavior? Line-break should happen between 'キン' and 'ち' (Please refer to safari.png) What went wrong? From https://drafts.csswg.org/css-text-3/#line-break-property I think chromium should apply strict for Japanese then 'ゃ' should not come to top of next line so that attached line-break-no-lang.html should be displayed same as line-break-lang-en.html and line-break-lang-ja.html. From attached line-break-lang-en.html and line-break-lang-ja.html we can see chromium are able to detect strict rule base on typography instead of relying on lang in html element. However, when html missed lang then currently chromium seems could not handle line-break:strict correctly for ja. Does it occur on multiple sites: N/A Is it a problem with a plugin? No Did this work before? N/A Does this work in other browsers? Yes Chrome version: 71.0.3578.98 (Official Build) (64-bit) Channel: stable OS Version: OS X 10.13 Flash Version:
,
Jan 5
,
Jan 7
Able to reproduce the issue on chrome reported version# 71.0.3578.98 and on latest chrome# 73.0.3663.0 with '.html' file provided in comment# 0 using Mac 10.14.1, Windows-10 and Ubuntu 17.10. As this issue is seen from M-60(60.0.3112.0), hence considering this as Non-Regression and marking it as Untriaged.
,
Jan 7
Thanks for confirming.
,
Jan 10
,
Jan 15
I believe both WebKit and Blink requires lang set properly. When omitted, though, maybe WebKit takes it from the system, while Blink assumes no lang. Is the system you tested have Japanese as system/ui language?
,
Jan 19
(4 days ago)
Sorry for late. Yes the system I used was set to Japanese. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by z...@kobo.com
, Jan 55.0 KB
5.0 KB View Download