h5bp/html5-boilerplate — Issue #1002: IE conditional comments to target ie9/ie10 and non-ie browser
Author: yogoo
Created: 2012-02-28 12:54:50+00:00
State: open

Consider adding a conditional comment to target ie9, ie10 and non ie-browser :

This allows to differentiate ie9 from browsers that offer a better support of html5/css3 (ie10, chrome, FF, safari) and to write rules that should never be applied when the browser is Internet Explorer.

I just needed that on site's form for graceful degradation of the placeholder attribute without using any javascript.
This allows to hide form labels and use placeholder where supported (ie10, chrome, FF, saf.) and to show labels where placeholders are not supported (ie9 and below).