W3C home > Mailing lists > Public > www-style@w3.org > March 2011

RE: [css2.1] Propagation of CSS direction property to the initial containing block

From: John Jansen <John.Jansen@microsoft.com>
Date: Fri, 11 Mar 2011 00:16:29 +0000
To: fantasai <fantasai.lists@inkedblade.net>, David Hyatt <hyatt@apple.com>
CC: www-style list <www-style@w3.org>
Message-ID: <C340671BECD4364E8F9EBA27E8E231322DF736D1@DF-M14-05.exchange.corp.microsoft.com>
> -----Original Message-----
> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On
> Behalf Of fantasai
> Sent: Tuesday, October 26, 2010 2:25 PM
> To: David Hyatt
> Cc: www-style list
> Subject: Re: [css2.1] Propagation of CSS direction property to the initial
> containing block
> 
> On 10/26/2010 11:42 AM, David Hyatt wrote:
> > The CSS 2.1 spec states in section 10.1.1:
> >
> > "The 'direction' property of the initial containing block is the same
> > as for the root element."
> >
> > This is incomplete and doesn't really capture what browsers do. For
> > example, IE propagates the direction from the body to the ICB, and it
> > even ignores the directionality specified on the root element
> > (replacing it with the body's direction).
> >
> > I'd like to propose that the spec mention that you can propagate from
> > the body.
> >
> > The behavior I just implemented in WebKit [1] propagates from the body
> > to the root element if no explicit direction is set on the root element.
> > It then propagates the direction from the root element to the ICB.
> > This behavior is consistent with how backgrounds propagate (and is
> > also similar to how overflow applies to the viewport as well).
> 
> Is this necessary? If it's not a significant web-compat issue, then I would
> rather not do this. Propagation from <BODY> is a hack to handle old content,
> not a practice we should be using going forward.
> 
>  > Note that whatever we decide should apply to writing-mode also.
> 
> Disagree, for reason above.
> 
> ~fantasai
> 
Hi,

Thank you for your feedback. The CSSWG resolved not to make these changes to the CSS 2.1 specification[1]. We resolved that direction does not propagate from <BODY>.

Please respond before 14 March, 2011 if you do not accept the current resolution.

[1] http://w3.org/TR/CSS
Received on Friday, 11 March 2011 00:17:24 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:38 GMT