Position RenderedPosition::positionAtLeftBoundaryOfBiDiRun() const { ASSERT(atLeftBoundaryOfBidiRun()); if (atLeftmostOffsetInBox()) return Position::editingPositionOf(m_layoutObject->node(), m_offset); return Position::editingPositionOf(nextLeafChild()->layoutObject().node(), nextLeafChild()->caretLeftmostOffset()); }
Position RenderedPosition::positionAtLeftBoundaryOfBiDiRun() const { ASSERT(atLeftBoundaryOfBidiRun()); if (atLeftmostOffsetInBox()) return createLegacyEditingPosition(m_renderer->node(), m_offset); return createLegacyEditingPosition(nextLeafChild()->renderer().node(), nextLeafChild()->caretLeftmostOffset()); }