[Webkit-unassigned] [Bug 39380] New: Slow vertical scrolling when text is selected in nested divs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 19 14:26:35 PDT 2010


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

           Summary: Slow vertical scrolling when text is selected in
                    nested divs
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: nathan.whetsell at gmail.com


Created an attachment (id=56520)
 --> (https://bugs.webkit.org/attachment.cgi?id=56520)
100 div pairs in a div floated left

On OS X 10.6, selecting all the text in a webpage consisting of several (100 in the attached test documents) of these:

<div>
  <div class="float-left">
      [some text]
  </div>
</div>

produces sluggish vertical scrolling. (The "float-left" class is used to define a style for floating a div left: div.float-left{float:left;}).

If these snippets are enclosed in a div that is itself floated left (or right), both upward and downward scrolling are sluggish. If the snippets are enclosed in a div without a float style (or no div at all), only upward scrolling is sluggish. If no text is selected, scrolling is fast and smooth.

The sluggishness only occurs when text is inside a pair of divs; removing the outer div results in fast scrolling. Also, the inner div must be the one that's floated. If the outer div is floated, vertical scrolling while text is selected is fast.

Sluggish scrolling also occurs in Google Chrome. Firefox scrolls smoothly.

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