W3C home > Mailing lists > Public > www-style@w3.org > May 2013

Re: Addressing space outside a document's root element

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 13 May 2013 10:05:52 -0700
Message-ID: <CAAWBYDATQjqcuSXxAqV05q+7uV6MSyjUpXQnL=mkiDAsJLzZLQ@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style list <www-style@w3.org>
On Mon, May 13, 2013 at 7:01 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 5/13/13 9:47 AM, Axel Dahmen wrote:
>> Is this a peculiarity to HTML and the <body> element? Because if it
>> isn't I would prefer if CSS provided a declarative way (hence, a
>> selector) to address space outside the root element.
>
> In HTML the root element is the <html> element, not the <body> element.
>
> That said, for the particular case of the 'cursor' property the same problem
> is present when it's set on the <html> element.
>
> For some properties (e.g. 'background') CSS propagates the effect of the
> property from the root element to the viewport.  Perhaps it makes sense to
> do that for 'cursor' too...

Yeah, it probably does make sense to propagate 'cursor' to the viewport.

~TJ
Received on Monday, 13 May 2013 17:06:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:29 UTC