W3C home > Mailing lists > Public > www-style@w3.org > April 2006

Re: [CSS21] Does 10.6.7 apply to the root element?

From: Mikko Rantalainen <mikko.rantalainen@peda.net>
Date: Mon, 10 Apr 2006 15:55:16 +0300
Message-ID: <443A55B4.4080400@peda.net>
To: www-style@w3.org

Allan Sandfeld Jensen wrote:
> On Saturday 08 April 2006 02:40, Garrett Smith wrote:
>> Is the goal of the CSS WG to copy IE's buggy behavior?
>>
> If the root is not the ICB, the ICB is not selectable by CSS, and thus 
> overflow for instance cannot be styled.

So the problem is that there isn't a CSS selector to select ICB? Why 
not fix this issue instead of trying to magically set properties of 
ICB through the root element?

> I think treating the root as ICB is the most sane behavior.

If one expects CSS 'border' property to modify the window borders of 
UA window (when run in GUI environment and UA allows it), setting 
border property of ICB separate from root element is a desirable goal.

> Ofcourse it is already inconsistent since in paged mode, you select the ICB 
> using the "@page" context/selector. 
> 
> If we insist on copying Mozillas accidental behavior, we need another way to 
> style the viewport consistently like with a "@viewport" context.

I'd have suggested :viewport selector instead but I'd be happy with 
@viewport, too.

-- 
Mikko
Received on Monday, 10 April 2006 12:55:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:44 GMT