- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Wed, 18 Jul 2012 15:25:44 -0700
- To: fantasai <fantasai.lists@inkedblade.net>
- Cc: "www-style@w3.org" <www-style@w3.org>
On Jul 18, 2012, at 10:33 AM, fantasai <fantasai.lists@inkedblade.net> wrote: > On 07/18/2012 12:03 PM, Brad Kemper wrote: >> On Jul 18, 2012, at 7:44 AM, "Kang-Hao (Kenny) Lu"<kennyluck@csail.mit.edu> wrote: >> >>> (12/07/12 0:33), Alex Mogilevsky wrote: >>>> It is possible to define it that way, it was that way at some point. >>>> However there are some non-trivial details to be defined, the >>>> position in the middle of the space seems as random as any other, it >>>> is more complicated to implement, all for the benefit of something >>>> that nobody could come up with a sensible use case for. >>> >>> Do we have use cases for the 'auto' location of a absolutely positioned >>> flex item then? And what are they? >> >> Well, for non-flex situations, I sometimes create display-when-parent-is-hovered absolutely positioned help bubbles. They are often at the right side of the containing block, by using 'right:100%', but vertically positioned relative to the parent element (such as a one line, static-positioned block) by using 'top:auto; bottom:auto'. So, I could imagine the usefulness of doing something similar inside a flex box. > > But wouldn't you want to place the abspos *inside* the flex item > in those cases, rather than before or after it? Sometimes, but probably not always. If it was a tooltip to appear above or to the right of the individual flex item, then yes. But not if it was something for say, a whole horizontal line of a toolbar and the popup help bubble said something like, "these are your tools. Choose one." or whatever.
Received on Wednesday, 18 July 2012 22:26:14 UTC