text reverses when deleting linebreak with div inside span

UNCONFIRMED
Unassigned

Status

()

Core
Editor
UNCONFIRMED
11 years ago
11 years ago

People

(Reporter: Mathieu Fenniak, Unassigned)

Tracking

({testcase})

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

11 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

After what appears to be just removing a linebreak in an editor window, the text from the line before the break ends up after the text from the line after the break.  This appears to only occur when a <span> contains a <div>.  The <div> contents end up before the <span> contents.

Reproducible: Always

Steps to Reproduce:
1. Load the test case that will be attached.
2. Place the caret at the end of the "(Start" line.
3. Hit the delete key to remove the linebreak and join the lines.
Actual Results:  
The text in the editor now appears as: end)(Start

Expected Results:  
The text should appear as (Start end) on a single line.
(Reporter)

Comment 1

11 years ago
Created attachment 265273 [details]
test case
(Reporter)

Updated

11 years ago
Keywords: testcase
You need to log in before you can comment on or make changes to this bug.