WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
66184
Pages with border-collapse and RGBA borders have very bad scrolling performance
https://bugs.webkit.org/show_bug.cgi?id=66184
Summary
Pages with border-collapse and RGBA borders have very bad scrolling performance
Chad von Nau
Reported
2011-08-13 02:15:14 PDT
I'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'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'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
Attachments
Add attachment
proposed patch, testcase, etc.
Chad von Nau
Comment 1
2011-08-13 02:40:34 PDT
*** This bug has been marked as a duplicate of
bug 34649
***
Simon Fraser (smfr)
Comment 2
2011-08-13 07:56:30 PDT
Reopening; the other bug is about DOM access.
Chad von Nau
Comment 3
2011-09-14 02:42:04 PDT
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.
Alexey Proskuryakov
Comment 4
2015-03-24 09:52:29 PDT
This appears to work nicely in current shipping Safari (I tested with Safari 7.1.4).
Simon Fraser (smfr)
Comment 5
2015-03-25 19:08:34 PDT
I bet this scrolls horribly if it's changed to use overflow: scroll. I think we've regressed table border performance.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug