[whatwg/dom] Define XPath's lang() as ASCII case-insensitive (Issue #1199)

In https://bugs.webkit.org/show_bug.cgi?id=256716 I was made aware of https://wpt.fyi/results/domxpath/fn-lang.html (added in https://github.com/web-platform-tests/wpt/commit/292d5325052fc889163708143ceaeac557957ed9) where apparently Chromium and Gecko follow the XPath 3.1 definition of `lang()` matching which is not in line with how the web platform matches languages.

I think it would be better if we define this to be ASCII case-insensitive instead.

cc @tkent-google @petervanderbeken

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1199
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1199@github.com>

Received on Monday, 15 May 2023 09:25:01 UTC