|
Posted by Jukka K. Korpela on 06/19/07 06:31
Sub titulo Re: ie issues
scripsit Chaddy2222:
> Well, the fact that your HTML dos not even validate means that you are
> throwing UA's into quirks mode,
No, validation has nothing to do with it. Going to Quirks Mode is based on
"DOCTYPE sniffing", which means looking for a string of particular kind at
the start of a document. If there is no such string, or it does not match
one of very specific patterns, then Quirks Mode, here we come.
For a document that does not specify any document type, there's even no
concept of validation. You can still use a validator so that you tell it to
imply a document type declaration, but that means validating a document
different from your actual document. And even then, the result of validation
has no impact on the choice of Quirks vs. "Standards" Mode.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
[Back to original message]
|