Changeset 31157 in webkit


Ignore:
Timestamp:
Mar 19, 2008 11:40:52 AM (16 years ago)
Author:
mitz@apple.com
Message:

WebCore:

Reviewed by Sam Weinig.

Test: fast/repaint/line-flow-with-floats-10.html

  • rendering/bidi.cpp: (WebCore::RenderBlock::determineStartPosition): Removed bogus assertion. If the float's top margin has changed and it has not been repositioned yet, we do not have its new y position.

LayoutTests:

Reviewed by Sam Weinig.

  • fast/repaint/line-flow-with-floats-10.html: Added.
  • platform/mac/fast/repaint/line-flow-with-floats-10-expected.checksum: Added.
  • platform/mac/fast/repaint/line-flow-with-floats-10-expected.png: Added.
  • platform/mac/fast/repaint/line-flow-with-floats-10-expected.txt: Added.
Location:
trunk
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r31153 r31157  
     12008-03-19  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        - test for assertion failure in RenderBlock::determineStartPosition() at http://www.wired.com/techbiz/it/magazine/16-04/bz_apple
     6
     7        * fast/repaint/line-flow-with-floats-10.html: Added.
     8        * platform/mac/fast/repaint/line-flow-with-floats-10-expected.checksum: Added.
     9        * platform/mac/fast/repaint/line-flow-with-floats-10-expected.png: Added.
     10        * platform/mac/fast/repaint/line-flow-with-floats-10-expected.txt: Added.
     11
    1122008-03-19  Dan Bernstein  <mitz@apple.com>
    213
  • trunk/WebCore/ChangeLog

    r31155 r31157  
     12008-03-19  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        - fix assertion failure in RenderBlock::determineStartPosition() at http://www.wired.com/techbiz/it/magazine/16-04/bz_apple
     6
     7        Test: fast/repaint/line-flow-with-floats-10.html
     8
     9        * rendering/bidi.cpp:
     10        (WebCore::RenderBlock::determineStartPosition): Removed bogus assertion.
     11        If the float's top margin has changed and it has not been repositioned
     12        yet, we do not have its new y position.
     13
    1142008-03-19  David Hyatt  <hyatt@apple.com>
    215
  • trunk/WebCore/rendering/bidi.cpp

    r31127 r31157  
    10571057                    }
    10581058                    if (floats[floatIndex].rect.size() != newSize) {
    1059                         int floatTop = f->yPos() - f->marginTop();
    1060                         ASSERT(floatTop == floats[floatIndex].rect.y());
     1059                        int floatTop = floats[floatIndex].rect.y();
    10611060                        curr->markDirty();
    10621061                        markLinesDirtyInVerticalRange(curr->blockHeight(), floatTop + max(floats[floatIndex].rect.height(), newSize.height()));
Note: See TracChangeset for help on using the changeset viewer.