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

On Wed, Jul 21, 2010 at 1:32 PM, Boris Zbarsky <> 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?


Received on Wednesday, 21 July 2010 23:30:48 UTC