test if canvas supported