RESOLVED FIXED 26662
hover over table rows causes the whole table to repaint
https://bugs.webkit.org/show_bug.cgi?id=26662
Summary hover over table rows causes the whole table to repaint
Ojan Vafai
Reported 2009-06-23 14:25:31 PDT
Test case coming.
Attachments
Test case (365 bytes, text/html)
2009-06-23 14:26 PDT, Ojan Vafai
no flags
Patch (2.82 KB, patch)
2014-11-05 15:36 PST, Dave Hyatt
no flags
Archive of layout-test-results from webkit-ews-02 for mac-mountainlion (506.86 KB, application/zip)
2014-11-05 17:13 PST, Build Bot
no flags
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 (654.63 KB, application/zip)
2014-11-05 17:56 PST, Build Bot
no flags
Patch (22.16 KB, patch)
2014-11-11 08:51 PST, Dave Hyatt
simon.fraser: review-
Patch (6.53 KB, patch)
2014-11-12 09:26 PST, Dave Hyatt
simon.fraser: review+
Ojan Vafai
Comment 1 2009-06-23 14:26:31 PDT
Created attachment 31737 [details] Test case Load this test case and hover over the rows with QuartzDebug. The whole table repaints.
Ojan Vafai
Comment 2 2009-06-23 14:28:18 PDT
dhyatt: IntRect RenderTableRow::clippedOverflowRectForRepaint(RenderBoxModelObject* repaintContainer) dhyatt: { dhyatt: // For now, just repaint the whole table. dhyatt: // FIXME: Find a better way to do this, e.g., need to repaint all the cells that we dhyatt: // might have propagated a background color into. dhyatt: RenderTableRow.cpp dhyatt: ojan: it's basically not that hard to fix... just spanning cell issue dhyatt: ojan: can't just naively invalidate only the row dhyatt: since the bgcolor of the row may be painted in a spanning cell [SNIP] dhyatt: ojan: it is lame dhyatt: ojan: should be fixed
Dave Hyatt
Comment 3 2014-11-05 15:36:40 PST
Created attachment 241066 [details] Patch Patch just for EWS.
Build Bot
Comment 4 2014-11-05 17:13:43 PST
Created attachment 241072 [details] Archive of layout-test-results from webkit-ews-02 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-02 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Build Bot
Comment 5 2014-11-05 17:56:07 PST
Created attachment 241077 [details] Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-09 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Dave Hyatt
Comment 6 2014-11-11 08:51:36 PST
Dean Jackson
Comment 7 2014-11-11 10:19:44 PST
Comment on attachment 241353 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=241353&action=review > Source/WebCore/rendering/RenderTableCell.h:220 > + virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repaintContainer) const override; Did you mean to move this.... > Source/WebCore/rendering/RenderTableCell.h:-238 > - virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repaintContainer) const override; ... from here?
Simon Fraser (smfr)
Comment 8 2014-11-11 10:22:02 PST
Comment on attachment 241353 [details] Patch Please make a test that dumps repaint rects instead.
Dave Hyatt
Comment 9 2014-11-12 09:26:17 PST
Dave Hyatt
Comment 10 2014-11-14 08:53:09 PST
Fixed in r176124.
Note You need to log in before you can comment on or make changes to this bug.