  *    <li>When no constraints determine the position in the horizontal/vertical
  *    direction, the element is positioned according to its x/y coordinates.</li>
  *  </ul>
+ *
+ *  The content size of the container is calculated as the maximum of the
+ *  coordinates of the bottom-right corner of all the layout elements.
  *
  *  @langversion 3.0
  *  @playerversion Flash 10

 *  verticalCenter, baseline, percentWidth, percentHeight.
 *  Element's minimum and maximum sizes will always be respected.
 *
 *  The measured size of the container is calculated from the elements, their
 *  constraints and their preferred sizes.
 *
 *  During updateDisplayList() the element's size is determined according to
 *  the rules in the following order of precedence (the element's minimum and
 *  maximum sizes are always respected):
 *  <ul>
 *    <li>If the element has percentWidth or percentHeight set, then its size
 *    is calculated as a percentage of the container size, minus any left, right,
 *    top, bottom constraints.</li>
 *
 *    <li>If the element has both left and right constraints, it's width is

 *  The element's position is determined according to the rules in the following
 *  order of precedence:
 *  <ul>
 *    <li>The horizontalCenter/verticalCenter constraints specify the distance
 *    between the container's center and the element's center.
 *    Set horizontalCenter/verticalCenter to zero to cetner the element within
 *    the container in the horizontal/vertical direction.</li>
 * 
 *    <li>If element's baseline is specified, then the element is positioned in
 *    the vertical direction such that its baselinePosition (usually the base line
 *    of its first line of text) is aligned with baseline constraint.</li>
 *
 *    <li>If element's top/left constraints are specified, then the element is
