7.2. The Language Pseudo-class: :lang()
https://www.w3.org/TR/2026/WD-selectors-4-20260122/#language-range
Each language range in :lang() must be a valid CSS or . (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), to the definition of an extended language range in BCP47 (in the RFC4647 part), or it should provide one locally.
7.2. The Language Pseudo-class: :lang()
https://www.w3.org/TR/2026/WD-selectors-4-20260122/#language-range
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), to the definition of an extended language range in BCP47 (in the RFC4647 part), or it should provide one locally.