| Index: third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| index e9feef51b6d4d01d24fbb0d82d2e782175275a74..678b2e70681236291d3e46700cf96a0ff9230495 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| @@ -1397,6 +1397,11 @@ void ApplyStyleCommand::removeInlineStyle(EditingStyle* style,
|
| pushDownStart.computeOffsetInContainerNode() ==
|
| pushDownStartContainer->maxCharacterOffset())
|
| pushDownStart = nextVisuallyDistinctCandidate(pushDownStart);
|
| +
|
| + // TODO(editing-dev): Use of updateStyleAndLayoutIgnorePendingStylesheets
|
| + // needs to be audited. See http://crbug.com/590369 for more details.
|
| + document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| +
|
| Position pushDownEnd = mostBackwardCaretPosition(end);
|
| // If pushDownEnd is at the start of a text node, then this node is not fully
|
| // selected. Move it to the previous deep equivalent position to avoid
|
|
|