NEW 278469
`ruby` test case is not working similar to other web browsers
https://bugs.webkit.org/show_bug.cgi?id=278469
Summary `ruby` test case is not working similar to other web browsers
Ahmad Saleem
Reported 2024-08-21 10:18:52 PDT
Created attachment 472257 [details] WebKit ToT (282561@main) vs Other browsers Hi Team, While going through Webcompat bugs, I noticed a test where our current behavior is not aligned with other browsers. Test Case: data:text/html,<!doctype html><title>ruby</title><meta charset='utf-8'><p>%E5%90%8D%E5%89%8D%E3%81%AE%E3%81%AA%E3%81%84<ruby style="display:inline">%E4%BA%8B%E4%BB%B6<rt>%EF%BE%94%EF%BE%8F</rt></ruby></p> ^ Thanks to @Karl for test case. :-) WebKit ToT behaves same as Safari 18 Beta Web Compat Link - https://webcompat.com/issues/96604 In past, we were matching with Firefox but now it seems both Firefox and Chrome are matching, while we are outlier. Just raising so we can track and eventually fix it. Thanks!
Attachments
WebKit ToT (282561@main) vs Other browsers (250.28 KB, image/png)
2024-08-21 10:18 PDT, Ahmad Saleem
no flags
Radar WebKit Bug Importer
Comment 1 2024-08-21 22:29:51 PDT
Karl Dubost
Comment 2 2024-08-21 22:34:20 PDT
This is also a real webcompat issue. https://www.ghibli.jp/shuppan/np/013521/
zalan
Comment 3 2024-08-27 16:41:30 PDT
This makes <ruby> not ruby anymore.
Karl Dubost
Comment 4 2024-08-27 17:52:21 PDT
The code right now on the site is ``` <dd> シャーロック・ホームズ全事件(いしいひさいち)<br> 名前のない<ruby>事件<rt>ヤマ</rt></ruby>~CASE WITH NO NAME~</dd> ``` The code for testing: data:text/html,<!doctype html><title>ruby</title><meta charset='utf-8'><p>名前のない<ruby style="display:inline">事件<rt>ヤマ</rt></ruby></p> On Safari, the characters ヤマ disappear On Chrome and Firefox, they are put after 事件 Without display: inline, the normal ruby layout is on all browsers, aka ヤ マ 事件
Note You need to log in before you can comment on or make changes to this bug.