Skip to content

Commit

Permalink
addt'l docs on @cc conditional comments and their unreliability
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Jun 6, 2010
1 parent c5042b6 commit 0da5c26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modernizr.js
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,8 @@ window.Modernizr = (function(window,doc,undefined){
m = f = null;

// Enable HTML 5 elements for styling in IE.
// fyi: jscript version does not reflect trident version
// therefore ie9 in ie7 mode will still have a jScript v.9
if ( enableHTML5 && (function(){ var elem = document.createElement("div");
elem.innerHTML = "<elem></elem>";
return elem.childNodes.length !== 1; })()) {
Expand Down

0 comments on commit 0da5c26

Please sign in to comment.