view and style inheritance