h5bp/mobile-boilerplate — pull request #109 by Trott (2012-03-29 06:00:35+00:00)
Title: Use conditional comment for IEMobile-specific meta tag that doesn't validate

index.html is not valid HTML5 because a value of `cleartype` is not permitted for the `http-equiv` attribute in ``. (Either that or http://www.w3.org/TR/html5/semantics.html#attr-meta-http-equiv is out of date, which I suppose is entirely possible since it's a work-in-progress and all that.)

Assuming I'm not completely off base here and that producing valid HTML5 is important to the project, perhaps an acceptable solution is to enclose that invalid markup in a conditional comment like I've done here.

The comments around the invalid markup already indicate that it's for Mobile IE.

I believe the conditional comments are only supported on Windows Phone 7 and later, so I guess earlier phones will have to deal without the smoother typefaces. (I'm OK with that personally, but Windows Phones before Windows Phone 7 constitutes a vanishingly small portion of traffic to my sites.)