WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
260857
Line break between Chinese/Japanese letters SHOULD be removed instead of replaced with a space
https://bugs.webkit.org/show_bug.cgi?id=260857
Summary
Line break between Chinese/Japanese letters SHOULD be removed instead of repl...
Tatsunori Uchino
Reported
2023-08-29 06:45:04 PDT
Created
attachment 467479
[details]
iOS Safari 15 preview of
https://codepen.io/tats-u/pen/YzdKKyN
Firefox (OK):
https://bugzilla.mozilla.org/show_bug.cgi?id=450088
Chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=1473297
## What steps will reproduce the problem? (1) See
http://wyw.dcweb.cn/ff3_lb.html
(referenced from the Firefox issue page) or
https://codepen.io/tats-u/pen/YzdKKyN
## What is the expected result? No extra spaces between Chinese / Japanese letters ## What happens instead? Extra spaces are inserted into Chinese or Japanese sentences ## Please provide any additional information below. Attach a screenshot if possible. In Firefox, - Newline between Chinese/Japanese and western/number/Korean => space - Chinese/Japanese include CJK punctuation marks (e.g. 。、.,「」())
https://codepen.io/tats-u/pen/poQQVyR
CSS Text Module Level 4 (exists since Level 3):
https://drafts.csswg.org/css-text-4/#line-break-transform
See the EXAMPLE 19.
Attachments
iOS Safari 15 preview of https://codepen.io/tats-u/pen/YzdKKyN
(49.86 KB, image/png)
2023-08-29 06:45 PDT
,
Tatsunori Uchino
no flags
Details
Windows Playwright WebKit 1811 http://wyw.dcweb.cn/ff3_lb.html
(30.56 KB, image/png)
2023-08-29 07:19 PDT
,
Tatsunori Uchino
no flags
Details
Firefox preview of https://codepen.io/tats-u/pen/YzdKKyN
(5.74 KB, image/png)
2023-08-29 07:21 PDT
,
Tatsunori Uchino
no flags
Details
Firefox preview of http://wyw.dcweb.cn/ff3_lb.html
(73.68 KB, image/png)
2023-08-29 07:24 PDT
,
Tatsunori Uchino
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Tatsunori Uchino
Comment 1
2023-08-29 07:19:19 PDT
Created
attachment 467480
[details]
Windows Playwright WebKit 1811
http://wyw.dcweb.cn/ff3_lb.html
Tatsunori Uchino
Comment 2
2023-08-29 07:21:54 PDT
Created
attachment 467482
[details]
Firefox preview of
https://codepen.io/tats-u/pen/YzdKKyN
No space inserted
Tatsunori Uchino
Comment 3
2023-08-29 07:24:47 PDT
Created
attachment 467483
[details]
Firefox preview of
http://wyw.dcweb.cn/ff3_lb.html
Fujii Hironori
Comment 4
2023-08-29 14:50:52 PDT
There are some tests in wpt/css/css-text/line-breaking.
https://wpt.fyi/results/css/css-text/line-breaking?label=experimental&label=master&aligned
Radar WebKit Bug Importer
Comment 5
2023-09-05 06:46:14 PDT
<
rdar://problem/114978896
>
Tatsunori Uchino
Comment 6
2023-09-08 23:47:44 PDT
The test cases beginning with segment-break-transformation- are related.
Tatsunori Uchino
Comment 7
2023-09-23 22:16:07 PDT
We have only to consider test cases starting with segment-break-transformation-rules-:
https://wpt.fyi/results/css/css-text/line-breaking?label=master&label=experimental&aligned&q=segment-break-transformation-rules
-
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug