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

Unified Diff: third_party/WebKit/Source/core/layout/BidiRunForLine.cpp

Issue 1463893002: Ignore unicode-bidi: isolate for visual order elements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed to treatAsIsolated() Created 5 years, 1 month 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
Index: third_party/WebKit/Source/core/layout/BidiRunForLine.cpp
diff --git a/third_party/WebKit/Source/core/layout/BidiRunForLine.cpp b/third_party/WebKit/Source/core/layout/BidiRunForLine.cpp
index 8ade9f83e1e5b644137cd5acf5b6874d37fa978e..a3317ce0de3efa22af413220f708c99022fe63be 100644
--- a/third_party/WebKit/Source/core/layout/BidiRunForLine.cpp
+++ b/third_party/WebKit/Source/core/layout/BidiRunForLine.cpp
@@ -35,7 +35,7 @@ static LayoutObject* firstLayoutObjectForDirectionalityDetermination(
{
LayoutObject* next = current;
while (current) {
- if (isIsolated(current->style()->unicodeBidi())
+ if (treatAsIsolated(current->styleRef())
&& (current->isLayoutInline() || current->isLayoutBlock())) {
if (current != root)
current = nullptr;
@@ -56,7 +56,7 @@ static LayoutObject* firstLayoutObjectForDirectionalityDetermination(
break;
if (!isIteratorTarget(LineLayoutItem(current))
- && !isIsolated(current->style()->unicodeBidi()))
+ && !treatAsIsolated(current->styleRef()))
next = current->slowFirstChild();
if (!next) {

Powered by Google App Engine
This is Rietveld 408576698