[Webkit-unassigned] [Bug 249990] New: Selector argument for :nth-of-type or :nth-last-of-type should be rejected
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jan 1 20:29:34 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=249990
Bug ID: 249990
Summary: Selector argument for :nth-of-type or
:nth-last-of-type should be rejected
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ntim at apple.com
Apparently :nth-of-type(n of S) parses and also has associated matching logic. Ditto for :nth-last-of-type().
https://github.com/web-platform-tests/wpt/blob/add22a2f6c1f9efcc1eccc66b3e9ea9e8045a4b5/css/selectors/nth-of-007.html
The spec says it should not be supported: https://w3c.github.io/csswg-drafts/selectors/#nth-of-type-pseudo
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230102/86f42c3d/attachment.htm>
More information about the webkit-unassigned
mailing list