WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
212341
open-quote / close-quote content doesn’t fallback to language when region not understood
https://bugs.webkit.org/show_bug.cgi?id=212341
Summary
open-quote / close-quote content doesn’t fallback to language when region not...
Robin Whittleton
Reported
2020-05-25 02:04:05 PDT
Created
attachment 400187
[details]
Quote testcase Webkit attempts to provide automatic quote styles, based on quotesDataLanguageMap (
https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/rendering/RenderQuote.cpp?rev=125476#L55
/
https://html.spec.whatwg.org/multipage/rendering.html#quotes
). This works for the specific languages in the map, but fails when a language-region pair is found that isn’t in the map. For example (and see the testcase), if you have <q lang="de"> then correct German quotes will be applied, but if you have <q lang="de-AT"> then it just uses straight typographical quotes. <q lang="de-DE"> also fails. In the case of an unknown region, the quotes displayed should be based on the fallback root language. As I understand it, this is specified in the WhatWG spec by the sentence “The quotes are derived from the delimiter blocks, with fallback handled as specified in the CLDR documentation.”. This is also a problem in Chromium, but works as expected in Firefox.
Attachments
Quote testcase
(228 bytes, text/html)
2020-05-25 02:04 PDT
,
Robin Whittleton
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Robin Whittleton
Comment 1
2020-05-25 02:11:41 PDT
Chromium bug for the same issue:
https://bugs.chromium.org/p/chromium/issues/detail?id=1086115
Radar WebKit Bug Importer
Comment 2
2020-05-25 12:13:17 PDT
<
rdar://problem/63603756
>
Robin Whittleton
Comment 3
2020-06-10 23:53:06 PDT
Reported as fixed in Chrome, to appear in production in 85.
Ahmad Saleem
Comment 4
2023-07-27 04:58:02 PDT
Blink Commit:
https://chromium.googlesource.com/chromium/src.git/+/ef734f74199250e3a40e74884036485fc7fa35f0
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