views:

295

answers:

3

I thought I remembered reading somewhere that IE9 would not be supporting them, but now after searching I can't find any indication that this is true.

Is anyone aware of a definitive statement, either way, about whether Microsoft will be supporting conditional comments in IE9?

+1  A: 

I believe it will have to, otherwise a huge amount of sites will break all at once and it's not in the best Microsoft's interests to make that sort of start for IE9.

If there is going to be some sort of compatibility mode, then it is possible conditional comments will be supported in this mode but not in "pure IE9".

P.S. Just speculations.

Developer Art
+7  A: 

Update: Straight from the horse's mouth, EricLaw from the IE team has confirmed below that CCs are here to stay.


Although this isn't a certainty that they will be in the final build, the Platform Preview supports them, fire it up (or download it, then fire it up) and see this example - http://jsbin.com/axaju3:

<!--[if IE 9]>
    <p>You are using IE 9</p>
<![endif]-->

Tested in IE 9 Document Mode.

Other than that, it's probably too early to know if they will be in or not.

Andy E
A: 

Doesn't matter, you don't need IE conditional comments, and never have.

reisio
Right because IE is pretty much doing everything like all the other browsers around </sarcasm>
Kau-Boy
@Kau-Boy: No browser is pretty much doing everything like all the other browsers around.
reisio