[Webkit-unassigned] [Bug 23496] execCommand('bold') will remove <b style='font-style:italic'>, it should probably replace it with <span style='font-style:italic'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 23 02:18:20 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=23496





------- Comment #5 from eric at webkit.org  2009-01-23 02:18 PDT -------
I might just turn
replaceImplicitlyStyledElementWithSpanAndRemoveIfWithoutAttributes into
replaceImplictlyStyledElementWithSpan, or even replaceHTMLStyleNodeWithSpan (to
be more like the old naming, and more concise), of course that would mean that
we would end up converting <b> to <span> every time before we ended up removing
it, and that seems a bit wasteful.   Maybe others will have better suggestions
of how to divide the logic (or name these fancy new methods) once I get a
working patch together.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list