Open Bug 278518 Opened 20 years ago Updated 2 years ago

save page as complete strips blank lines from a textarea

Categories

(Core :: DOM: Serializers, defect)

defect

Tracking

()

People

(Reporter: ForMozilla, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050114 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050114 Firefox/1.0+

After navigating to <http://www.geocities.com/storagebin123/TestCase.html>,
executing "Save Page As -> Web Page, complete" will result in a saved file in
which the blank lines in the textarea are missing and the seperate lines of text
are bunched together.

This does not seem to occur when executing "Web Page, HTML only."

Reproducible: Always

Steps to Reproduce:
1. Navigate to http://www.geocities.com/storagebin123/TestCase.html
2. Execute Save Page As -> Web Page, complete
3. View the saved file.

Actual Results:  
Blank lines are missing from the textarea.

Expected Results:  
Blank lines in textareas are retained.
Sounds like a serializer bug... 

Confirming, but it'd be good to have an idea of why this happens...
Assignee: file-handling → dom-to-text
Status: UNCONFIRMED → NEW
Component: File Handling → DOM to Text Conversion
Ever confirmed: true
OS: Windows XP → All
QA Contact: ian
Hardware: PC → All
Depends on: 422403
My patch for bug 422403 (not yet landed at this time) fixes this bug. I still have to add a mochitest to verify this bug automatically.
Status: NEW → ASSIGNED
Assignee: dom-to-text → nobody
QA Contact: dom-to-text
This is a mass change. Every comment has "assigned-to-new" in it.

I didn't look through the bugs, so I'm sorry if I change a bug which shouldn't be changed. But I guess these bugs are just bugs that were once assigned and people forgot to change the Status back when unassigning.
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.