Re: [css3-flexbox] Painting order

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.


Received on Tuesday, 3 July 2012 01:11:28 UTC