Re: [csswg-drafts] [selectors-4] Clarify :lang() behavior when the language range is not a well-formed BCP 47 code (#8720)

@aphillips 

> (Note: The text you quoted would forbid the range `fr-x` from matching because `fr-x` is not a well-formed tag. This is an error in the text I suggested.)

Please correct that text, in this issue, so I can be sure to correct it in the way you have in mind.

> Upon reflection, I think this additional well-formedness/validity requirement text should go away.

Please quote, and then indicate the deletion, of the text that should go away.

> But the implications of the canonicalization step need to be spelled out.

Happy to add that but would prefer to see all the edits agreed in advance, so the issue can be fully resolved and closed.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8720#issuecomment-4336072289 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 28 April 2026 14:19:41 UTC