canvas and pad width and height attributes