Don't spend time painting transparent cell backgrounds
Created attachment 423622 [details] Patch
Comment on attachment 423622 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=423622&action=review > Source/WebCore/rendering/RenderTableCell.cpp:1287 > + if (!bgLayer.hasImage() && (!color.isValid() || !color.isVisible())) Typically we don’t also have to check isValid if we are checking isVisible, since the invalid color is also transparent block, and so guaranteed to be invisible.
Comment on attachment 423622 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=423622&action=review >> Source/WebCore/rendering/RenderTableCell.cpp:1287 >> + if (!bgLayer.hasImage() && (!color.isValid() || !color.isVisible())) > > Typically we don’t also have to check isValid if we are checking isVisible, since the invalid color is also transparent block, and so guaranteed to be invisible. transparent black
https://trac.webkit.org/changeset/274682/webkit
<rdar://problem/75596249>