[Webkit-unassigned] [Bug 145357] New: :matches incorrectly matches pseudo elements
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun May 24 02:28:14 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=145357
Bug ID: 145357
Summary: :matches incorrectly matches pseudo elements
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: esprehn at chromium.org
http://dev.w3.org/csswg/selectors-4/#matches
The spec says:
"Pseudo-elements cannot be represented by the matches-any pseudo-class; they are not valid within :matches()."
<style>
div:matches(::before, ::after) {
content: "Should not match.";
}
</style>
<div></div>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150524/2cca70d4/attachment.html>
More information about the webkit-unassigned
mailing list