RESOLVED FIXED Bug 66091
Share code between isStyleSpanOrSpanWithOnlyStyleAttribute, isUnstyledStyleSpan, isSpanWithoutAttributesOrUnstyleStyleSpan and replaceWithSpanOrRemoveIfWithoutAttributes
https://bugs.webkit.org/show_bug.cgi?id=66091
Summary Share code between isStyleSpanOrSpanWithOnlyStyleAttribute, isUnstyledStyleSp...
Ryosuke Niwa
Reported 2011-08-11 13:29:18 PDT
The following functions all check similar conditions: isStyleSpanOrSpanWithOnlyStyleAttribute isUnstyledStyleSpan isSpanWithoutAttributesOrUnstyleStyleSpan ApplyStyleCommand::replaceWithSpanOrRemoveIfWithoutAttributes We should merge them together.
Attachments
refactoring (7.61 KB, patch)
2011-08-11 14:30 PDT, Ryosuke Niwa
no flags
Ryosuke Niwa
Comment 1 2011-08-11 14:30:36 PDT
Created attachment 103672 [details] refactoring
Ryosuke Niwa
Comment 2 2011-08-11 16:11:59 PDT
Thanks for the review!
WebKit Review Bot
Comment 3 2011-08-11 16:43:25 PDT
Comment on attachment 103672 [details] refactoring Clearing flags on attachment: 103672 Committed r92891: <http://trac.webkit.org/changeset/92891>
WebKit Review Bot
Comment 4 2011-08-11 16:43:29 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.