[Webkit-unassigned] [Bug 261315] New: invalidate :has() with nested positional pseudo-class selectors using new MatchElement/IsNegation values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 7 21:53:52 PDT 2023


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

            Bug ID: 261315
           Summary: invalidate :has() with nested positional pseudo-class
                    selectors using new MatchElement/IsNegation values
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: heycam at apple.com

In https://bugs.webkit.org/show_bug.cgi?id=253943 I fixed invalidation issues with :has() selectors that have nested positional pseudo-class selectors (like :nth-child() and :first-child), by using style relation bits. A better solution suggested by Antti on the PR might be to generate new MatchElement/IsNegation values to represent the fact that class name changes need to be checked in both the "before change" and "after change" cases, and to look at the siblings of the element too.

-- 
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/20230908/3bff204e/attachment-0001.htm>


More information about the webkit-unassigned mailing list