Changeset 155972 in webkit


Ignore:
Timestamp:
Sep 17, 2013 10:40:45 AM (11 years ago)
Author:
Antti Koivisto
Message:

RenderBR should not be RenderText
https://bugs.webkit.org/show_bug.cgi?id=121221

Rubber-stamped by Andreas Kling.

Fix assertion in these tests:

fast/repaint/selection-rl.html
fast/writing-mode/horizontal-bt-replaced-selection.html
fast/writing-mode/vertical-rl-replaced-selection.html

  • rendering/InlineBox.cpp:

(WebCore::InlineBox::nodeAtPoint):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r155971 r155972  
     12013-09-17  Antti Koivisto  <antti@apple.com>
     2
     3        RenderBR should not be RenderText
     4        https://bugs.webkit.org/show_bug.cgi?id=121221
     5
     6        Rubber-stamped by Andreas Kling.
     7       
     8        Fix assertion in these tests:
     9
     10        fast/repaint/selection-rl.html
     11        fast/writing-mode/horizontal-bt-replaced-selection.html
     12        fast/writing-mode/vertical-rl-replaced-selection.html
     13
     14        * rendering/InlineBox.cpp:
     15        (WebCore::InlineBox::nodeAtPoint):
     16
    1172013-09-16  Enrica Casucci  <enrica@apple.com>
    218
  • trunk/Source/WebCore/rendering/InlineBox.cpp

    r155957 r155972  
    258258    // specification.)
    259259    LayoutPoint childPoint = accumulatedOffset;
    260     if (parent()->renderer().style()->isFlippedBlocksWritingMode()) // Faster than calling containingBlock().
     260    if (parent()->renderer().style()->isFlippedBlocksWritingMode() && !renderer().isBR()) // Faster than calling containingBlock().
    261261        childPoint = m_renderer.containingBlock()->flipForWritingModeForChild(&toRenderBox(renderer()), childPoint);
    262262   
Note: See TracChangeset for help on using the changeset viewer.