Changeset 82461 in webkit


Ignore:
Timestamp:
Mar 30, 2011 10:10:25 AM (13 years ago)
Author:
yael.aharon@nokia.com
Message:

2011-03-30 Yael Aharon <yael.aharon@nokia.com>

Reviewed by Eric Seidel.

REGRESSION(r82419): New pixel test failure fast/box-shadow/basic-shadows.html
https://bugs.webkit.org/show_bug.cgi?id=57442

When checking the position of the inline iterator in the logicallyLastRun, we should not consider BR as text.

No new tests as existing test covers this case.

  • rendering/RenderBlockLineLayout.cpp: (WebCore::reachedEndOfTextRenderer):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r82459 r82461  
     12011-03-30  Yael Aharon  <yael.aharon@nokia.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        REGRESSION(r82419): New pixel test failure fast/box-shadow/basic-shadows.html
     6        https://bugs.webkit.org/show_bug.cgi?id=57442
     7
     8        When checking the position of the inline iterator in the logicallyLastRun, we should not consider BR as text.
     9
     10        No new tests as existing test covers this case.
     11
     12        * rendering/RenderBlockLineLayout.cpp:
     13        (WebCore::reachedEndOfTextRenderer):
     14
    1152011-03-30  Mario Sanchez Prada  <msanchez@igalia.com>
    216
  • trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp

    r82424 r82461  
    616616    unsigned int pos = run->stop();
    617617    RenderObject* r = run->m_object;
    618     if (!r->isText())
     618    if (!r->isText() || r->isBR())
    619619        return false;
    620620    RenderText* renderText = toRenderText(r);
Note: See TracChangeset for help on using the changeset viewer.