[Webkit-unassigned] [Bug 271748] New: Avoid tree traversal in FrameSelection::nodeWillBeRemoved in most cases

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 27 00:14:48 PDT 2024


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

            Bug ID: 271748
           Summary: Avoid tree traversal in
                    FrameSelection::nodeWillBeRemoved in most cases
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rniwa at webkit.org

In most cases, node being removed doesn't contain a selection start/end/base/extent/focus/anchor.
Avoid O(n) tree walk in those cases.

-- 
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/20240327/bb58c1e9/attachment.htm>


More information about the webkit-unassigned mailing list