Bug 59548 - REGRESSION: Joining two paragraphs using the delete key introduces a closed span element at the end of the first paragraph that seems to break normal rendering and editing support in the following paragraphs
Summary: REGRESSION: Joining two paragraphs using the delete key introduces a closed s...
Status: VERIFIED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P1 Normal
Assignee: Nobody
URL: http://tinymce.moxiecode.com/tryit/fu...
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2011-04-26 15:22 PDT by Chris Nuzum
Modified: 2011-05-02 07:34 PDT (History)
3 users (show)

See Also:


Attachments
demonstration of the issue (10.01 MB, video/quicktime)
2011-04-26 15:22 PDT, Chris Nuzum
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Nuzum 2011-04-26 15:22:30 PDT
Created attachment 91173 [details]
demonstration of the issue

As of one of the past two nightly builds, combining two paragraphs using backspace seems to insert the following markup at the end of the first paragraph:

<span class="Apple-style-span" style="font-family: Times; font-size: medium;"></span>

Once this takes place, the text formatting of the following content, which is rendered as if it were combined in the first paragraph, but which the HTML view shows as a separate paragraph, reflects those settings.

Also, once this has happened, pressing return at the end of the combined paragraph fails to move the cursor to a new paragraph, instead opening up a new paragraph after the current paragraph and leaving the cursor in the current paragraph.

I have attached a screen recording demonstrating this behavior.
Comment 1 Alexey Proskuryakov 2011-04-26 16:52:52 PDT
<rdar://problem/9342024>
Comment 2 Alexey Proskuryakov 2011-04-28 13:55:53 PDT
I'm told that this has been fixed in r85090. Please verify that the problem no longer occurs when the next nightly build is posted.
Comment 3 Chris Nuzum 2011-05-02 07:33:18 PDT
The nightly that was just posted resolves this issue. Thank you very much!