[Webkit-unassigned] [Bug 181078] New: :matches() ignores complex selectors after the first one when matching for originating element of pseudo-element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 20 23:20:56 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=181078

            Bug ID: 181078
           Summary: :matches() ignores complex selectors after the first
                    one when matching for originating element of
                    pseudo-element
           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: xidorn-webkit at upsuper.org

Created attachment 330012

  --> https://bugs.webkit.org/attachment.cgi?id=330012&action=review

testcase

See the testcase. The square should be green, while it renders red.

Changing the ":matches(whatever, body #test)" to either ":matches(body #test)" or ":matches(whatever, #test)" makes the testcase works as expected.

-- 
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/20171221/156cc4d3/attachment-0001.html>


More information about the webkit-unassigned mailing list