Closed Bug 483651 Opened 14 years ago Closed 12 years ago
Trailing <br> node not removed when it should be
When bug 132133, it ensured that the last node in non-empty non-single-line editors would be a <br> node. However, it proves very persistent - when all other content is removed from the tree, and it no longer serves any purpose, it should go away, and the special "bogus node" should reappear. Instead it sticks around. Consequences of this include: - documentIsEmpty reporting the wrong value - deleting text in a <textarea> by a) manually backspacing through the text and b) select all followed by cut lead to different DOM trees
The patch looked good, I just updated it to apply cleanly on trunk. I'll land it on mozilla-inbound.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.