Changeset 70158 in webkit


Ignore:
Timestamp:
Oct 20, 2010 11:17:36 AM (14 years ago)
Author:
hyatt@apple.com
Message:

https://bugs.webkit.org/show_bug.cgi?id=47994

Reviewed by Simon Fraser.

Make computeBlockDirectionPositionsForLine writing-mode-aware. None of the functions it calls are patched yet.

  • rendering/RenderBlockLineLayout.cpp:

(WebCore::RenderBlock::computeBlockDirectionPositionsForLine):

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r70153 r70158  
     12010-10-20  David Hyatt  <hyatt@apple.com>
     2
     3        Reviewed by Simon Fraser.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=47994
     6       
     7        Make computeBlockDirectionPositionsForLine writing-mode-aware.  None of the functions it calls are patched yet.
     8
     9        * rendering/RenderBlockLineLayout.cpp:
     10        (WebCore::RenderBlock::computeBlockDirectionPositionsForLine):
     11
    1122010-10-20  John Abd-El-Malek  <jam@chromium.org>
    213
  • trunk/WebCore/rendering/RenderBlockLineLayout.cpp

    r70072 r70158  
    472472void RenderBlock::computeBlockDirectionPositionsForLine(RootInlineBox* lineBox, BidiRun* firstRun, GlyphOverflowAndFallbackFontsMap& textBoxDataMap)
    473473{
    474     setLogicalHeight(lineBox->alignBoxesInBlockDirection(height(), textBoxDataMap));
    475     lineBox->setBlockLogicalHeight(height());
     474    setLogicalHeight(lineBox->alignBoxesInBlockDirection(logicalHeight(), textBoxDataMap));
     475    lineBox->setBlockLogicalHeight(logicalHeight());
    476476
    477477    // Now make sure we place replaced render objects correctly.
     
    484484        // a reasonable approximation of an appropriate y position.
    485485        if (r->m_object->isPositioned())
    486             r->m_box->setY(height());
     486            r->m_box->setLogicalTop(logicalHeight());
    487487
    488488        // Position is used to properly position both replaced elements and
Note: See TracChangeset for help on using the changeset viewer.