[Webkit-unassigned] [Bug 17733] execCommand with super/subscript doesn't toggle back to baseline

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 21 14:12:01 PST 2009


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





------- Comment #13 from eric at webkit.org  2009-01-21 14:12 PDT -------
Created an attachment (id=26904)
 --> (https://bugs.webkit.org/attachment.cgi?id=26904&action=view)
Fix execCommand() 'super' and 'sub' commands to add <sup> and <sub> in quirks
mode, and to toggle when called twice

 LayoutTests/ChangeLog                              |    9 ++
 .../editing/execCommand/resources/toggle-styles.js |    4 +-
 .../editing/execCommand/toggle-styles-expected.txt |   12 ++--
 WebCore/ChangeLog                                  |   24 ++++++
 WebCore/editing/ApplyStyleCommand.cpp              |   84 ++++++++++++++------
 WebCore/editing/EditorCommand.cpp                  |    4 +-
 WebCore/editing/htmlediting.cpp                    |    7 ++-
 WebCore/editing/htmlediting.h                      |    1 +
 8 files changed, 109 insertions(+), 36 deletions(-)


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