Open
Bug 697114
Opened 14 years ago
Updated 5 years ago
BR tags appended
Categories
(Core :: DOM: Editor, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: jlvosters, Unassigned)
Details
Attachments
(1 file)
1.40 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20110928134238
Steps to reproduce:
Using Firefox 7.0.1.
Case 1
1. Create a contenteditable iframe.
2. Create and append a span element to the iframe body.
3. Show the innerHTML
Case 2
1. Set the innerHTML of the iframe body to a span tag with content.
2. Show the lastNode of the iframe body to be a span.
3. Iterate and remove the children of the iframe body showing the tag removed.
4. Show the lastChild of the returned document fragment.
Actual results:
Case 1: A BR tag prefixes the span tag and is shown in the innerHTML alert.
Case 2: A BR tag is appended to the returned document fragment.
Expected results:
Case 1: No BR tag should have been appended.
Case 2: No BR tag should exist and therefore should not be appended or found during iteration of nodes.
![]() |
||
Updated•14 years ago
|
Component: General → Editor
QA Contact: general → editor
Updated•13 years ago
|
Attachment #569376 -
Attachment mime type: text/plain → text/html
Comment 1•5 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.
If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•