[Webkit-unassigned] [Bug 20215] execCommand('underline') can't remove <U> underlines

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 23 00:58:25 PST 2009


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





------- Comment #7 from eric at webkit.org  2009-01-23 00:58 PDT -------
Hum... I think I need to fix how we remove styling tags during editing command
execution first before I can really fix this stuff in a sane way. 
ApplyStyleCommand needs to be smarter about what styles an html styling tag
(like b, i, u, s, etc.) actually is applying to the content in question.  Until
isHTMLStyleNode and removeHTMLStyleNode can be fixed to correctly handle things
like <u style="text-decoration: strikethrough"> we can't use the
removeHTMLStyleNode logic from within the text-decoration codepath and thus are
left with our current "just wrap it in a span with a canceling style" behavior.


-- 
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