moxiecode/moxie — pull request #98 by karl (2014-08-27 10:11:41+00:00)
Title: Add extensions to accepts attribute for html5

Escape the madness of mime types by adding support for filtering by file extension to the html5 runtime!

This is part of the W3C spec, as documented here:
http://www.w3.org/TR/2012/WD-html5-20121025/states-of-the-type-attribute.html#attr-input-accept

At the moment only some browsers support filtering by extension (Safari, Chrome, IE10, IE11). But hopefully support for other browsers should be in the pipeline.