[html5] Honour the requested width and height requested
Merge pull request #268 from alebianco/master

[html5] Honour the requested width and height