W3C home > Mailing lists > Public > www-style@w3.org > July 2012

Re: [css3-flexbox] Painting order

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 02 Jul 2012 18:10:46 -0700
Message-ID: <4FF24696.5020900@inkedblade.net>
To: Anton Prowse <prowse@moonhenge.net>
CC: "www-style@w3.org" <www-style@w3.org>, Morten Stenshorne <mstensho@opera.com>, "Tab Atkins Jr." <jackalmage@gmail.com>
On 07/02/2012 01:57 PM, Anton Prowse wrote:
> On 02/07/2012 22:15, Anton Prowse wrote:
>
>> Bear in mind that CSS21 Appendix E defines tree order as being a
>> traversal of the *rendering* tree [spec's emphasis] "after taking into
>> account properties that move boxes around". (With an exception for
>> BIDI.) So actually I think that visual order is already specified
>> here... not that it's clear which properties (if any) in CSS21 count as
>> "moving boxes around", or whether that includes the table-*-group magic.
>
> Actually, I take that back; I think it's talking about the box tree after doing stuff like box fix-up and (in the past)
> run-in, not about gratuitous visual reordering.
>
> So since painting in visual order for flex items is a departure from Appendix E, it would be necessary to add a bolt-on to
> Appendix E in css3-flexbox, saying something like:
>
> | For the purposes of applying the painting algorithm specified in
> | CSS21 Appendix E, the 'order' property applied to flex items is
> | regarded as moving boxes in the rendering tree.

The editor's draft already says this:
  # This also affects the painting order [CSS21], exactly as if the
  # elements were reordered in the document.
where 'painting order' links to Appendix E.

~fantasai
Received on Tuesday, 3 July 2012 01:11:28 GMT

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