48 messages in org.w3.www-styleRE: Publishing the flexible box model
FromSent OnAttachments
L. David BaronJun 3, 2008 9:48 pm 
Alan GresleyJun 3, 2008 11:56 pm 
L. David BaronJun 4, 2008 12:22 am 
Anne van KesterenJun 4, 2008 1:12 am 
David HyattJun 4, 2008 1:46 pm 
Andrew FedonioukJun 4, 2008 5:50 pm 
L. David BaronJun 4, 2008 6:04 pm 
David HyattJun 4, 2008 6:54 pm 
Andrew FedonioukJun 4, 2008 8:09 pm.h
L. David BaronJun 4, 2008 10:23 pm 
L. David BaronJun 4, 2008 10:48 pm 
Andrew FedonioukJun 4, 2008 11:39 pm 
Andrew FedonioukJun 5, 2008 12:32 am 
Alan GresleyJun 5, 2008 12:34 am 
Robert O'CallahanJun 6, 2008 3:44 am 
fantasaiJun 6, 2008 8:12 am 
Andrew FedonioukJun 6, 2008 9:06 am 
Anne van KesterenJun 6, 2008 9:40 am 
Andrew FedonioukJun 6, 2008 9:54 am 
fantasaiJun 6, 2008 12:41 pm 
Andrew FedonioukJun 6, 2008 1:00 pm 
Robert O'CallahanJun 6, 2008 1:43 pm 
Andrew FedonioukJun 6, 2008 3:48 pm 
Robert O'CallahanJun 7, 2008 2:30 am 
Alan GresleyJun 7, 2008 7:24 am 
Alan GresleyJun 7, 2008 7:48 am 
Brad KemperJun 7, 2008 10:03 am 
Andrew FedonioukJun 7, 2008 1:34 pm 
Andrew FedonioukJun 7, 2008 2:46 pm 
Alan GresleyJun 7, 2008 8:56 pm 
Robert O'CallahanJun 9, 2008 5:48 pm 
Andrew FedonioukJun 9, 2008 7:22 pm 
Robert O'CallahanJun 9, 2008 7:59 pm 
L. David BaronJun 9, 2008 8:29 pm 
Andrew FedonioukJun 9, 2008 9:24 pm 
Andrew FedonioukJun 9, 2008 9:55 pm 
Robert O'CallahanJun 9, 2008 10:04 pm 
Andrew FedonioukJun 10, 2008 12:02 am 
Robert O'CallahanJun 10, 2008 1:46 am 
Alan GresleyJun 10, 2008 2:19 am 
Alan GresleyJun 10, 2008 2:35 am 
Alan GresleyJun 10, 2008 2:50 am 
Andrew FedonioukJun 10, 2008 12:58 pm 
Robert O'CallahanJun 10, 2008 2:34 pm 
Andrew FedonioukJun 10, 2008 4:07 pm 
Andrew FedonioukJun 10, 2008 4:30 pm 
Andrew FedonioukJun 10, 2008 4:39 pm 
Mike WilsonJun 12, 2008 4:46 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: Publishing the flexible box modelActions...
From:Mike Wilson (mike@hotmail.com)
Date:Jun 12, 2008 4:46:27 am
List:org.w3.www-style

Hi David,

Excuse me if this suggestion doesn't make sense, or has already been discussed. Anyway, reading the flexbox spec showed me a remarkable resemblence with some work I did back in the '90s when implementing custom layout managers in X-Windows (Xt Intrinsics) :-)

One thing that the users of these layout widgets found quite useful was the ability to say that certain laid-out child widgets should have the same size, typical example being buttons (Ok/Cancel/Apply) getting the same width. The algorithm would base it on the preferred widths (for orientation=horizontal) of the children and use the largest one for all.

We exposed the functionality with these properties ("constraints") on the children: sizeGroup: default -1 all children with a sizeGroup >=0 would form a size group with other children with the same number and establish a common size sizeGroupFactor: default 1.0 factor multiplied with the established size for the group to get the resulting size for this child (f ex makes it possible to say that one child should be twice as big as the other in the same group)

-----Original Message----- From: www-@w3.org [mailto:www-@w3.org] On Behalf Of L. David Baron Sent: den 4 juni 2008 06:48 To: www-@w3.org Subject: Publishing the flexible box model

I'd like to move forward with publishing the flexible box model as a working draft. There have been specs floating around for years, but it's never been published on the TR page (despite, I believe, a minuted group resolution to do so at one point).

I think the newest draft is http://xulplanet.com/ndeakin/xul/specs/flexbox.html . (There's also an older draft at http://www.damowmow.com/temp/csswg/old/ui/flexbox.html .)

I propose we use the shortname css-flexbox; I'm willing to import it into dev.w3.org space and prepare it for publication if needed.

There's a good bit more technical work needed in writing up the details of the layout algorithm in mathematical form (and also in adding more examples, or readding dropped ones from the older spec). However, I don't think that prevents us from publishing it as a working draft so that we can get wider feedback on the material we have so far.

I'll briefly summarize the reasons for this specification:

The flexible box model module adds features to the CSS box model that provide some of the basic formatting concepts often used in user interface layout. Much of the specification is implemented in both Gecko and Webkit (with prefixes), and this implementation forms the basis of the formatting model of XUL, the language used to build the user-interface of Firefox and a number of other applications. These formatting concepts have a good bit in common with other user-interface layout systems.

Although many Web pages are essentially user interface, or documents in the middle wrapped in user interface on the edges, they are laid out using formatting primitives designed for formatting documents, causing much frustration for authors. The goal of standardizing this material at the W3C is to provide Web authors with formatting primitives that are more capable of representing the layouts that they want to achieve while effectively using the space provided by browser windows of varying sizes. (I talked about this in a good bit more detail in my talk at XTech two years ago; see http://xtech06.usefulinc.com/schedule/paper/146 .)