Bug 285694

Summary: Ruby-position:inter-character doesn't support Bopomofo correctly
Product: WebKit Reporter: r12a <ishida>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Major CC: fantasai.bugs, ishida, karlcow, vitor.roriz, webkit-bug-importer, zalan
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari 18   
Hardware: Mac (Apple Silicon)   
OS: macOS 14   
Attachments:
Description Flags
rendering in safari, firefox, chrome
none
rendering in safari, firefox, chrome none

r12a
Reported 2025-01-09 09:39:20 PST
The Safari 18.2 release page says that Safari now supports ruby-position:inter-character, but this is incorrect. It places annotations vertically alongside each Han base character, but doesn't correctly place appropriate tone marks in a separate (thinner) vertical column with the standard vertical placement that depends on the number of bopomofo letters used. It also leaves a large gap between the neutral tone mark (dot) and the following letter. The example used to show how inter-character is supported is in Japanese. Japanese doesn't use this vertical approach for character-by-character annotations. The CSS spec indicates that the inter-character value is for use specifically with bopomofo/zhuyin fuhao annotations (usually used for Traditional Chinese in Taiwan). As it currently stands, the announcement is both incorrect and misleading. Please add the additional features needed and change the example in the announcement. The W3C is tracking this issue at https://www.w3.org/TR/clreq-gap/#issue241_inline_notes. See also https://www.w3.org/TR/hani-lreq/#inline_notes for explanations of requirements, relevant github discussions, etc.
Attachments
rendering in safari, firefox, chrome (1.76 MB, image/png)
2025-02-02 22:09 PST, Karl Dubost
no flags
rendering in safari, firefox, chrome (1.44 MB, image/png)
2025-02-02 23:48 PST, Karl Dubost
no flags
Radar WebKit Bug Importer
Comment 1 2025-01-16 09:40:14 PST
Karl Dubost
Comment 2 2025-02-02 22:09:58 PST
Created attachment 474114 [details] rendering in safari, firefox, chrome Thanks Richard for the bug report.
r12a
Comment 4 2025-02-02 22:47:48 PST
The set of tests pointed to above are more relevant for checking emphasis than for inter-character ruby. A perhaps more useful set of tests can be found by following the link in the initial comment to the gap analysis report and looking for the test subsection. Those include: https://www.w3.org/International/i18n-tests/run?base=css-ruby&batch=css-ruby&test=rubypos/ruby-position-intercharacter-001.html https://www.w3.org/International/i18n-tests/run?base=css-ruby&batch=css-ruby&test=rubypos/ruby-position-intercharacter-002.html https://www.w3.org/International/i18n-tests/run?base=css-ruby&batch=css-ruby&test=rubypos/ruby-position-intercharacter-003.html hth
Karl Dubost
Comment 5 2025-02-02 23:48:27 PST
Created attachment 474116 [details] rendering in safari, firefox, chrome Great. This first one passes in Chrome and Firefox but fails in Safari. https://www.w3.org/International/i18n-tests/run?base=css-ruby&batch=css-ruby&test=rubypos/ruby-position-intercharacter-001.html
r12a
Comment 6 2025-02-02 23:55:12 PST
I think you mean that it fails in Chrome & Firefox, but passes in Safari. But note that that first test is for the rare situation when there are no tone marks. The other two tests cover the normal inter-character scenarios.
Note You need to log in before you can comment on or make changes to this bug.