Closed Bug 50903 Opened 24 years ago Closed 24 years ago

No child of the HEAD element should be visible

Categories

(Core :: DOM: HTML Parser, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED WONTFIX

People

(Reporter: Laurent.Rineau__mozilla.org, Assigned: rickg)

Details

Attachments

(2 files)

According to to default style sheet for HTML, the HEAD should be invisible
Look at that page: http://www.eleves.ens.fr/home/rineau/bugzilla.html and you
will see that a non-empty child of the HEAD element is visible.

(I use M17 on linux, build ID: 2000080712).
Parser is probably terminating HEAD based on either unknown tag or character
data.  That seems wrong, and bad for forward-compat.
Assignee: clayton → rickg
Status: UNCONFIRMED → NEW
Component: HTML Element → Parser
Ever confirmed: true
QA Contact: lorca → janc
Yes David, you seem to be right: on a second version of my example page
(see http://www.eleves.ens.fr/home/rineau/bugzilla2.html), I have put all the
body in the HEAD element and all is displayed, with HTML formating.
Hark: DBaron argued for non-strictness, got it, then doesn't like it. :)

This is in fact backward compatible behavior, and works like both IE and nav.
Marking wont fix. By the way, we close the head once we find any content that 
can be put in the body (ignoring ws/lf).
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
VERIFIED. The document is invalid and we are acting in a backwards-compatible
manner. No problem visible here, move along now. :-)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: