Bug 167349

Summary: When using 100vw and page zoom, the vw doesn't get updated to show the zoom level
Product: WebKit Reporter: Aaron Hickman <aaronhickman311>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bfulgham, simon.fraser, zalan
Priority: P2    
Version: Safari 10   
Hardware: Mac   
OS: macOS 10.12   

Aaron Hickman
Reported 2017-01-23 17:39:39 PST
When using viewport units, specifically 100vw in this scenario, it will not take into consideration any zoom level. For example, I have a <div> that I want to span the entire width of the page, so I give it a style of width=100vw. If I zoom out (View -> Zoom Out) it no longer takes up the entire width. I have a Stack Overflow issue created here: http://stackoverflow.com/questions/41817411/safari-100vw-layout-issue-when-zoomed-help-me-understand And a jsFiddle here: https://jsfiddle.net/4vax8Lga/ I would expect that 100vw should take up the entire width of the screen, even when zoomed out.
Attachments
Note You need to log in before you can comment on or make changes to this bug.