| Index: Source/core/editing/EditorCommand.cpp
|
| diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp
|
| index a1decada916616fc5bac614a61f61612afe45368..a88ca75ea153106d17859c77ee7fbb72389fa3b3 100644
|
| --- a/Source/core/editing/EditorCommand.cpp
|
| +++ b/Source/core/editing/EditorCommand.cpp
|
| @@ -150,8 +150,9 @@ static bool executeToggleStyleInList(LocalFrame& frame, EditorCommandSource sour
|
| if (selectedCSSValueList->length())
|
| newStyle = selectedCSSValueList->cssText();
|
|
|
| - } else if (selectedCSSValue->cssText() == "none")
|
| + } else if (selectedCSSValue->cssText() == "none") {
|
| newStyle = value->cssText();
|
| + }
|
|
|
| // FIXME: We shouldn't be having to convert new style into text. We should have setPropertyCSSValue.
|
| RefPtrWillBeRawPtr<MutableStylePropertySet> newMutableStyle = MutableStylePropertySet::create();
|
|
|