[Webkit-unassigned] [Bug 261366] New: Elements with :has(+ sibling) selectors do not update when their siblings change

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 8 19:56:02 PDT 2023


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

            Bug ID: 261366
           Summary: Elements with :has(+ sibling) selectors do not update
                    when their siblings change
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Mac (Intel)
                OS: macOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tlf at thislooks.fun

Created attachment 467614

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

Simple test case

When styling an element using a :has(+ sibling) or :has(~ sibling) selector, adding/removing siblings of the element doesn't invalidate the styles. I originally found and reported this issue in Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1851356.

-- 
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/20230909/f790f1cc/attachment-0001.htm>


More information about the webkit-unassigned mailing list