Closed Bug 265045 Opened 20 years ago Closed 20 years ago

"File => Save page as => Web Page, complete" corrupts HTML around <P> tags

Categories

(SeaMonkey :: General, defect)

Other Branch
x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 225979

People

(Reporter: blklein, Unassigned)

References

()

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Win98; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Win98; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

This page is designed to show that Internet Explorer does not comply with HTML
standards because of the <comment> tag. In attempting to demostrate the problem
offline, I saved the page to disc. On loading the saved page in Internet
Explorer, it displayed differently to directly from the web.

The HTML standard indicates that the <comment> tag should be ignored and that
</P> is not necessary. By adding the </P> and treating <comment> and </comment>
as valid tags, the page formatting is corrupted.

Reproducible: Always
Steps to Reproduce:
1. Load page http://hatethesystem.com/~shack/projects/compat/
2. Save Page as Web Page complete.
3. Load the saved page in Internet Explorer and compare with the same page
loaded in Internet Explorer from the web.
4. Compare "View source" with the saved file.
Actual Results:  
The following was saved to disc (relevant part of file only):

<comment>lp.</comment></p><p>This<comment> page is</comment>

There is another example later in the file.

Expected Results:  
The following should have been saved:

<comment>lp.<p>Thi</comment>s<comment> page is</comment>

This bug also occurs in the Windows and PC Linux versions of Mozilla.
Attached file The "Saved as..." file
This is the file that has incorrect layout in Internet Explorer
Attached file The "View Source" file
This shows what should have beeen saved.
Assignee: firefox → general
Component: General → Browser-General
Product: Firefox → Browser
QA Contact: firefox.general → general
Version: unspecified → Other Branch
Save as web page complete dumps the parsed DOM to disk, there's old old bugs on
this.  Please search and mark as a duplicate  Given that save as web page,
complete also modifies links to external references, its not ever going to be
exactly what the original source is, anyway.
Whiteboard: DUPEME

*** This bug has been marked as a duplicate of 225979 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: