I can make the module to work with IE10, neither including nor excluding is taked into account:

Ej. 1:
stylesheets-conditional[lt IE 10][all][] = css/ie9-and-below.css

Ej. 2:
stylesheets-conditional[IE][all][] = css/ie.css

Update 1: I thought that the problem could be the two digit number version but I'm not sure if using "10" will solve this.

Update 2: This seems more serious than I thought... Microsoft Drop Conditional Comments in IE10.

Update 3:

Important As of Internet Explorer 10, conditional comments are no longer supported by standards mode. Use feature detection to provide effective fallback strategies for website features that aren't supported by the browser. For more info about standards mode, see Defining Document Compatibility.

Source.

Comments

warmth’s picture

Issue summary: View changes

added info

warmth’s picture

Issue summary: View changes

more info

johnalbin’s picture

Yes, this is a known… er… feature of IE 10.

There's nothing we can do in this module about it, afaik.

warmth’s picture

Any workaround? Today it was officially released IE10 for Win7, so my website is in danger to show up wrongly.

nycguyjason’s picture

Please add to the description of this module a warning that it will NOT work with IE10 due to the removal of conditional comments issue.

dianacastillo’s picture

i added this to the page.tpl.php to add a separate css for 10e

/*@cc_on @if (@_jscript_version == 10) document.write(' <link type= "text/css" rel="stylesheet" href="<?php echo $base_url; ?>/sites/all/themes/promisetheme/css/ie10.css" />'); @end @*/
dianacastillo’s picture

Issue summary: View changes

more info

jay.lee.bio’s picture

Although it's supposed to be a hack, the following worked for me on IE10:

@media screen and (min-width:0\0) {
CSS Code
}

For example, the following will make sure that the font size will be 15px instead of the default for .class-name:

@media screen and (min-width:0\0) {
.class-name {font-size:15px;}
}

dbassendine’s picture

Issue summary: View changes

I second #3 - please add a prominent note on the module description page that conditional comments do not work in IE10 and above. This would save a bunch of people some debugging time.

astonvictor’s picture

Status: Active » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks