[Webkit-unassigned] [Bug 17733] execCommand with super/subscript doesn't toggle back to baseline
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 22 15:06:24 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=17733
------- Comment #5 from eric at webkit.org 2008-05-22 15:06 PDT -------
If you're using this in an application which needs a workaround in shipping
versions of Safari, I would encourage you to use
document.executeCommand("Unscript"); to remove any subscript/superscripts.
That should work in both IE and Safari. Sadly, that also means you have to
maintain your own "is this subscripted/superscripted" state. You could use
getComputedStyle on some portion of the selected text in order to discover the
vertical-align value however.
--
Configure bugmail: http://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