Skip to content

Commit 1ed57ea

Browse files
committed
[selectors-4] Better description of :lang() psuedo class selector w3c#3022.
Also update changes.
1 parent d554423 commit 1ed57ea

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

selectors-4/Overview.bs

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2636,10 +2636,13 @@ The Language Pseudo-class: '':lang()''</h3>
26362636
its <a>content language</a>, as represented in BCP 47 syntax,
26372637
matches the given <a>language range</a> in an <i>extended filtering</i>
26382638
operation per [[!RFC4647]] <cite>Matching of Language Tags</cite> (section 3.3.2).
2639-
Both the [=content language=] and the [=language range=]
2639+
The [=content language=] and the [=language range=]
26402640
must be <i>canonicalized</i>
26412641
and converted to <i>extlang form</i> as per section 4.5 of [[!RFC5646]]
2642-
prior to the <i>extended filtering</i> operation.
2642+
prior to the <i>extended filtering</i> operation;
2643+
language tags or ranges that are not
2644+
<a href="https://www.w3.org/TR/i18n-glossary/#dfn-valid">valid</a>
2645+
do not match anything.
26432646
The matching is performed [=ASCII case-insensitively=].
26442647

26452648
The <a>language range</a>
@@ -5181,7 +5184,15 @@ Changes since the 22 January 2026 Working Draft
51815184
(<a href="https://github.com/w3c/csswg-drafts/issues/8720">Issue 8720</a>)
51825185
* Reworded constraints on language ranges
51835186
(<a href="https://github.com/w3c/csswg-drafts/issues/8720">Issue 8720</a>)
5184-
<!-- to 27 May 2026 -->
5187+
* Clarified that :picture-in-picture applies to the embedder element, not the PiP display
5188+
(<a href="https://github.com/w3c/csswg-drafts/issues/13720">Issue 13720</a>)
5189+
* Renamed &lt;an+b> to &lt;a-n-plus-b>
5190+
(<a href="https://github.com/w3c/csswg-drafts/issues/9473">Issue 9473</a>)
5191+
* Added CanIUse panels
5192+
(<a href="https://github.com/w3c/csswg-drafts/issues/1193">Issue 1193</a>)
5193+
* Forbade non-valid tags/ranges from ever matching
5194+
(<a href="https://github.com/w3c/csswg-drafts/issues/3022#issuecomment-4568519381">Issue 3022</a>)
5195+
<!-- to 2 July 2026 -->
51855196

51865197
<h3 id="changes-2022-11">
51875198
Changes since the 11 November 2022 Working Draft</h3>

0 commit comments

Comments
 (0)