File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1915,10 +1915,17 @@ The Language Pseudo-class: '':lang()''
1915
1915
when represented in BCP 47 syntax [[BCP47]] ,
1916
1916
it matches that
language range in an
extended filtering
1917
1917
operation per [[RFC4647]] Matching of Language Tags (section 3.3.2).
1918
+ For this purpose, a wildcard [=language range=] (
"*" ) does not match
1919
+ elements whose language is not tagged (e.g.
lang="" ),
1920
+ but does match elements whose language is tagged as undetermined (
lang=und ).
1918
1921
The matching is performed [=ASCII case-insensitively=] .
1919
1922
The
language range does not need to be a valid language code to
1920
1923
perform this comparison.
1921
1924
1925
+ A [=language range=] consisting of an empty string
1926
+ ('':lang("")'' )
1927
+ matches (only) elements whose language is not tagged.
1928
+
1922
1929
Note: It is recommended that documents and protocols
1923
1930
indicate language using codes from [[BCP47]] or its successor,
1924
1931
and in the case of XML-based formats, by means of
xml:lang attributes. [[XML10]]
You can’t perform that action at this time.
0 commit comments