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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 10 01:10:14 PDT 2023


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

Cameron McCormack (:heycam) <heycam at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |heycam at apple.com

--- Comment #1 from Cameron McCormack (:heycam) <heycam at apple.com> ---
I think we'd either need to extend the "invalidate a lot" patch I have in https://bugs.webkit.org/show_bug.cgi?id=253944 to handle such selectors, or (and this is probably better) we need to store :has(+) and :has(~) rules separately on RuleFeature / StyleScopeRuleSet, then look at the style relation bits that we set on elements to determine whether we need to invalidate those rules on some or all of the siblings of the inserted or removed element.

-- 
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/20230910/764cacb6/attachment.htm>


More information about the webkit-unassigned mailing list