[canvas] adding the canvas support