Open Bug 521876 Opened 11 years ago Updated 8 years ago

Deleting a range that crosses into a <blockquote> removes additional child nodes of the <blockquote>

Categories

(Core :: DOM: Editor, defect)

x86
Linux
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: vkarun, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.2 (KHTML, like Gecko) Chrome/4.0.221.8 Safari/532.2
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090910 Firefox/3.5.3

This seems to be a regression in 3.5 since this bug does not manifest in 3.0.

Reproducible: Always

Steps to Reproduce:
1. Go to Midas Demo: http://www.mozilla.org/editor/midasdemo/
2. Enter the following HTML a<br><blockquote>one<br>two<br>three<br></blockquote>
3. Place the cursor at the beginning of the line containing "a" and use SHIFT+<down arrow> to select the lines containing "a" and "one".
4. Press delete.
Actual Results:  
The line containing "two" moves out of the blockquote.

Expected Results:  
The line containing "two" should stay within the blockquote.
You need to log in before you can comment on or make changes to this bug.