OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
div#div# Another IE CSS Hack technique?
This page's ID:
30572
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[quote][b]DL-44 said:[/b] Just for the record....this is a *completely" irrelevant question.[/quote] No, it's not. It's hypothetical. So please answer it instead. [quote][b]reisio said:[/b][quote]Browsers sniff the doctype declaration. Does that mean that a doctype is invalid as it's not used the way the spec describes?[/quote]No of course not, but if you used a doctype declaration in a way that is at odds with how the spec says it is to be used, it would.[/quote] That was my whole point. Doctype sniffing is not in the spec. It doesn't talk about "standards mode" or "quirks mode". Browsers started using the doctype for something that it wasn't meant for according to the spec*. Now, if someone inserts a doctype declaration in a document for the sole purpose of triggering standards mode (which, in your own words, "is at odds with how the spec says it is to be used"), does that mean that the document is invalid? No, of course not. Browser behavior does not decide what's valid/non-conformant or not. And I completely agree with liorean, who sums it up great, especially in the last post. ______ *) And by the way, from an SGML point of view, the description of doctypes in HTML 4 is completely non-sensical. [small](Edited by [url=http://www.ozoneasylum.com/user/2269]HZR[/url] on 10-25-2008 15:09)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »