Open
Bug 561013
Opened 15 years ago
Updated 4 years ago
Design Mode : Formatting of html source get discarded for certain tags when pasting HTML content
Categories
(Core :: DOM: Editor, defect, P5)
Tracking
()
NEW
People
(Reporter: BijuMailList, Unassigned)
References
Details
(Keywords: testcase)
Formatting of html source get discarded for certain tags when pasting HTML content in design mode.
So far I have noticed it on OL UL DL
Steps :-
1. goto attachment 438938 [details]
(a modified Midas Demo from Bug 559261)
2. click View HTML source
3. paste following in View Source screen
<div>
<p>dfdfd</p>
<p>dfdfd</p>
<ul>
<li>jhjhj</li>
<li>jhjhj</li>
<li>jhjhj</li>
</ul>
<span>adad</span>
<span>adad</span>
</div>
4. flip between View HTML and back
- notice the html is preserving the formatting (source indentation)
5. come back to design mode
6. select all the content
7. copy the content
8. paste it back
9. view HTML source again
Result:-
UL lost formating all the content is in one line as
<ul><li>jhjhj</li><li>jhjhj</li><li>jhjhj</li></ul>
Expected:-
Preserve formating
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a5pre)
Gecko/20100421 Minefield/3.7a5pre (.NET CLR 3.5.30729)
Comment 1•4 years ago
|
||
Bulk-downgrade of unassigned, >=3 years untouched DOM/Storage bug's priority.
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.
Description
•