Bug 22831 - ExecCommand RemoveFormat can't break out of nested spans
Summary: ExecCommand RemoveFormat can't break out of nested spans
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-12 14:40 PST by Deepak Jindal
Modified: 2010-07-26 13:01 PDT (History)
3 users (show)

See Also:


Attachments
demo that the bug has been fixed (801 bytes, text/html)
2009-08-17 18:04 PDT, Ryosuke Niwa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Deepak Jindal 2008-12-12 14:40:04 PST
Take the following html:

<br>
<span style="color: rgb(0, 0, 0);"><font size="2"><span class="Apple-style-span" style="color: rgb(204, 0, 0);">Hello&nbsp;</span>World</font></span><br>

Select "World" and run removeFormat command. The "World" becomes red instead of completely format free.
Comment 1 Ryosuke Niwa 2009-08-17 17:47:15 PDT
This does not reproduce on TOT.  Could you confirm that?
Comment 2 Ryosuke Niwa 2009-08-17 18:04:59 PDT
Created attachment 35006 [details]
demo that the bug has been fixed
Comment 3 Ryosuke Niwa 2010-07-26 13:01:12 PDT
Closing the bug since the reporter has not responded for 11 months and his test case still passes.