The following functions all check similar conditions: isStyleSpanOrSpanWithOnlyStyleAttribute isUnstyledStyleSpan isSpanWithoutAttributesOrUnstyleStyleSpan ApplyStyleCommand::replaceWithSpanOrRemoveIfWithoutAttributes We should merge them together.
Created attachment 103672 [details] refactoring
Thanks for the review!
Comment on attachment 103672 [details] refactoring Clearing flags on attachment: 103672 Committed r92891: <http://trac.webkit.org/changeset/92891>
All reviewed patches have been landed. Closing bug.