W3C home > Mailing lists > Public > www-style@w3.org > July 2010

Re: [CSS3 Values] "rem" unit underdefined when there is no root element

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 21 Jul 2010 16:29:56 -0700
Message-ID: <AANLkTilYJ7FCAFu9-9D1rs5wYPSJnAjhxbMQVa8BQMfy@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style list <www-style@w3.org>
On Wed, Jul 21, 2010 at 1:32 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> The definition of "rem" says:
>
>  The 'rem'  unit ('root em') is relative to the computed value of the
>  'font-size' value of the root element. The exception is when 'rem'
>  occurs in the value of the 'font-size' property of the root element
>  itself, in which case it is relative to the 'medium' font-size.  It
>  may be used for vertical or horizontal measurement.
>
> This doesn't define what happens when there is no root element.

In what situations do you have no root element?

~TJ
Received on Wednesday, 21 July 2010 23:30:48 GMT

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