Re: [css-flexbox] Computation Algorithm

The intuition is not hard:
1) every element has a preferred width
2) if the preferred widths add up to less than the width of the container,
the leftover width is allocated to the children in proportion to their
box-flex values
3) if the preferred widths add up to more than the width of the container,
the excess width is taken away from the children in proportion to their
box-flex values
I don't think this is difficult for authors to understand.

I'd have to talk to XUL developers more to understand how this concept of
preferred width is useful to them. I'll blog and see if I can get some to
turn up here.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]

Received on Tuesday, 11 May 2010 06:07:07 UTC