[Webkit-unassigned] [Bug 26613] New: [Qt] Severe performance degradation when using "float:" CSS properties

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 22 11:01:25 PDT 2009


           Summary: [Qt] Severe performance degradation when using "float:"
                    CSS properties
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gcarvalho.pt at gmail.com

NOTE: I'm using Qt's main trunk version from their git repository (Not sure
what webkit version it is).

When I have over 100 DIV's, each with text and images, if a lot of the elements
within those DIV's are positioned by using "float", selecting text can take up
to 5 seconds. Removing the float property causes selection to be instantaneous,
even with thousands of DIV's. A quick ( not very scientific ) test with Safari
3 and 4 revealed no such degradation.

How to repoduce:
Load a file with a few hundred DIV's. Each DIV should have a <p> with text and
an <img> with a small image ( it can be the same in all DIV's). The <img>
should have a class (Let's call it "testicon" )
In the CSS set ".texticon { float:left }". Load the file and try to select some
text. I get a 3 to 5 second delay with 200 DIV's, on a black macbook. Removing
the float restores the performance to the expected level, no degradation with
up to thousands of DIV's.

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

More information about the webkit-unassigned mailing list