forked from h5bp/html5please
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Divya Manian
committed
Dec 14, 2011
1 parent
c307a35
commit cebaede
Showing
20 changed files
with
168 additions
and
24 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
feature: Eventsource | ||
status: use | ||
tags: fallback | ||
kind: html | ||
polyfillurls:[EventSource.js](https://github.com/remy/polyfills/blob/master/EventSource.js), [jQuery.eventsource](https://github.com/rwldrn/jquery.eventsource) | ||
|
||
EventSource.js provides base fallback and is not dependent on jQuery. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
feature: audio | ||
status: use | ||
tags: polyfill | ||
kind: html | ||
polyfillurls: [jPlayer](https://github.com/happyworm/jPlayer), [audio.js](http://kolber.github.com/audiojs/), [Sound Manager 2](http://www.schillmania.com/projects/soundmanager2/) | ||
|
||
As with video, you need to provide your audio file in multiple formats for these to work. jPlayer also has a jQuery dependency. Sound Manager has extensive API for further customization. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
feature: canvas | ||
status: use | ||
tags: gtie8 polyfill | ||
kind: html | ||
polyfillurls: [FlashCanvas](http://flashcanvas.net/) | ||
|
||
Canvas is definitely good to go for modern browsers. But if you are looking to use it in IE 8 and below, use FlashCanvas. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
feature: datalist | ||
status: use | ||
tags: polyfill | ||
kind: html | ||
polyfillurls: [jQuery Datalist Plugin](http://miketaylr.com/code/datalist.html), [Relevant Dropdowns Polyfill](http://css-tricks.com/15346-relevant-dropdowns-polyfill-for-datalist/) | ||
|
||
Jeremy Keith has a [graceful fallback solution](http://adactio.com/journal/4272/) that does not use a script. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
feature: dataset | ||
status: use | ||
tags: polyfill | ||
kind: html | ||
polyfillurls:[HTML5 dataset support](http://eligrey.com/blog/post/html-5-dataset-support) | ||
|
||
[More info about dataset](http://dev.opera.com/articles/view/an-introduction-to-datasets/) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
feature: details | ||
status: use | ||
tags: polyfill | ||
kind: html | ||
polyfillurls: [Details](http://mathiasbynens.be/notes/html5-details-jquery) | ||
|
||
Use detail element if you intent to show a summary which when clicked reveals detailed information. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
feature: geo-location | ||
status: use | ||
tags: polyfill | ||
kind: html | ||
polyfillurls: [Geolocation Shim](https://gist.github.com/366184), [geo-location-javascript](http://code.google.com/p/geo-location-javascript/) | ||
|
||
The Geolocation shim requires jQuery to work, but if you are looking for a mobile specific script, you are better off using the geo-location-javascript. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
feature: history | ||
status: use | ||
tags: fallback | ||
kind: dom | ||
polyfillurls:[History.js](https://github.com/balupton/history.js), [pjax](http://pjax.heroku.com/) | ||
|
||
History.js has cross-compatibility between HTML5 browser implementations and optional hashchange fallback for HTML4 browsers. PJax (pushState + ajax = pjax) is what is used by Github for their fallback solution. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
feature: menu | ||
status: use | ||
tags: polyfill | ||
kind: html | ||
polyfillurls:[contextMenu](https://github.com/medialize/jQuery-contextMenu) | ||
|
||
Do note that this polyfill requires a jQuery dependency. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
feature: meter | ||
status: use | ||
tags: polyfill | ||
kind: html | ||
polyfillurls:[meter-polyfill](https://gist.github.com/667320), [jQuery shim](https://github.com/xjamundx/HTML5-Meter-Shim) | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
feature: progress | ||
status: use | ||
tags: polyfill | ||
kind: html | ||
polyfillurls:[HTML5 Progress Polyfill](https://github.com/LeaVerou/HTML5-Progress-polyfill) | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
feature: ruby | ||
status: use | ||
tags: fallback | ||
kind: html | ||
polyfillurls: [Cross-browser Ruby](http://www.useragentman.com/blog/2010/10/29/cross-browser-html5-ruby-annotations-using-css/), [basic fallback](http://sideshowbarker.net/2009/11/13/html5-ruby/#comment-3388) | ||
|
||
If you are using Ruby element you dont need a script-based fallback but you can provide a CSS based set of good defaults. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
feature: svg | ||
status: use | ||
tags: gtie8 polyfill | ||
kind: svg | ||
polyfillurls:[svgweb](http://code.google.com/p/svgweb/), [raphaeljs](http://raphaeljs.com/), [canvg](http://code.google.com/p/canvg/) | ||
|
||
SVG has good support for several years in most browsers except IE. IE9 brings support, which means you can use a polyfill library like SVGWeb or Canvg or create SVG dynamically via RaphaelJS. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
feature: text-shadow | ||
status: use | ||
tags: polyfill | ||
polyfillurls:[] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
feature: video | ||
status: use | ||
tags: polyfill | ||
kind: html | ||
polyfillurls:[mediaelementjs](http://mediaelementjs.com/), [videojs](http://videojs.com/) | ||
|
||
Do note you need to supply your video in various formats to cater to all browsers and fallbacks. There is also a way to do this without any scripting as explained by Kroc Camen in his article [Video for Everybody](http://camendesign.com/code/video_for_everybody). |
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