Bug 34799 - In designMode, BACKSPACE generates Apple-style-span tags
Summary: In designMode, BACKSPACE generates Apple-style-span tags
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 9915
  Show dependency treegraph
Reported: 2010-02-10 07:01 PST by webkit
Modified: 2011-08-19 13:52 PDT (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description webkit 2010-02-10 07:01:52 PST
This one can be easily tested in the CKEditor demo page:

1. Simply load the following HTML on source view and move back to the WYSIWYG view:

2. Put the caret at the beginning of the "test2" paragraph.


Switch back to the source view to check the code. You'll have this:
<h1>test<span class="Apple-style-span" style="font-size: 12px; font-weight: normal; ">test2</span></h1>

The additional <span> tag has been added to the DOM.