Re: [css-d] IE8 is better but ... X-UA-Compatible response header
Setting the X-UA-Compatible response header has some aspects I find remarkable. meta http-equiv=X-UA-Compatible content=IE=6 or meta http-equiv=X-UA-Compatible content=IE=5 ... - content=IE=5 or content=IE=6 throws IE8b1 in quirksmode, even if the document has a standards Doctype. while - content=IE=8 or content=IE=9 ... throws IE8 in Standards-IE8-Mode, even if there is /no/ doctype (or a quirksmode triggering doctype). and - content=IE=7 throws IE8 in Standards-IE7-Mode, even if there is /no/ doctype (or a quirksmode triggering doctype). Other content like IE=4 or IE=nonsense keeps IE8 in Standards-IE8-Mode if there is a standards doctype, so I think they are simply ignored. But IE=5 or IE=6 are not ignored, they have a meaning that is not documented yet afaik. So the meta-switch is able to take precedence over the doctype switch in any case. Ingo -- http://www.satzansatz.de/css.html http://www.dolphinsback.com __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] IE8 is better but ... X-UA-Compatible response header
So the meta-switch is able to take precedence over the doctype switch in any case. Definitely! That's by design. Doctype switching will continue to work as usual; you can choose between Quirks (IE5.5) and Standard (IE8). However, any meta switch will ALWAYS overrule any doctype. Setting the X-UA-Compatible response header has some aspects I find remarkable. meta http-equiv=X-UA-Compatible content=IE=6 or meta http-equiv=X-UA-Compatible content=IE=5 ... - content=IE=5 or content=IE=6 throws IE8b1 in quirksmode, even if the document has a standards Doctype. while - content=IE=8 or content=IE=9 ... throws IE8 in Standards-IE8-Mode, even if there is /no/ doctype (or a quirksmode triggering doctype). and - content=IE=7 throws IE8 in Standards-IE7-Mode, even if there is /no/ doctype (or a quirksmode triggering doctype). Other content like IE=4 or IE=nonsense keeps IE8 in Standards-IE8-Mode if there is a standards doctype, so I think they are simply ignored. But IE=5 or IE=6 are not ignored, they have a meaning that is not documented yet afaik. Ingo -- http://www.satzansatz.de/css.html http://www.dolphinsback.com __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ -- --- ppk, freelance web developer http://www.quirksmode.org/ -- __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] IE8 is better but ... X-UA-Compatible response header
Ingo Chao wrote: - content=IE=5 or content=IE=6 throws IE8b1 in quirksmode, even if the document has a standards Doctype. The real IE5 and IE6 have many differences in their support and interpretation of CSS in quirks mode. Does IE8 reflect these differences - as the meta-number suggests? So the meta-switch is able to take precedence over the doctype switch in any case. Which is what has been indicated from the start, I think. It's just the default for no meta that has changed. regards Georg -- http://www.gunlaug.no __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] IE8 is better but ... X-UA-Compatible response header
Gunlaug Sørtun wrote: Ingo Chao wrote: - content=IE=5 or content=IE=6 throws IE8b1 in quirksmode, even if the document has a standards Doctype. The real IE5 and IE6 have many differences in their support and interpretation of CSS in quirks mode. Does IE8 reflect these differences - as the meta-number suggests? Based on the Versioning and Internet Explorer Modes whitepaper, making the assumption that Microsoft just kept the old IE7 Quirks mode, it seems like we have four modes: IE7 Quirks (versions7), IE7 Standards (version=7), IE8 Standards (version =8) and Best possible (version=edge), with Best possible being the same as IE8 Standards in IE8. Copying the table from that whitepaper: Common Name New Compatibility Mode Value Quirks IE=5 IE7 Standards IE=7 IE8 Standards IE=8 Best possible mode IE=edge What was new to me was that the meta is able to trigger quirks mode. Thats probably not important, but I did not get this from Aaron Gustafson's beyonddoctype ALA article. Is there any technical paper out that informs about the meta and header? uri:http://code.msdn.microsoft.com/ie8whitepapers/Release/ProjectReleases.aspx?ReleaseId=569 -- David liorean Andersson __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] IE8 is better but ... X-UA-Compatible response header
Based on the Versioning and Internet Explorer Modes whitepaper, making the assumption that Microsoft just kept the old IE7 Quirks mode, it seems like we have four modes: IE7 Quirks (versions7), IE7 Standards (version=7), IE8 Standards (version =8) and Best possible (version=edge), with Best possible being the same as IE8 Standards in IE8. Copying the table from that whitepaper: Common Name New Compatibility Mode Value Quirks IE=5 IE7 Standards IE=7 IE8 Standards IE=8 Best possible mode IE=edge Yes, that's essentially correct. IE=edge was added back in the days the default behaviour was going to be IE7 mode, but now that the default has switched to Best (IE8 mode, for now), the edge value has become kind of pointless. -- --- ppk, freelance web developer http://www.quirksmode.org/ -- __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/