<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>26613</bug_id>
          
          <creation_ts>2009-06-22 11:01:24 -0700</creation_ts>
          <short_desc>[Qt] Severe performance degradation when using &quot;float:&quot; CSS properties</short_desc>
          <delta_ts>2010-03-12 02:54:02 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Gustavo Carvalho">gcarvalho.pt</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hausmann</cc>
    
    <cc>kent.hansen</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>127385</commentid>
    <comment_count>0</comment_count>
    <who name="Gustavo Carvalho">gcarvalho.pt</who>
    <bug_when>2009-06-22 11:01:24 -0700</bug_when>
    <thetext>NOTE: I&apos;m using Qt&apos;s main trunk version from their git repository (Not sure what webkit version it is).

When I have over 100 DIV&apos;s, each with text and images, if a lot of the elements within those DIV&apos;s are positioned by using &quot;float&quot;, selecting text can take up to 5 seconds. Removing the float property causes selection to be instantaneous, even with thousands of DIV&apos;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&apos;s. Each DIV should have a &lt;p&gt; with text and an &lt;img&gt; with a small image ( it can be the same in all DIV&apos;s). The &lt;img&gt; should have a class (Let&apos;s call it &quot;testicon&quot; )
In the CSS set &quot;.texticon { float:left }&quot;. Load the file and try to select some text. I get a 3 to 5 second delay with 200 DIV&apos;s, on a black macbook. Removing the float restores the performance to the expected level, no degradation with up to thousands of DIV&apos;s.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165836</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-11-23 05:53:19 -0800</bug_when>
    <thetext>Could you attach a testcase of yours that makes it easier for us to reproduce/verify this issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>198971</commentid>
    <comment_count>2</comment_count>
    <who name="Kent Hansen">kent.hansen</who>
    <bug_when>2010-03-12 02:54:02 -0800</bug_when>
    <thetext>Closing this since we don&apos;t have a testcase.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>