IE10 will drop support for conditional comments

IE10 will be dropping support for conditional comments. As stated in the post, feature and behaviour detection is preferable to browser detection – but with so many quirks in previous versions of IE, those aren’t often enough. So conditional comments to add classes to the html element for IE<10 will stay around for quite a while longer.

1 thought on “IE10 will drop support for conditional comments

  1. Matt Stow (@stowball)

    I’ve written a small, vanilla JavaScript plugin called Layout Engine, which allows you to feature detect IE 10 (and every other browser), in a simple way that cannot be faked, unlike user agent sniffing.

    It adds the rendering engine name as a class on the html tag and returns a JavaScript object containing the vendor and version (where appropriate)

    Check out my blog post: http://mattstow.com/layout-engine.html and get the code on GitHub: https://github.com/stowball/Layout-Engine

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s