Closed Bug 45832 Opened 24 years ago Closed 24 years ago

DOCTYPE is ignored if not at the very beginning of the document

Categories

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

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: pierre, Assigned: rickg)

References

Details

(Keywords: regression, Whiteboard: nsbeta3+ fix waiting.)

Attachments

(1 file)

- Extracted from bug 45804.
- Tested on the Mac but it must be a cross-platform problem.

A regression was introduced between M17 06/28 and M17 06/30: if spaces are 
inserted before the DOCTYPE declaration, the declaration is ignored.

See the testcase that I'm going to attach.
Attached file testcase
Keywords: regression
I suspect this would be fixed by the DOCTYPE parsing code I attached to bug
44340.
OS: Mac System 9.0 → All
Hardware: Macintosh → PC
Hardware: PC → All
A common problem that should probably be fixed for beta3.
Status: NEW → ASSIGNED
Keywords: nsbeta3
Marking nsbeta3-
Whiteboard: [nsbeta3-]
Trivial fix waiting in my tree.
Assignee: harishd → rickg
Status: ASSIGNED → NEW
Whiteboard: [nsbeta3-] → [nsbeta3-] fix waiting.
Moving back to nsbeta3+. Easy fix in my tree.
Whiteboard: [nsbeta3-] fix waiting. → nsbeta3+ fix waiting.
Setting correct milestone.
Status: NEW → ASSIGNED
Target Milestone: --- → M18
My error was that I didnt set the parse process up correctly to ignore ws. 
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Er, not vtrunk, just plain VERIFIED, since it was fixed before branching!
Status: RESOLVED → VERIFIED
Keywords: vtrunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: