[csswg-drafts] [selectors-4] `:lang` example needs refinement (#13644)

aphillips has just created a new issue for https://github.com/w3c/csswg-drafts:

== [selectors-4] `:lang` example needs refinement ==
Selectors Overview
https://www.w3.org/TR/2026/WD-selectors-4-20260122/#overview

> | `E:lang(zh, "*-hant")` | an element of type E tagged as being either in Chinese (any dialect or writing system) or otherwise written with traditional Chinese characters | ยง 7.2 The Language Pseudo-class: :lang() | 2/4 |

This example uses the ranges `zh` and `*-hant`. Tagging Chinese languages is more complex than most other languages. The purpose of this illustration is to show the `:lang` selector as an example. It would probably be better to use an example that doesn't involve this complexity. 

Perhaps use a combination such as `en` and `*-CA` instead:

> an element of type E tagged with a language tag for English (`en`) or any language tag with the region Canada (`*-CA`)


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13644 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:53:18 UTC