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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 21 Jul 2010 16:32:59 -0400
Message-ID: <4C47597B.9090103@mit.edu>
To: www-style list <www-style@w3.org>
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.

-Boris
Received on Wednesday, 21 July 2010 20:33:32 GMT

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