[Webkit-unassigned] [Bug 234842] New: [:has() pseudo-class] Stop doing accurate style invalidation for repeated DOM mutations if it becomes expensive

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 4 07:27:50 PST 2022


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

            Bug ID: 234842
           Summary: [:has() pseudo-class] Stop doing accurate style
                    invalidation for repeated DOM mutations if it becomes
                    expensive
           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: koivisto at iki.fi

Even without :has() it is possible to have cases where the cost of doing accurate style invalidation exceeds the benefits. With :has() these cases become easier to hit. Add a backdown mechanism where we detect this and switch to eager invalidation.

-- 
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/20220104/f5570704/attachment.htm>


More information about the webkit-unassigned mailing list