| Index: third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
|
| index d4e37c1f33c4618b01c45e5d8e742c8d439b4efc..5ed814d50ebcc68c5d53ba7d7eb9291dbce41f97 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
|
| @@ -690,13 +690,13 @@ void ReplaceSelectionCommand::removeRedundantStylesAndKeepStyleSpanInline(
|
| if (isEnclosingBlock(element)) {
|
| element->style()->setPropertyInternal(CSSPropertyDisplay, String(),
|
| "inline", false, nullptr,
|
| - IGNORE_EXCEPTION);
|
| + IGNORE_EXCEPTION_FOR_TESTING);
|
| }
|
| if (element->layoutObject() &&
|
| element->layoutObject()->style()->isFloating()) {
|
| element->style()->setPropertyInternal(CSSPropertyFloat, String(),
|
| "none", false, nullptr,
|
| - IGNORE_EXCEPTION);
|
| + IGNORE_EXCEPTION_FOR_TESTING);
|
| }
|
| }
|
| }
|
|
|