RenderBoxModelObject::paintBoxShadow() does some work before it looks to see if there are any shadows. It should just bail earlier.
Created attachment 83738 [details] Patch
(In reply to comment #0) > RenderBoxModelObject::paintBoxShadow() does some work before it looks to see if there are any shadows. It should just bail earlier. Sounds like a good idea. (In reply to comment #1) > Created an attachment (id=83738) [details] > Patch Looks like a different idea. Why not return early from paintBoxShadow()?
Created attachment 83741 [details] Patch
http://trac.webkit.org/changeset/79647