- From: Addison Phillips via GitHub <noreply@w3.org>
- Date: Thu, 12 Mar 2026 16:56:03 +0000
- To: public-css-archive@w3.org
aphillips has just created a new issue for https://github.com/w3c/csswg-drafts:
== [selectors-4] `language-range` is missing its definition ==
7.2. The Language Pseudo-class: [:lang()](https://www.w3.org/TR/2026/WD-selectors-4-20260122/#lang-pseudo)
https://www.w3.org/TR/2026/WD-selectors-4-20260122/#language-range
> Each **language range** in [:lang()](https://www.w3.org/TR/2026/WD-selectors-4-20260122/#lang-pseudo) must be a valid CSS [<ident>](https://www.w3.org/TR/css-values-4/#typedef-ident) or [<string>](https://www.w3.org/TR/css-values-4/#string-value). (Thus language ranges containing asterisks, for example, must be either correctly escaped or quoted as strings, e.g. :lang(\*-Latn) or :lang("*-Latn").)
The `<dfn>` for "language range" has no definition and really it should provide one. Either it should be linked to the one in I18N Glossary ([here](https://www.w3.org/TR/i18n-glossary/#dfn-language-range)), to the definition of an _extended language range_ in BCP47 (in the RFC4647 part), or it should provide one locally.
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13646 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 12 March 2026 16:56:03 UTC