Open Bug 697114 Opened 9 years ago Updated 9 years ago
BR tags appended
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.
Component: General → Editor
QA Contact: general → editor
Attachment #569376 - Attachment mime type: text/plain → text/html
You need to log in before you can comment on or make changes to this bug.