You are here: Quirks Mode: based on DOCTYPE sniffing, not validation result « HTML « IT news, forums, messages
Quirks Mode: based on DOCTYPE sniffing, not validation result

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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация