[Webkit-unassigned] [Bug 266474] New: :has(+ :popover-open) has a delay in applying

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 15 05:57:49 PST 2023


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

            Bug ID: 266474
           Summary: :has(+ :popover-open) has a delay in applying
           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: jeroen.zwartepoorte at gmail.com

button:has(+ :popover-open) sl-icon {
  transform: rotateX(180deg);
}

The behavior I get in Safari 17.2 is that there is a delay in when this rule is being applied. If I click the button (which has a popovertarget attribute), the icon doesn't rotate until I hover the mouse over the popover.

I've seen quite a few WebKit bug fixes related to :has being specifically invalidated with certain selectors. My guess this is another such issue?

-- 
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/20231215/2a13602a/attachment.htm>


More information about the webkit-unassigned mailing list