Created
February 9, 2012 12:05
-
-
Save nfreear/1779550 to your computer and use it in GitHub Desktop.
HTML5 shim - minimal/elements only, by Remy sharp and others | http://code.google.com/p/html5shim/
This file contains hidden or 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
| <!DOCTYPE html> <title>*HTML5 shim - minimal/ elements only</title> | |
| <!--[if lt IE 9]> | |
| <script> | |
| // http://html5shim.googlecode.com/svn/trunk/html5-els.js | |
| // For discussion and comments, see: http://remysharp.com/2009/01/07/html5-enabling-script/ (credit to @jdalton for minif) | |
| /*@cc_on'abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary subline time video' | |
| .replace(/\w+/g,function(n){document.createElement(n)});alert('html5shim-els')@*/ | |
| </script> | |
| <![endif]--> | |
| <!--Full fat: <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>--> | |
| <style> | |
| abbr{ border-bottom:1px dotted gray; cursor:help; } | |
| article,audio,video{ border:2px solid green; display:block; margin:1em; } | |
| </style> | |
| <abbr title="Abbreviation">MY ABBR</abbr> | |
| <article> [ MY ARTICLE ] </article> | |
| <audio controls> [ MY AUDIO ] </audio> | |
| <video controls><source /><track kind="subtitle" /> [ MY VIDEO ] </video> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment