WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
167349
When using 100vw and page zoom, the vw doesn't get updated to show the zoom level
https://bugs.webkit.org/show_bug.cgi?id=167349
Summary
When using 100vw and page zoom, the vw doesn't get updated to show the zoom l...
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
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug