homepage Welcome to WebmasterWorld Guest from 54.205.168.88
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Browsers / Microsoft Internet Explorer
Forum Library, Charter, Moderator: open

Microsoft Internet Explorer Forum

    
HTML5 - IE10 drops Conditional Comments
use feature detection instead
SuzyUK




msg:4336504
 5:53 pm on Jul 7, 2011 (gmt 0)

HTML5 Parsing in IE10 [blogs.msdn.com]

Removing legacy features

Because some features in earlier versions of IE arenít compatible with HTML5 parsing, weíve removed them from IE10 mode. Sites that rely on these legacy features will still work when running in legacy modes. This way, sites that work today will continue to work with IE10 even if the developers of the site donít have the time to update them.


Conditional Comments

<!--[if IE]>

This content is ignored in IE10 and other browsers.

In older versions of IE it renders as part of the page.

<![endif]-->


This means conditional comments can still be used, but will only target older versions of IE. If you need to distinguish between more recent browsers, use feature detection instead.


also removing support for Element Behaviours and XML Data Islands

 

lucy24




msg:4336587
 8:09 pm on Jul 7, 2011 (gmt 0)

Inquiring minds want to know: Does this mean that MSIE 10 will be taking the unheard-of step of doing all the things w3c says "compliant user agents" are supposed to do*? Its failure to do so was the main reason anyone ever needed to use the Conditional Comment.


* To say nothing of the things other browsers had figured out by 2004, like font substitution.

JAB Creations




msg:4336915
 1:20 pm on Jul 8, 2011 (gmt 0)

Because you know, it's not like in 2020 IE9's CSS will be substandard or it's lack of support for the video element will be anything we'll have to deal with. Oh wait, we will have to deal with it. Here's an idea, keep moving stranglers away from Internet Explorer.

- John

lucy24




msg:4337043
 5:44 pm on Jul 8, 2011 (gmt 0)

keep moving stranglers away from Internet Explorer

Really? I'd have encouraged them to get closer and do their stuff ;)

SuzyUK




msg:4337334
 9:30 am on Jul 9, 2011 (gmt 0)

doing all the things w3c says "compliant user agents" are supposed to do*?


yes, I do :) - I think it's a positive step, taking away the "pacifier" and forcing themselves to comply properly, I read they actually recommend using the HTML5 Doctype (forgot the page now, though it was in the area of their rendering modes, which is a nightmare scenario!) - so if they are recommending that along with the withdrawal of legacy features that will affect parsing and validation then I can only assume they now have it right - finally :)*

* one can hope after all this time, though since 8 they have been coming on leaps and bounds

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Browsers / Microsoft Internet Explorer
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved