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)
Tech Evangelism Graveyard
Other
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.
| Reporter | ||
Comment 1•24 years ago
|
||
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.
Updated•24 years ago
|
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]
| Reporter | ||
Comment 2•23 years ago
|
||
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
Comment 4•23 years ago
|
||
resolved euro west non-.com url bugs to other
Component: Europe: West → Other
Updated•11 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•