New issue
Advanced search Search tips

Issue 753671 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 627682



Sign in to add a comment

Language matching for quotes is not interoperable

Project Member Reported by tkent@chromium.org, Aug 9 2017

Issue description

Chrome Version: 62 canary
OS: All but iOS

What steps will reproduce the problem?
(1) Open the following URL:
    data:text/html;charset=utf-8,<div lang=ja style="font-size:50px;"><q>text</q><q lang="ko">text</q><q lang="&%23x212A;o">text</q></div>

What is the expected result?
The quotes for the first "text" and the third "text" should be identical.

What happens instead?
The quotes for the second "text" and the third "text" are identical.

Please use labels and text to provide additional information.
Firefox and Safari work expectedly.

DeprecatedLower() in QuotesDataForLanguage() should be LowerASCII().


 

Comment 1 by tkent@chromium.org, Aug 9 2017

The code is a native implementation of :root:lang(foo) which should be in the UA stylesheet. So the matching rule should match to CSS lang selector.

https://drafts.csswg.org/selectors-4/#lang-pseudo
> The matching is performed case-insensitively within the ASCII range.

Comment 2 by e...@chromium.org, Aug 9 2017

Owner: kojii@chromium.org
Status: Assigned (was: Untriaged)

Sign in to add a comment