Changeset 154931 in webkit for trunk/Source/WebCore/rendering/RenderReplaced.cpp
- Timestamp:
- Aug 31, 2013, 11:34:23 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/rendering/RenderReplaced.cpp
r154858 r154931 540 540 541 541 RootInlineBox* root = m_inlineBoxWrapper->root(); 542 LayoutUnit newLogicalTop = root->block() ->style()->isFlippedBlocksWritingMode() ? m_inlineBoxWrapper->logicalBottom() - root->selectionBottom() : root->selectionTop() - m_inlineBoxWrapper->logicalTop();543 if (root->block() ->style()->isHorizontalWritingMode())542 LayoutUnit newLogicalTop = root->block().style()->isFlippedBlocksWritingMode() ? m_inlineBoxWrapper->logicalBottom() - root->selectionBottom() : root->selectionTop() - m_inlineBoxWrapper->logicalTop(); 543 if (root->block().style()->isHorizontalWritingMode()) 544 544 return LayoutRect(0, newLogicalTop, width(), root->selectionHeight()); 545 545 return LayoutRect(newLogicalTop, 0, root->selectionHeight(), height());
Note:
See TracChangeset
for help on using the changeset viewer.