W3C home > Mailing lists > Public > www-style@w3.org > August 2012

Re: [css3-values] viewport units (v*) and zoom

From: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Date: Tue, 21 Aug 2012 07:32:48 +0200
Message-ID: <CAOxFTcz=bg=Tn2b_u97J7bVpi3i6-oPVbO-BHD4uoyD+OrN-ow@mail.gmail.com>
To: François REMY <fremycompany_pub@yahoo.fr>
Cc: WWW Style <www-style@w3.org>
On Mon, Aug 20, 2012 at 8:19 PM, François REMY
<fremycompany_pub@yahoo.fr> wrote:
> If you want to follow the IE bug:
> https://connect.microsoft.com/IE/feedback/details/758778/viewport-units-vm-vh-not-working-propery-on-font-size-if-the-page-is-zoomed.

The link 404s on me, saying that maybe I don't have permission to access it.

> As far as I can see, this is not fixed in IE RTM. However, the workaround is
> easy: don't use EM to size your elements and use VM/VH directly.

But it's not the same thing. The larger em size from the new vm-based
font-size is just a side effect. I don't want the side effect _only_,
I want the bigger font size too.

Also, using VM instead of EM for sizing the boxes incurs in _other_
bugs, because, for example, Chromium doesn't support VM values in
CALC() expressions: whenever I write something like calc(100vm / 66)
or calc(100vm - 1em) the rule is refused as "invalid numerical
expression". I'm looking now at
https://bugs.webkit.org/show_bug.cgi?id=16662 and by a cursory look at
the proposed calc implementation patch it seems they did leave out the
V* units (the patch was probably written before V* units were inclued
in the source). I'll point this out to the webkit developers.


-- 
Giuseppe "Oblomov" Bilotta
Received on Tuesday, 21 August 2012 05:33:35 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:58 GMT