Open Bug 306455 Opened 20 years ago Updated 5 years ago

[midas] Midas improperly collapses <p>'s together corrupting anchor tags

Categories

(Core :: DOM: Editor, defect, P5)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: grompf, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/412.6.2 (KHTML, like Gecko) Safari/412.2.2 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20050829 Firefox/1.6a1 The midas editor will improperly merge to <p>'s that contain trailing and leading href's removing one of the hrefs. The two distinct hrefs should not be collapsed into one. This has been tested on Firefox 1.06 for Mac and Windows. This has been tested and confirmed on DP A2 20050829 nightly for Mac and Windows. Reproducible: Always Steps to Reproduce: 1. Go to http://www.mozilla.org/editor/midasdemo/ 2. Check View HTML Source 3. Paste "<p><a href="A">A</a></p><p><a href="B">B</a></p>" as all the content. 4. Uncheck View HTML Source 5. Place the cursor directly in front of "B" 6. Press backspace 7. Check View HTML Source Actual Results: The new html content is "<p><a href="B">A<br />B</a></p>" Expected Results: The new html content should be "<p><a href="A">A<br /></a><a href="B">B</a></p>"
Reproducible with Mozilla 1.8b1 and SeaMonkey/20050828, also reproducible in Composer (paste in HTML Source View, backspace in Normal View).
Still reproducible in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20070206 Minefield/3.0a2pre
QA Contact: editor
Assignee: mozeditor → nobody

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.

If you have reason to believe this is wrong, 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.