| Index: Source/core/editing/DeleteSelectionCommand.cpp
|
| diff --git a/Source/core/editing/DeleteSelectionCommand.cpp b/Source/core/editing/DeleteSelectionCommand.cpp
|
| index 45c884ac4056d4b8b46223049b9b1ace96ecde6b..32425b88f64d867720f2105c8ea252cdf1d96462 100644
|
| --- a/Source/core/editing/DeleteSelectionCommand.cpp
|
| +++ b/Source/core/editing/DeleteSelectionCommand.cpp
|
| @@ -704,8 +704,11 @@ void DeleteSelectionCommand::removePreviouslySelectedEmptyTableRows()
|
|
|
| void DeleteSelectionCommand::calculateTypingStyleAfterDelete()
|
| {
|
| - if (!m_typingStyle)
|
| + // Clearing any previously set typing style and doing an early return.
|
| + if (!m_typingStyle) {
|
| + document().frame()->selection().clearTypingStyle();
|
| return;
|
| + }
|
|
|
| // Compute the difference between the style before the delete and the style now
|
| // after the delete has been done. Set this style on the frame, so other editing
|
|
|