[Webkit-unassigned] [Bug 234556] New: [:has() pseudo-class] Support for interactive pseudo-classes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 21 03:18:44 PST 2021


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

            Bug ID: 234556
           Summary: [:has() pseudo-class] Support for interactive
                    pseudo-classes
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
               URL: https://codepen.io/leaverou/pen/KKXvqjG?editors=1100
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lea at w3.org
                CC: koivisto at iki.fi

:has() does not seem to match when the argument is an interactive pseudo-class (:focus, :checked, :target). 
I’m not sure it's an invalidation issue, because it doesn't apply even when the pseudo-class applies on startup (e.g. a pre-checked checkbox).

Testcase: https://codepen.io/leaverou/pen/KKXvqjG?editors=1100

(Huge thanks to everyone who made :has() happen — what an exciting time!)

-- 
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/20211221/e7996075/attachment.htm>


More information about the webkit-unassigned mailing list