[Webkit-unassigned] [Bug 16065] Unformat command formats text instead of unformat it.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 18 09:53:17 PDT 2009


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





--- Comment #11 from Anders Jenbo <fuck at os.dk>  2009-08-18 09:53:16 PDT ---
(In reply to comment #9)
> I'm not sure what is the correct behavior here since Firefox ignores
> removeFormat.  Need to see what MSIE does.

The correct thing to do is remove any css or styling tags from the selected
content, in the latest version safari removes all styling, all images and
converts all spaces to  , in 3.x spaces where left alone.

Firefox doen't ignore the command.

original html:
<span style="font-weight: bold;">here's</span> the "<em>preloaded</em>
<b>content</b>" <img src="cutegirl.jpg" alt=" />

Firefox:
here's the "preloaded content" <img src="cutegirl.jpg" alt=" />

MSIE (IE doesn't handle CSS styling):
<span style="font-weight: bold">here's</span> the "preloaded content" <img
src="cutegirl.jpg" alt=" />

Safari 4.0.2 (Ouch my spaces):
here's the "preloaded content"

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list