Index: third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp |
index 29125bddb0493eedf2210e5671ec6adcbb100f47..0a0cb671bf83ed94b6beb38837069d799130e3b3 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp |
@@ -634,7 +634,7 @@ static bool executeJustifyRight(LocalFrame& frame, Event*, EditorCommandSource s |
static bool executeMakeTextWritingDirectionLeftToRight(LocalFrame& frame, Event*, EditorCommandSource, const String&) |
{ |
RefPtrWillBeRawPtr<MutableStylePropertySet> style = MutableStylePropertySet::create(HTMLQuirksMode); |
- style->setProperty(CSSPropertyUnicodeBidi, CSSValueEmbed); |
+ style->setProperty(CSSPropertyUnicodeBidi, CSSValueIsolate); |
style->setProperty(CSSPropertyDirection, CSSValueLtr); |
frame.editor().applyStyle(style.get(), EditActionSetWritingDirection); |
return true; |
@@ -651,7 +651,7 @@ static bool executeMakeTextWritingDirectionNatural(LocalFrame& frame, Event*, Ed |
static bool executeMakeTextWritingDirectionRightToLeft(LocalFrame& frame, Event*, EditorCommandSource, const String&) |
{ |
RefPtrWillBeRawPtr<MutableStylePropertySet> style = MutableStylePropertySet::create(HTMLQuirksMode); |
- style->setProperty(CSSPropertyUnicodeBidi, CSSValueEmbed); |
+ style->setProperty(CSSPropertyUnicodeBidi, CSSValueIsolate); |
style->setProperty(CSSPropertyDirection, CSSValueRtl); |
frame.editor().applyStyle(style.get(), EditActionSetWritingDirection); |
return true; |