| Index: Source/core/editing/ApplyStyleCommand.cpp
|
| diff --git a/Source/core/editing/ApplyStyleCommand.cpp b/Source/core/editing/ApplyStyleCommand.cpp
|
| index 35fa0e67c8ae2e4acbde78ecb53f546aae08353d..eeb18cb903bc437e0a70737c3d25d95f9ff6b7da 100644
|
| --- a/Source/core/editing/ApplyStyleCommand.cpp
|
| +++ b/Source/core/editing/ApplyStyleCommand.cpp
|
| @@ -957,10 +957,6 @@ bool ApplyStyleCommand::removeCSSStyle(EditingStyle* style, HTMLElement* element
|
| for (size_t i = 0; i < properties.size(); i++)
|
| removeCSSProperty(element, properties[i]);
|
|
|
| - // No need to serialize <foo style=""> if we just removed the last css property
|
| - if (element->inlineStyle()->isEmpty())
|
| - removeNodeAttribute(element, styleAttr);
|
| -
|
| if (isSpanWithoutAttributesOrUnstyledStyleSpan(element))
|
| removeNodePreservingChildren(element);
|
|
|
|
|