| Index: Source/WebCore/editing/EditingStyle.cpp
|
| ===================================================================
|
| --- Source/WebCore/editing/EditingStyle.cpp (revision 95747)
|
| +++ Source/WebCore/editing/EditingStyle.cpp (working copy)
|
| @@ -963,7 +963,7 @@
|
|
|
| // 3. If this element is a span and has display: inline or float: none, remove them unless they are overriden by rules.
|
| // These rules are added by serialization code to wrap text nodes.
|
| - if (isStyleSpanOrSpanWithOnlyStyleAttribute(element)) {
|
| + if (isStyleSpan(element)) {
|
| if (!styleFromMatchedRules->getPropertyCSSValue(CSSPropertyDisplay) && getIdentifierValue(m_mutableStyle.get(), CSSPropertyDisplay) == CSSValueInline)
|
| m_mutableStyle->removeProperty(CSSPropertyDisplay);
|
| if (!styleFromMatchedRules->getPropertyCSSValue(CSSPropertyFloat) && getIdentifierValue(m_mutableStyle.get(), CSSPropertyFloat) == CSSValueNone)
|
|
|