[html5] Honour the requested width and height requested