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

Re: [css-units] Proposal for next level: Responsive Pixel

From: Marat Tanalin | tanalin.com <mtanalin@yandex.ru>
Date: Fri, 31 Aug 2012 17:43:11 +0400
To: François REMY <fremycompany_pub@yahoo.fr>
Cc: CSS WG <www-style@w3.org>
Message-Id: <215251346420591@web7h.yandex.ru>
31.08.2012, 17:35, "François REMY" <fremycompany_pub@yahoo.fr>:
> |  Actually, you can just specify base font-size for `HTML` element instead
> of `BODY` element.
> Certainly not. If you do that, you can't know any more if the user is vision
> impaired and volountarily INCREASED the root font size in its settings.

If your goal is to link `rem` and user's default font-size, wouldn't specifying base font-size in `em` for `HTML` element sufficient?

    HTML {font-size: .8125em; }
    /* If default font-size is 16px, `rem` is now 13 pixels */
Received on Friday, 31 August 2012 13:43:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:03 UTC