| 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..77d88a15fc56f1fa64f91b7a8e438b8f4c899fd5 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| @@ -1386,6 +1386,10 @@ void ApplyStyleCommand::removeInlineStyle(EditingStyle* style,
|
| // FIXME: We should assert that start/end are not in the middle of a text
|
| // node.
|
|
|
| + // TODO(editing-dev): Use of updateStyleAndLayoutIgnorePendingStylesheets
|
| + // needs to be audited. See http://crbug.com/590369 for more details.
|
| + document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| +
|
| Position pushDownStart = mostForwardCaretPosition(start);
|
| // If the pushDownStart is at the end of a text node, then this node is not
|
| // fully selected. Move it to the next deep quivalent position to avoid
|
|
|