[Webkit-unassigned] [Bug 23486] 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 18:02:01 PST 2009


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





------- Comment #3 from eric at webkit.org  2009-01-22 18:02 PDT -------
Actually, I didn't give the right information.  FF's current behavior is
clearly wrong IMO.   So we're not really diverging.  We're diverging from our
old behavior, which if you're a semantic web lover, is possibly more "correct"
than this new behavior... but less useful, and less IE-compatible.

<strong>foo</strong>
document.execCommand("bold")

produces:

WebKit trunk:
<strong><span class="Apple-style-span" style="font-weight:
normal;">test</span></strong>

IE:
test

FF
<strong>test</strong> // clearly wrong IMO

after patch:
test


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