[Webkit-unassigned] [Bug 145614] Viewport unit values affected by browser zoom

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 11 16:15:38 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=145614

hexalys <bruno at hexanet.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bruno at hexanet.net

--- Comment #4 from hexalys <bruno at hexanet.net> ---
http://codepen.io/hexalys/full/XbGvvW(In reply to comment #3)
> I cannot reproduce. By "browser zoom" do you mean pinch-zoom on the trackpad?

Joey's example is is not very clear. Here is simple layout with VW units.
http://codepen.io/hexalys/full/XbGvvW

As you zoom in with CMD +, you can see that the VM units remains based on a 100% zoom. e.g. 50% of the viewport width become 75% at 150% zoom etc..

Other browsers will adjust VW units to the rescaled viewport width
according to the zoom ratio.

Without that adjustment, all responsive layouts will be affected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150811/a039baff/attachment-0001.html>


More information about the webkit-unassigned mailing list