[Webkit-unassigned] [Bug 22102] -webkit-box-shadow causes awful scroll/resize/redraw performance

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 3 13:27:58 PDT 2010


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





--- Comment #13 from Richard Connamacher <rich at indieimage.com>  2010-06-03 13:27:57 PST ---
I found that Safari performs far better when I recreate the box shadow using translucent PNGs. This is for the same page design: scrollable main box against a fixed background image.

So compositing speed can't be the main problem, since it has to re-composite my translucent PNGs just as it's doing with the shadow.

Is WebKit recalculating the shadow itself every time the user scrolls? If so then this bug could be fixed by calculating the shadow once and reusing it whenever the page is scrolled or resized. The shadow itself should only be recalculated when the dimensions of its box changes.

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