- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 8 Jun 2012 08:40:45 -0700
- To: Peter Gasston <pgasston@gmail.com>
- Cc: www-style@w3.org
On Fri, Jun 8, 2012 at 6:42 AM, Peter Gasston <pgasston@gmail.com> wrote: > The justify-* and align-* properties currently have different values - > flex-start and flex-end - to those given in the Box Alignment module. Is it > expected that these will be changed to start and end, respectively, when the > Box Alignment module is more stable? Nope, that was a purposeful and recent change. Since flex-direction can point a flexbox in *any* direction, regardless of what the writing mode is, there's actually zero connection between the direction of a flexbox and the logical keywords. Trying to map the logical keywords onto the existing semantics of flexbox would have just been very confusing. Instead, we added new flexbox-specific keywords. Box Alignment will define start/end/head/foot for the properties, which will do the proper writing-mode-specific thing for flexbox (for example, if the flexbox has "flex-direction:row-reverse", 'flex-start' and 'end' will do the same thing in 'justify-content'. It will also define what the flex-specific keywords mean for other display types (flex-start maps to start/head, flex-end to end/foot). ~TJ
Received on Friday, 8 June 2012 15:41:38 UTC