2010-10-05 Fady Samuel <fsamuel@chromium.org>
authorfsamuel@chromium.org <fsamuel@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Oct 2010 23:55:13 +0000 (23:55 +0000)
committerfsamuel@chromium.org <fsamuel@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Oct 2010 23:55:13 +0000 (23:55 +0000)
commit19fd4aec59c1151b2ab048389c81ed40112cfcad
treef311f5f857e053f91b7539f731b5b2be9c391636
parent1570ad6a4df4b91758ece9a71676f68203f047bf
2010-10-05  Fady Samuel  <fsamuel@chromium.org>

        Reviewed by Darin Adler.

        REGRESSION (r65539): One pixel white gaps when scrolling Trac changeset pages
        https://bugs.webkit.org/show_bug.cgi?id=45131

        Added a layout test to check for paint rects that touch the border of an adjacent sell,
        when border-collapse: separate is set for the table.

        * fast/table/simple_paint.html:
            Don't do rtl as it doesn't exercise some of the new  paint code.
        * fast/table/simple_paint_separate_borders-expected.checksum: Added.
        * fast/table/simple_paint_separate_borders-expected.png: Added.
        * fast/table/simple_paint_separate_borders-expected.txt: Added.
        * fast/table/simple_paint_separate_borders.html: Added.
2010-10-05  Fady Samuel  <fsamuel@chromium.org>

        Reviewed by Darin Adler.

        REGRESSION (r65539): One pixel white gaps when scrolling Trac changeset pages
        https://bugs.webkit.org/show_bug.cgi?id=45131

        When border-collapse: separate property is set on the table, paintObject
        may skip repainting cells, if the dirty region only touches one row/col of pixels.

        Test: fast/table/simple_paint_separate_borders.html

        * rendering/RenderTableSection.cpp:
        (WebCore::RenderTableSection::paintObject):
            Don't subtract one from the right and bottom of the dirty paint rect.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/table/simple_paint-expected.checksum
LayoutTests/fast/table/simple_paint-expected.png
LayoutTests/fast/table/simple_paint.html
WebCore/ChangeLog
WebCore/rendering/RenderTableSection.cpp