[Webkit-unassigned] [Bug 212341] New: open-quote / close-quote content doesn’t fallback to language when region not understood

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 25 02:04:05 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=212341

            Bug ID: 212341
           Summary: open-quote / close-quote content doesn’t fallback to
                    language when region not understood
           Product: WebKit
           Version: Safari 13
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: robin at reala.net

Created attachment 400187

  --> https://bugs.webkit.org/attachment.cgi?id=400187&action=review

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200525/3be638e7/attachment.htm>


More information about the webkit-unassigned mailing list