W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2006

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

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Tue, 11 Apr 2006 18:36:33 -0700
Message-ID: <c9e12660604111836p7b9fa81ew34205e48ea1cde89@mail.gmail.com>
To: "DOM mailing list" <www-dom@w3.org>

Hey David,

If overflow on root applies to viewport, then how can an author change
the overflow on root?

Garrett


On 4/10/06, Mikko Rantalainen <mikko.rantalainen@peda.net> wrote:
>
> 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
>
>


--
http://dhtmlkitchen.com/
Received on Wednesday, 12 April 2006 01:36:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:40:09 UTC