why do we need to check if `view.style`?