[Webkit-unassigned] [Bug 114937] New: Avoid walking up the tree in RenderBoxModelObject::setSelectionState

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 22 00:11:17 PDT 2013


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

           Summary: Avoid walking up the tree in
                    RenderBoxModelObject::setSelectionState
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: hyatt at apple.com, simon.fraser at apple.com,
                    enrica at apple.com
            Blocks: 113478


Right now, RenderBoxModelObject::setSelectionState walks up the tree in order to set the selection states on its ancestors.

However, this is a very redundant operation since many render objects upon which setSelectionState is called share the same containing blocks.

Furthermore, there is no need to walk through the tree to look for newly selected objects the second time after updating selection states.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list