Skip to content

Instantly share code, notes, and snippets.

@jbalsas
Created August 27, 2013 11:54
Show Gist options
  • Select an option

  • Save jbalsas/6352598 to your computer and use it in GitHub Desktop.

Select an option

Save jbalsas/6352598 to your computer and use it in GitHub Desktop.
Expected usage of aui for HTML5 in IE8
<html>
<head>
<title>AUI HTML5 shiv Test</title>
<script src="http://cdn.alloyui.com/2.0.0pr6/aui/aui-min.js"></script>
<script type="text/javascript">
new YUI().use('aui-base');
</script>
<style type="text/css">
nav {
background-color: #ff00ff;
display: block;
}
</style>
</head>
<body>
<nav>
<a href="http://www.alloyui.com">IE8 is sad :(</a>
</nav>
</body>
</html>
@jbalsas
Copy link
Author

jbalsas commented Aug 27, 2013

Despite aui-base-html5-shiv is included, it doesn't fix html5 markup in IE < 9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment