Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extra comments / rewording in header.
- Loading branch information
1 parent
a306143
commit 160a69a
Showing
1 changed file
with
56 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
160a69a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you dont' nead html5.js if IE9.js is used
160a69a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't think this was the case? See: http://stackoverflow.com/questions/3855294/html5shiv-vs-dean-edwards-ie7-js-vs-modernizr-which-to-choose/3855343#3855343
160a69a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IE9.js adds support for HTML5 elements, so you don't need to include html5.js
BTW in my opinion adding IE9.js by default is not a good idea. Some fixes done by this library can be confusing for less experienced developers. I would use only html.5 js to enable html5 elements for older borwsers. Eventualy html5.js + selectivizr http://selectivizr.com/
//edit:
consider using conditional classes for html tag: http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
160a69a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Originally I'd included IE7.js which I usually use, but bumped it up to IE9.js honestly not thinking too much about the consequences. It sounds like replacing IE9.js with Selectivizr would be a good idea so theres no so much cross-over.
Regarding the
<html>
tag, this is just a personal preference of mine as I used to include this in the past, but found that in practice I never needed to use the.ie7
class etc in my CSS and just dropped the whole thing. In a similar way I've never relied on browser-specific CSS files. Do you think people will benefit from it being included?160a69a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking about it, its probably a good idea to follow HTML5Boilerplate or similar near exactly, as there's a lot of smart people behind it and there are researched/tested reasons they included certain things.
160a69a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my opinion it's a good idea to follow html5boilerplate or html5reset http://html5reset.org/ (personaly i prefer the second one). as you said there's a lot of smart people behind it ;)