Bug 208093

Summary: AX: <q> tag with nested <ruby> fails to follow standards of quotation for lang attribute
Product: WebKit Reporter: Dan Leonard <daniel>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Trivial CC: ahmad.saleem792, bfulgham, mmaxfield, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari 13   
Hardware: All   
OS: All   
Attachments:
Description Flags
Comparison of WebKit and Gecko rendering of minimal working example in issue description
none
Minimal working example
none
WebKit ToT vs Chrome Canary 124 vs Firefox Nightly 125 none

Dan Leonard
Reported 2020-02-22 11:56:50 PST
Created attachment 391465 [details] Comparison of WebKit and Gecko rendering of minimal working example in issue description Using <ruby> tag within a <q> tag causes the <q> to render as straight quotes (") rather than honoring the lang attribute of the <q> tag, which would usually involve CJK quotes. Minimal working example: <p> This displays correct CJK quotes: <q lang="ja-Kana">あなた は ばか</q> <br /> This displays straight quotes: <q lang="ja-Kana"> <ruby> あなた<rp>(</rp><rt>anata</rt><rp>)</rp> は<rp>(</rp><rt>wa</rt><rp>)</rp> ばか<rp>(</rp><rt>baka</rt><rp>)</rp> </ruby> </q> </p>
Attachments
Comparison of WebKit and Gecko rendering of minimal working example in issue description (24.96 KB, image/png)
2020-02-22 11:56 PST, Dan Leonard
no flags
Minimal working example (210 bytes, application/xhtml+xml)
2020-02-22 12:01 PST, Dan Leonard
no flags
WebKit ToT vs Chrome Canary 124 vs Firefox Nightly 125 (278.63 KB, image/png)
2024-03-10 19:03 PDT, Ahmad Saleem
no flags
Dan Leonard
Comment 1 2020-02-22 12:01:01 PST
Created attachment 391466 [details] Minimal working example
Radar WebKit Bug Importer
Comment 2 2020-02-22 14:53:19 PST
Ahmad Saleem
Comment 3 2024-03-10 19:03:48 PDT
Created attachment 470280 [details] WebKit ToT vs Chrome Canary 124 vs Firefox Nightly 125 JSFiddle based on Comment 0 - https://jsfiddle.net/q572fm0p/show Safari / WebKit differs from other browsers.
Note You need to log in before you can comment on or make changes to this bug.