Closed Bug 4215 Opened 26 years ago Closed 26 years ago

CNavDTD does not grok optional BODY start tags

Categories

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

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: ian, Assigned: harishd)

References

()

Details

See test page uri. It does not render. Adding the <BODY> element back in makes NGLayout render it pixel perfect. WHAT HAPPENS: NG Layout displays background of BODY and nothing else. Presumably it puts the rest of the document into the HTML element directly, instead of infering a BODY start tag, but since I do not have a debug build I cannot confirm this. WHAT SHOULD HAPPEN: NG Layout should infer the optional BODY start tag. This is a regression. NGLayout has rendered that page fine in the past.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
I don't see the problem. The page given above renders correctly for me. Can someone verify that the correct URL is given?
Whiteboard: py8ieh will verify 1999-03-25 @ 2300 UTC (1500 PST)
Status: RESOLVED → REOPENED
Whiteboard: py8ieh will verify 1999-03-25 @ 2300 UTC (1500 PST)
Gack! Wrong URI. Sorry. The correct uri is: http://www.bath.ac.uk/%7Epy8ieh/internet/html40/test41-1.html
Resolution: WORKSFORME → ---
Whiteboard: (py8ieh: need test for HTML and HEAD optional start tags)
Assignee: rickg → harishd
Status: REOPENED → NEW
I guess this bug is caused by me. Assinging the bug to myself.
Unable to reach the above URL!!!.
The URI is correct. There may have been a transient glitch when you tried. If you still cannot reach it (and you've checked your local setup...) say so again and I'll move it somewhere else.
Status: NEW → RESOLVED
Closed: 26 years ago26 years ago
Resolution: --- → FIXED
The problem was, when the body was not present, all the tags that could not be contained inside the HTML element got discarded. This bug was caused by me when I added code to discard misplaced tags ( especially in the HEAD ). Verified the page and it looks fine now. Marking the bug fixed.
Status: RESOLVED → VERIFIED
Whiteboard: (py8ieh: need test for HTML and HEAD optional start tags)
You need to log in before you can comment on or make changes to this bug.