test on dirname attribute
submit to iframe to avoid redirect
use W3C editor's draft
use iframe load event instead of timeout
remove useless attributes
Merge pull request #691 from deniak/dirname-attr

test on dirname attribute