[Webkit-unassigned] [Bug 103802] New: Don't call repaintBlockSelectionGaps() after layout if there was never a selection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 30 20:46:37 PST 2012


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

           Summary: Don't call repaintBlockSelectionGaps() after layout if
                    there was never a selection
           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: simon.fraser at apple.com
                CC: rniwa at webkit.org


When scrolling a long page, we spend a small amount of time under FrameSelection::updateAppearance(), calling clearSelection() which runs through all layers calling RenderLayer::repaintBlockSelectionGaps(). This is just a waste of cycles if there never was a selection.

I was using a long review page with comments visible, on theverge.com

-- 
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