00:00
<emilio>
annevk: Luke Warlow: I think Firefox is right? https://drafts.csswg.org/selectors/#lang-pseudo works in terms of somewhat strict language comparisons
00:03
<Luke Warlow>

Interestingly if you try el.matches(":lang(\31test)") it throws in all 3 engines. I'm not sure if that's expected to work or not?

If that should match the CSS behaviour than as you say it seems Firefox is right and the other two miss this validation when actually matching?

Though that seems to also fail for :lang("") which should be valid?

00:06
<emilio>
Luke Warlow: you need double-escape for JS
00:06
<emilio>
document.body.matches(":lang(\\31test)")
00:07
<emilio>
And :lang('') works here
00:07
<emilio>
But not sure?
09:06
<Meghan Denny>
spam https://github.com/whatwg/html/issues/10653
10:59
<Kaiido>
Closed for now, but would be good if someone with more authority could deal with this better.
12:32
<annevk>
Meghan Denny: thanks for reporting. I'd be happy to give you triage access so you can label these invalid going forward and close them. If you're interested I'd need your GitHub ID. You can also DM keithamus who will route it internally at GitHub.
12:33
<annevk>
emilio: I was reading "extended filtering" yesterday and I didn't spot it doing any validation of the language tag
15:22
<keithamus>
Thanks annevk, Meghan Denny I’ll look into this from the GitHub side.
16:24
<emilio>
annevk: I pinged jfkthame, it's probably not clear, the spec says to use BCP comparison and that tag is ill-formed because it starts with a number
16:27
<jfkthame>
There was some related discussion a while back in https://bugzilla.mozilla.org/show_bug.cgi?id=1857742, fwiw
16:44
<Lea Verou>
Panos Astithas: Thanks for adding the computedLang issue to the agenda! I’ll be at the CSS WG meeting most of the day but can nip out for this issue. Do you have a sense of what time it would be?
16:47
<Panos Astithas>
I'm not really sure and I unfortunately can't be at that session myself. I will say that the previous discussions on the other topic have usually taken up a lot of time, so I would expect we won't be done with that for at least 30 minutes.
16:50
<Lea Verou>
I see, thanks!
17:06
<Panos Astithas>
np!
18:12
<annevk>
It references a particular algorithm though and as far as I can tell that doesn't do any validation. Just some string operations. Anyway, if it caused confusion it should be clarified of course.
18:13
<annevk>
Ooh, safe travels Panos and thanks for everything if you're leaving early!
18:33
<Panos Astithas>
I am, but I will be at the WebPerf session though!
20:30
<jfkthame>
The thing is, the algorithms in RFC4647 "Matching of Language Tags" are not simply "some string operations", they're defined in terms of language tags and subtags (see RFC4646) and language ranges (defined in RFC4647 sections 2.1 and 2.2), and those have specific syntax that (among other things) cannot begin with a digit. Given an arbitrary string that does not match the syntax of a language range, the application has no basis for applying any part of the matching or filtering algorithms.
20:59
<Panos Astithas>
Agenda for the next session: https://github.com/whatwg/meta/issues/326
21:00
<Panos Astithas>
Minutes: https://docs.google.com/document/d/1_NLRCWYfYenAYPVP_PyQD6klqxU4jNZJm9FM1XRSlAU/edit
21:03
<Yoav Weiss>
https://app.zoom.us/wc/7639586116/join?fromPWA=1&_x_zm_rtaid=d51ohbWzQH62UsUtRUhiOg.1727470661369.bb0659cc6a1426c6b88c9ef225a26c8e&_x_zm_rhtaid=424&pwd=z7X966jmiNFmz4Tel5DPt1hnvlKvkk.1
21:26
<Meghan Denny>
annevk: sure! im @nektro on github
22:24
<annevk>
jfkthame: interesting, that's not quite how I read it, but I didn't read through the full document. I guess this has test coverage somewhere?
23:31
<smaug>
Panos Astithas: is the meeting happening?
23:32
<smaug>
ok, nm 🙂
23:40
<annevk>
smaug: you dropped out, what did you want to say about eai email?
23:40
<smaug>
annevk: zoom says the meeting room has network issues
23:40
<annevk>
We're still connected to Addison
23:41
<smaug>
oh, sure, but it was cutting also here. I heard addison all the time
23:42
<annevk>
Oh weird. :-(
23:48
<smaug>
I wonder how to have lots of translations of "Submit" shipped