W3C home > Mailing lists > Public > www-style@w3.org > August 2016

Re: [css-align] Clarification on the concept of 'parent' for Self Alignment 'auto' value resolution

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 30 Aug 2016 16:02:29 -0700
Message-ID: <CAAWBYDBfpoGf0sHNCW0Q73gFpGeZwpdjqBAawreq1Ma71KzHXw@mail.gmail.com>
To: Javier Fernandez <jfernandez@igalia.com>
Cc: www-style list <www-style@w3.org>
On Wed, Aug 24, 2016 at 4:47 AM, Javier Fernandez <jfernandez@igalia.com> wrote:
> Hi Tab,
> I'd need further clarification on the "parent" concept for the
> Alignment 'auto' value resolution and the "flat-tree" concept.
> https://w3c.github.io/webcomponents/spec/shadow/#flat-trees
> https://w3c.github.io/webcomponents/spec/shadow/#attributes
> On 06/01/2016 01:06 AM, Tab Atkins Jr. wrote:
>> Anonymous boxes are, as the name suggests, *boxes* - they show up in
>> the box tree, which is constructed *from* the element tree.  "Parent
>> element" refers to the element tree; it doesn't care about box-tree
>> structure.  (And so there's no layout-time determination; this
>> behavior can instead be resolved at inheritance time.)
> Would it be correct to consider your sentence "Parent element" refers to
> the element tree" in a more general way as "Parent element" refers to the
> flat-tree ?

Yes, after selectors are run, all of the rest of CSS operates on the flat tree.

Received on Tuesday, 30 August 2016 23:03:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 30 August 2016 23:03:19 UTC