Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Nov 24, 2012
Commits on Oct 18, 2012
Commits on Jul 2, 2012
  1. Bump the version number.

  2. Use (preferred - minimum) instead of just preferred as weights.

    The general idea of the proposed algorithm is as follows:
    * If the sum of the preferred widths is small enough for
      the containing block, use that
    * If the sum of the preferred minimum widths is too big,
      use that
    * Otherwise, do something proportional to the amount of
    For the proportional distribution, the algorithm used
    to take the preferred widths as weights. The problem
    is that this ignored the contraints of minimum widths.
    In the new algorithm, each box always gets at least its
    preferred mininmum width. In the third case, only the
    remaining space is distributed. The weights are
    the preferred width minus the preferred mininum width.
    This new algorithm as better continuity while still
    always keeping the mininum contsraints.
Commits on Jul 1, 2012
  1. Add a forgotten line.

    Of course a box’s own margins, borders and padding always need
    to be removed from the available width for shrink-to-fit.
Something went wrong with that request. Please try again.