Closed Bug 149447 Opened 24 years ago Closed 23 years ago

keskisuomalainen.net - doctype triggers strict parsing, although page needs quirks

Categories

(Tech Evangelism Graveyard :: Other, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: hjtoi-bugzilla, Assigned: tristan)

References

()

Details

(Whiteboard: [DOCTYPE][SYNTAX-HTML])

The Keskisuomalainen web page (Keskisuomalainen is one of the biggest newspapers in Finland) starts with: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> which, according to http://www.mozilla.org/docs/web-developer/quirks/doctypes.html will trigger strict mode in Mozilla. The simplest fix on the site would be to just get rid of the system identifier, i.e. remove this part: "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd" I am filing this as an evangelism bug, but Cc some of the people involved in writing the strict mode detection. Specifically my question is, why does the system identifier matter? I would have expected transitional doctype to cause quirks mode. I will email the site now.
Hmm, I didn't really say why this fails... So, since the DOCTYPE triggers strict mode, we will parse comments (among other things) strictly according to the HTML specification. Unfortunately the page is not valid. Especially the comments are bad, which means Mozilla in strict mode will "eat" large chunks of the page as comments. You can check the page validity by using the validator at W3C for example: http://validator.w3.org Feedback sent to the site.
Summary: [www.keskisuomalainen.net] Doctype triggers strict parsing, although page needs quirks → keskisuomalainen.net - doctype triggers strict parsing, although page needs quirks
Whiteboard: [DOCTYPE][SYNTAX-HTML]
They removed the doctype completely from the beginning so this became fixed. The site seems to be down currently, but I have been using it for several weeks.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
v
Status: RESOLVED → VERIFIED
resolved euro west non-.com url bugs to other
Component: Europe: West → Other
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.