Skip to content

Commit

Permalink
IE9 fix with commented <source> elements
Browse files Browse the repository at this point in the history
  • Loading branch information
patheard committed Dec 12, 2012
1 parent 2803fc5 commit 4cf8360
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions demos/picture/picture-eng.html
Expand Up @@ -106,8 +106,15 @@ <h1 id="wb-cont">Picture Element</h1>
<source src="images/parliament-hill-medium.jpg" media="(min-width: 500px)">
<source src="images/parliament-hill-large.jpg" media="(min-width: 960px)">
<source src="images/parliament-hill-extralarge.jpg" media="(min-width: 1200px)">

<!-- Fallback for non-supporting browsers -->

<!-- IE9 support
<source src="images/parliament-hill-small.jpg">
<source src="images/parliament-hill-medium.jpg" media="(min-width: 500px)">
<source src="images/parliament-hill-large.jpg" media="(min-width: 960px)">
<source src="images/parliament-hill-extralarge.jpg" media="(min-width: 1200px)">
-->

<!-- Fallback for non-supporting browsers -->
<img src="images/parliament-hill-large.jpg" alt="Parliament Hill">
</picture>
<p class="margin-top-none">Photo by <a href="http://www.flickr.com/photos/intercultura/6130311384">Noema Pérez</a>, licensed under <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/deed.en_CA">Creative Commons</a>.</p>
Expand Down

0 comments on commit 4cf8360

Please sign in to comment.