Skip to content

Commit 082f9e5

Browse files
committed
[selectors-4] Sigh, document the ::-webkit-* parsing quirk. w3c#3051
1 parent 27e65a7 commit 082f9e5

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

selectors-4/Overview.bs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3788,6 +3788,21 @@ Appendix A: Guidance on Mapping Source Documents &amp; Data to an Element Tree</
37883788
</div>
37893789

37903790

3791+
<h2 id="compat">
3792+
Appendix B: Obsolete but Required Parsing Quirks for Web Compat</h2>
3793+
3794+
<em>This appendix is normative.</em>
3795+
3796+
Due to legacy Web-compat constraints,
3797+
User Agents expecting to parse Web documents must support the following features:
3798+
3799+
* All [=pseudo-classes=] and [=pseudo-elements=] whose name begins with the string “-webkit-”
3800+
(matched <a>ASCII case-insensitively</a>)
3801+
must be treated as valid at parse time.
3802+
If they're not otherwise recognized and supported,
3803+
they must be treated as matching nothing.
3804+
3805+
37913806
<h2 id="changes">
37923807
Changes</h2>
37933808

0 commit comments

Comments
 (0)