Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
vladikoff committed Oct 24, 2010
2 parents 4984d75 + 72c0e59 commit c584b66
Show file tree
Hide file tree
Showing 36 changed files with 9,808 additions and 123 deletions.
4 changes: 4 additions & 0 deletions .gitignore
@@ -0,0 +1,4 @@
.svn/
publish/
build/buildinfo.properties
.DS_Store
39 changes: 22 additions & 17 deletions .htaccess
Expand Up @@ -20,8 +20,6 @@
# Because X-UA-Compatible isn't sent to non-IE (to save header bytes),
# We need to inform proxies that content changes based on UA
Header append Vary User-Agent
# Ensure proxy caching, since gzip is accept-encoding dependent.
Header append Vary Accept-Encoding
# Cache control is set only if mod_headers is enabled, so that's unncessary to declare
</IfModule>

Expand All @@ -46,23 +44,29 @@


# video
AddType video/ogg ogg ogv
AddType video/mp4 mp4
AddType video/webm webm
AddType video/ogg ogg ogv
AddType video/mp4 mp4
AddType video/webm webm

# Proper svg serving. Required for svg webfonts on iPad
# twitter.com/FontSquirrel/status/14855840545
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
AddType image/svg+xml svg svgz
AddEncoding gzip svgz

# webfonts
AddType application/vnd.ms-fontobject eot
AddType font/truetype ttf
AddType font/opentype otf
AddType font/woff woff

# assorted types
AddType image/vnd.microsoft.icon ico
AddType image/webp webp
AddType text/cache-manifest manifest
AddType text/x-component htc
AddType application/x-chrome-extension crx

# webfonts
AddType application/vnd.ms-fontobject eot
AddType font/truetype ttf
AddType font/opentype otf
AddType font/woff woff

AddType text/cache-manifest manifest
AddType text/x-component htc


# allow concatenation from within specific js and css files
Expand Down Expand Up @@ -90,8 +94,9 @@ AddType text/x-component htc
<IfModule mod_deflate.c>

# html, txt, css, js, json, xml, htc:
AddOutputFilter DEFLATE text/html text/plain text/css text/javascript application/javascript application/json
AddOutputFilter DEFLATE text/xml application/xml text/x-component
AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript
AddOutputFilterByType DEFLATE text/xml application/xml text/x-component

# webfonts and svg:
<FilesMatch "\.(ttf|otf|eot|svg)$" >
Expand All @@ -117,7 +122,7 @@ AddType text/x-component htc
# Perhaps better to whitelist expires rules? Perhaps.
ExpiresDefault "access plus 1 month"

# cache.manifest needs re-reqeusts in FF 3.6 (thx Remy ~Introducing HTML5)
# cache.manifest needs re-requests in FF 3.6 (thx Remy ~Introducing HTML5)
ExpiresByType text/cache-manifest "access plus 0 seconds"

# your document html
Expand Down
79 changes: 63 additions & 16 deletions README.markdown
@@ -1,23 +1,53 @@
# HTML5 Boilerplate [http://html5boilerplate.com](http://html5boilerplate.com)

## Changelog:

## License:

Major components:

* Modernizr: MIT/BSD license
* jQuery: MIT/GPL license
* DD_belatedPNG: MIT license
* YUI Profiling: BSD license
* HTML5Doctor CSS reset: Creative Commons 3.0 BY
* CSS Reset Reloaded: Public Domain

Everything else:

* [The Unlicense](http://unlicense.org) (aka: public domain)

### v.0.9.5 : October 25th, 2010

#### General
* Updated Modernizr to 1.6 (smaller and faster)
* Added web.config file for Microsoft IIS. Now forcing latest IE version and ChromeFrame, if installed.
* Added favicon and default icon for iOS.
* Updated crossdomain.xml wording for better security guidelines ( #124 ).
* Expires value for nginx.conf corrected.
* License clarified.

#### style.css
* Removed -webkit-font-smoothing: antialiased; as it made monospace too thin.
* Updated fonts normalization to YUI 3.2.0 PR1.
* Table Header set explicitly for IE6 and table row now has page-break: avoid in print CSS.
* text-shadow:none !important set for all text in print css.
* Removed scrollbar from textareas in IE.
* Fixed textarea stylings and form field treatment for validity. Added default background-color.
* New robust clearfix solution without IE 5.5 hack ( #45 #126 ).
* Margins for form-elements explicitly set to 0 as webkit adds 2px space around form elements' chrome.
* Dropped text-rendering: optimizeLegibility as it breaks small-caps and looks odd on Linux machines.
* Lists now have a left margin of 1.8em. Default list-style-type for ordered list is decimal.
* Image Replacement now works with right-to-left text ( #68 ).
* Removed "Star Hack" for checkboxes in favor of .ie7 selector.

#### index.html
* IE conditional classes have moved from the <body> tag to the <html> tag ( #44 ).
* Added a IE6 call for the minified dd_belatedpng.
* Google Analytics script will now work with SSL in IE6.
* Added protocol independent absolute path for cdn jquery, with improved fallback-to-local code to protect against edge case IE bug.
* Commented out handheld CSS ( #73 ).
* Mobile viewport and textsize styles adjusted per group feedback ( #37 ).

#### .htaccess
* More files are served via gzip like .htc ( #55 ).
* Added Expires header for content types image/gif and video/webm.
* Fixed favicon display in IE6 ( #113 ).
* Corrected mimetypes for fonts.
* Removed caching for files of type json/xml.
* Better use of ifmodule for more stability in different Apache environments.

[View full diff and commit history](http://github.com/paulirish/html5-boilerplate/compare/v0.9.1)


#### Contributors
Shi Chuan, Paul Neave, Weston Ruter, Jeffrey Barke, Robert Meissner, SirFunk, Philip von Bargen, Kroc Camen, Andreas Madsen, Marco d'Itri, Adeelejaz, James Rosen, Dave DeSandro, Ken Newman, Swaroop C H, Yann Mainier, Joe Sak, Irakli, Rob Flaherty, Ivan Nikolić, Jeff Starr, Mike Lamb, Holek, Aaron Peters, Kaelig, Meander, Charlie Ussery, Ciney, Région Wallonne and Paul Hayes.

## Changelog:

### v.0.9.1 : August 13th, 2010
* HTML5 Boilerplate is now in the Public Domain
Expand All @@ -38,6 +68,23 @@ voodootikigod, garowetz, fearphage, christopherjacob, mathias byenens, daniel ha

### v0.9 : August 10th, 2010 - Initial release


## License:

Major components:

* Modernizr: MIT/BSD license
* jQuery: MIT/GPL license
* DD_belatedPNG: MIT license
* YUI Profiling: BSD license
* HTML5Doctor CSS reset: Creative Commons 3.0 BY
* CSS Reset Reloaded: Public Domain

Everything else:

* [The Unlicense](http://unlicense.org) (aka: public domain)


## Summary:

This is a set of files that a front-end developer can use to get started on a website, with following included:
Expand Down
3 changes: 3 additions & 0 deletions build/build.properties
@@ -0,0 +1,3 @@
# build.properties file defines overrides for default.properties
# Explaination: This file should be created by each user as and when he or she needs to override particular values.
# Consequently, it should not be placed under version control.

0 comments on commit c584b66

Please sign in to comment.