[css-flexbox] Computed 'display' of flex items

Hi,

Section 4 "Flex Items" says:

> The computed ‘display’ of a flex item is determined by applying the
> table in CSS 2.1 Chapter 9.7.

But computed values are determined before box generation. Does that mean 
that implementations need to know if an *element*, rather than just a 
box, is a flex item?


This seems contradictory with the rest of the spec. In particular, later 
in the same section:

> Some values of ‘display’ trigger the generation of anonymous boxes.
> For example, a misparented ‘table-cell’ child is fixed up by
> generating anonymous ‘table’ and ‘table-row’ elements around it.
> [CSS21] This fixup must occur before a flex container's children are
> promoted to flex items.


Am I missing something?

-- 
Simon Sapin

Received on Tuesday, 19 November 2013 14:02:07 UTC