| 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 Rendering | Assignee: | 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: | |||
Created attachment 391466 [details]
Minimal working example
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. |
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>