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

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 UTC