Bug 23994 - Underline formatting bleeds into other formatting during delete/backspace
Summary: Underline formatting bleeds into other formatting during delete/backspace
Status: RESOLVED DUPLICATE of bug 23993
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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-17 14:01 PST by Julie Parent
Modified: 2009-02-17 16:14 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julie Parent 2009-02-17 14:01:25 PST
Steps to reproduce:
1. Go to your favorite contentEditable based rich text editor (like http://www.mozilla.org/editor/midasdemo/)
2. Type "Foo Bar" on the first line (without quotes). Press Enter.
3. Type "Baz" on the second line.  (html is Foo <span class="Apple-style-span" style="text-decoration: underline;">Bar</span><div>Baz</div>)
4. Double-click on "Bar" to highlight it.
5. Press underline from the toolbar.
6. Go to the beginning of the second line.
7. Press Backspace.

Result:
Everything moved from the second line to the first is underlined (html is Foo <span class="Apple-style-span" style="text-decoration: underline;">BarBaz</span>

Expected:
Just "Bar" to be underlined.

Notes:
I've repro'ed on Chrome 1.0 Windows and a webkit nightly on Mac.  This also repros if you use delete at the end of the first line, rather than backspace at the beginning of the second line.
Comment 1 Justin Garcia 2009-02-17 16:14:27 PST
Looks like you filed this twice.

*** This bug has been marked as a duplicate of 23993 ***