Changeset 20931 in webkit


Ignore:
Timestamp:
Apr 17, 2007 9:58:54 PM (17 years ago)
Author:
bdash
Message:

2007-04-17 Mitz Pettel <mitz@webkit.org>

Reviewed by Darin.

Test: fast/table/invisible-cell-background.html

  • rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::paintBackgroundsBehindCell): Don't paint any background if the cell is not visible. This behavior matches WinIE and Opera.

2007-04-17 Mitz Pettel <mitz@webkit.org>

Reviewed by Darin.

  • fast/table/invisible-cell-background-expected.checksum: Added.
  • fast/table/invisible-cell-background-expected.png: Added.
  • fast/table/invisible-cell-background-expected.txt: Added.
  • fast/table/invisible-cell-background.html: Added.
Location:
trunk
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r20926 r20931  
     12007-04-17  Mitz Pettel  <mitz@webkit.org>
     2
     3        Reviewed by Darin.
     4
     5        - pixel test for http://bugs.webkit.org/show_bug.cgi?id=13369
     6          REGRESSION (r13366): Invisible table cell background is painted
     7
     8        * fast/table/invisible-cell-background-expected.checksum: Added.
     9        * fast/table/invisible-cell-background-expected.png: Added.
     10        * fast/table/invisible-cell-background-expected.txt: Added.
     11        * fast/table/invisible-cell-background.html: Added.
     12
    1132007-04-17  Justin Garcia  <justin.garcia@apple.com>
    214
  • trunk/WebCore/ChangeLog

    r20930 r20931  
     12007-04-17  Mitz Pettel  <mitz@webkit.org>
     2
     3        Reviewed by Darin.
     4
     5        - fix http://bugs.webkit.org/show_bug.cgi?id=13369
     6          REGRESSION (r13366): Invisible table cell background is painted
     7
     8        Test: fast/table/invisible-cell-background.html
     9
     10        * rendering/RenderTableCell.cpp:
     11        (WebCore::RenderTableCell::paintBackgroundsBehindCell): Don't paint any
     12        background if the cell is not visible. This behavior matches WinIE and Opera.
     13
    1142007-04-17  Justin Garcia  <justin.garcia@apple.com>
    215
  • trunk/WebCore/rendering/RenderTableCell.cpp

    r19997 r20931  
    760760        return;
    761761
     762    if (style()->visibility() != VISIBLE)
     763        return;
     764
    762765    RenderTable* tableElt = table();
    763766    if (!tableElt->collapseBorders() && style()->emptyCells() == HIDE && !firstChild())
Note: See TracChangeset for help on using the changeset viewer.