Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(738)

Unified Diff: Source/core/rendering/InlineIterator.h

Issue 167513002: Merge 164396 "When an isolated run is appended, m_eor(End Of Run..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1750/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/text/international/unicode-bidi-isolate-duplicated-text-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « LayoutTests/fast/text/international/unicode-bidi-isolate-duplicated-text-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698