add some html + css test to resize canvas.