Changeset 19719 in webkit


Ignore:
Timestamp:
Feb 19, 2007 7:01:04 PM (17 years ago)
Author:
weinig
Message:

LayoutTests:

Reviewed by Hyatt.

  • fast/repaint/table-outer-border-expected.checksum: Added.
  • fast/repaint/table-outer-border-expected.png: Added.
  • fast/repaint/table-outer-border-expected.txt: Added.
  • fast/repaint/table-outer-border.html: Added.

WebCore:

Reviewed by Hyatt.

Test: fast/repaint/table-outer-border.html

  • rendering/RenderTable.cpp: (WebCore::RenderTable::layout): Reordered to initialize horizontal overflow after table sections have computed their outer horizontal borders.
Location:
trunk
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r19716 r19719  
     12007-02-19  Mitz Pettel  <mitz@webkit.org>
     2
     3        Reviewed by Hyatt.
     4
     5        - repaint test for http://bugs.webkit.org/show_bug.cgi?id=12817
     6          REGRESSION (r18634): Table border-collapse problems with right margin
     7
     8        * fast/repaint/table-outer-border-expected.checksum: Added.
     9        * fast/repaint/table-outer-border-expected.png: Added.
     10        * fast/repaint/table-outer-border-expected.txt: Added.
     11        * fast/repaint/table-outer-border.html: Added.
     12
    1132007-02-19  Zalan Bujtas  <zbujtas@gmail.com>
    214
  • trunk/WebCore/ChangeLog

    r19718 r19719  
     12007-02-19  Mitz Pettel  <mitz@webkit.org>
     2
     3        Reviewed by Hyatt.
     4
     5        - fix http://bugs.webkit.org/show_bug.cgi?id=12817
     6          REGRESSION (r18634): Table border-collapse problems with right margin
     7
     8        Test: fast/repaint/table-outer-border.html
     9
     10        * rendering/RenderTable.cpp:
     11        (WebCore::RenderTable::layout): Reordered to initialize horizontal overflow
     12        after table sections have computed their outer horizontal borders.
     13
    1142007-02-19  John Sullivan  <sullivan@apple.com>
    215
  • trunk/WebCore/rendering/RenderTable.cpp

    r19696 r19719  
    291291    calcWidth();
    292292
    293     m_overflowWidth = m_width + (collapseBorders() ? outerBorderRight() - borderRight() : 0);
    294     m_overflowLeft = collapseBorders() ? borderLeft() - outerBorderLeft() : 0;
    295 
    296293    // FIXME: The optimisation below doesn't work since the internal table
    297294    // layout could have changed.  we need to add a flag to the table
     
    318315        child = child->nextSibling();
    319316    }
     317
     318    m_overflowWidth = m_width + (collapseBorders() ? outerBorderRight() - borderRight() : 0);
     319    m_overflowLeft = collapseBorders() ? borderLeft() - outerBorderLeft() : 0;
    320320
    321321    // If any table section moved vertically, we will just repaint everything from that
Note: See TracChangeset for help on using the changeset viewer.