<?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>66184</bug_id>
          
          <creation_ts>2011-08-13 02:15:14 -0700</creation_ts>
          <short_desc>Pages with border-collapse and RGBA borders have very bad scrolling performance</short_desc>
          <delta_ts>2015-03-25 21:59:25 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://chadvonnau.com/projects/web/examples/webkit-table-bug/bordercollapse.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chad von Nau">chad</reporter>
          <assigned_to name="alan">zalan</assigned_to>
          <cc>ap</cc>
    
    <cc>jonlee</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>450826</commentid>
    <comment_count>0</comment_count>
    <who name="Chad von Nau">chad</who>
    <bug_when>2011-08-13 02:15:14 -0700</bug_when>
    <thetext>I&apos;ve made some examples to demonstrate some performance bugs with table rendering. 
These examples are the same content with different styling:

1) Normal scrolling. Solid borders and border-collapse:separate

 http://chadvonnau.com/projects/web/examples/webkit-table-bug/index.html

2) Slow scrolling. Solid borders and border-collapse:collapse

 http://chadvonnau.com/projects/web/examples/webkit-table-bug/bordercollapse.html

3) Very slow scrolling and beach ball of death.
   Semi-transparent RGBA borders and border-collapse:separate

 http://chadvonnau.com/projects/web/examples/webkit-table-bug/rgbaborders.html


I&apos;m testing with Safari 5.1 and OS X 10.6.8 (+update) on my Late 2006 MacBook Pro.

Firefox 4 sees roughly equal performance on on all of those examples.
Safari 5.0 and earlier sees about the same performance on each example.
Chrome 13.0.7 has similar performance issues with these examples.

I reported what I believe to be the same issue to Google several months back. Here&apos;s my bug report with google:

 http://code.google.com/p/chromium/issues/detail?id=68215

Perhaps these issues may be coming from webkit code that Google has been using for a few months but only made it into Safari in 5.1.

Here is another page that exhibits performance problems because of border-collapse:collapse

 http://panlex.org/u</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>450829</commentid>
    <comment_count>1</comment_count>
    <who name="Chad von Nau">chad</who>
    <bug_when>2011-08-13 02:40:34 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 34649 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>450839</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-08-13 07:56:30 -0700</bug_when>
    <thetext>Reopening; the other bug is about DOM access.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>466950</commentid>
    <comment_count>3</comment_count>
    <who name="Chad von Nau">chad</who>
    <bug_when>2011-09-14 02:42:04 -0700</bug_when>
    <thetext>Thanks, Simon. The two bugs seem related from my naive perspective. Was thinking this one might get resolved faster if it was merged with a bug that already had other people involved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1079632</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-03-24 09:52:29 -0700</bug_when>
    <thetext>This appears to work nicely in current shipping Safari (I tested with Safari 7.1.4).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1080160</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2015-03-25 19:08:34 -0700</bug_when>
    <thetext>I bet this scrolls horribly if it&apos;s changed to use overflow: scroll. I think we&apos;ve regressed table border performance.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>