- From: Daniel Holbert <dholbert@mozilla.com>
- Date: Fri, 27 Jan 2012 12:04:26 -0800
- To: "www-style@w3.org list" <www-style@w3.org>
Hi www-style, In the current Flexbox ED "Layout Algorithm" section, it says this about flex-order: > Re-order the flexbox items according to their ‘flex-order’. [...] > This affects the order in which the flexbox items generate > boxes in the box-tree Given that -- hypothetically, if two flexbox items were to contain overlapping content[1], would flex-order have any effect on which one overlaps the other? (i.e. does flex-order affect stacking in the z axis?) I've been assuming "no", since (discounting the "z-index" property) elements generally stack in the z axis according to *document order*. So, since flex-order is independent of document order, I wouldn't expect it to affect stacking in the z axis. Just wanted to clarify, though, because "the order in which flexbox items generate boxes in the box tree" sounded like it might impact stacking-order. Thanks, ~Daniel [1] I'm not 100% sure that it's even possible to get overlapping content in different flexbox-items, but I'm guessing it might be doable with "position:relative" or something.
Received on Friday, 27 January 2012 20:05:05 UTC