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

Re: [css3-flexbox] Painting order

From: Anton Prowse <prowse@moonhenge.net>
Date: Mon, 02 Jul 2012 22:57:22 +0200
Message-ID: <4FF20B32.6000506@moonhenge.net>
To: "www-style@w3.org" <www-style@w3.org>
CC: Morten Stenshorne <mstensho@opera.com>, "Tab Atkins Jr." <jackalmage@gmail.com>
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.

Anton Prowse
Received on Monday, 2 July 2012 20:57:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:18 UTC