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: Thu, 22 Jul 2010 09:01:55 -0700
Message-ID: <AANLkTimdhs3YpVegOTKEH8cbYiS6drKDkcjX-1iEuAFl@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style list <www-style@w3.org>
On Wed, Jul 21, 2010 at 7:54 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 7/21/10 10:49 PM, Tab Atkins Jr. wrote:
>>
>> I suppose, then, we just need to find a way to "re-root" a tree?  Just
>> seek up the element-tree until you find a parentless element?
>
> That doesn't handle the matchMedia() thing dbaron mentioned and would be
> weird in a cross-document computed style get (since suddenly style
> information from the "wrong" document would start mattering).

Makes sense.

> Can we just define that the font to use is "medium" in this situation or
> something?

Also makes sense.

~TJ
Received on Thursday, 22 July 2010 16:02:48 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:48 UTC