[Webkit-unassigned] [Bug 23486] New: WebKit execCommand bold/italic should remove strong/em tags (since IE inserts them)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 22 16:58:31 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=23486
Summary: WebKit execCommand bold/italic should remove strong/em
tags (since IE inserts them)
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eric at webkit.org
WebKit execCommand bold/italic should remove strong/em tags (since IE inserts
them)
Our current behavior can be seen here:
http://trac.webkit.org/browser/trunk/LayoutTests/editing/execCommand/toggle-styles-expected.txt?rev=40139
FAIL italic removing em -- <em><span class="Apple-style-span"
style="font-style: normal;">test</span></em>
The problem is that IE inserts <em> for the "italic" execCommand and <strong>
for the "bold" command. So we should remove them if we want to interoperate
nicely.
FF3 does not remove either of these tags. Ojan has strongly recommended that
we diverge from FF here and remove the tags just like we currently remove <b>
and <i>.
--
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