Skip to content

Commit 5af5799

Browse files
committed
[selectors-4] Restore text about :lang(*) matching that was accidentally removed by #4212. Fixes #6915.
1 parent 2ebb0a1 commit 5af5799

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

selectors-4/Overview.bs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2053,6 +2053,9 @@ The Language Pseudo-class: '':lang()''
20532053
The language range does not need to be a valid language code to
20542054
perform this comparison.
20552055

2056+
For this purpose, a wildcard [=language range=] ("*")
2057+
does not match elements whose language is not tagged (e.g. lang=""),
2058+
but does match elements whose language is tagged as undetermined (lang=und).
20562059
A [=language range=] consisting of an empty string
20572060
('':lang("")'')
20582061
matches (only) elements whose language is not tagged.

0 commit comments

Comments
 (0)