Index: Source/core/rendering/InlineIterator.h |
=================================================================== |
--- Source/core/rendering/InlineIterator.h (revision 167217) |
+++ Source/core/rendering/InlineIterator.h (working copy) |
@@ -647,7 +647,11 @@ |
if (isEndOfLine) |
m_reachedEndOfLine = true; |
- m_eor.increment(); |
+ // If isolateTrack is inIsolate, the next |start of run| can not be the current isolated renderer. |
+ if (isolateTracker.inIsolate()) |
+ m_eor.moveTo(bidiNextSkippingEmptyInlines(m_eor.root(), m_eor.object()), 0); |
+ else |
+ m_eor.increment(); |
m_sor = m_eor; |
} |