I just realized this. Normal static-flow elements can only use flex units within a container with the proper flow value. However, there's no particular mention of whether or not that restriction applies to abspos/fixpos elements. Does it? The restriction for normal elements is mostly to ensure that we have a good way of figuring out what "unused space" means when a dimension is unrestricted (like height for standard containers) so you don't have an element pushing its container to infinite size. But abspos/fixpos elements don't change the dimensions of their positioning ancestor, so they should be able to use flexes in an unrestricted manner. So, can you use flex units on abspos/fixpos elements? Position should take flexes without a problem, as should margin. Padding still needs wording to the effect of "if a height/width isn't explicitly defined, there is no unused space in that direction". ~TJReceived on Tuesday, 14 April 2009 21:14:04 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:35 UTC