Closed Bug 368619 Opened 18 years ago Closed 18 years ago

Whitespace after </body></html> becomes a text node child of body UNLESS the page uses external scripts

Categories

(Core :: DOM: HTML Parser, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Assigned: mrbkap)

Details

(Keywords: testcase)

Attachments

(2 files)

The two pages I'm attaching are identical except that one uses an external script and the other doesn't. The line break after </html> becomes a whitespace text node child of the body element in one but not the other. This confuses the heck out of some of my scripts, which have behavior that depends on the exact number of nodes in the document.
Attached file with external script
WFM on trunk.
Status: NEW → RESOLVED
Closed: 18 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: