Bug 26559: When a block's height is determined by min-height/max-height, children with percentage heights are sized incorrectly

Tests to make sure a child with percentage height is computed properly when the parent has a max or min height set.

Each of the following tests should display a green rectangle with a 1 pixel red border on all sides.

Parent with fixed height and min set

Parent with fixed height and max set

Parent with fixed height and min greater than max

Vertical parent with fixed width and max set

Vertical parent with fixed width and min set

Parent with percent height and a max set

Parent with percent height and a min set

Parent with fixed height and percentage max

Parent with fixed height and percentage min

Parent with auto height and a max set. This test will not have the border all around, it will only be on the top portion.

XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX

Parent with auto height and a min set

XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX

The following two tests will have a 6 pixel red border.

Parent with fixed height and padding and max set

Parent with fixed height and padding and min set

Fixed height parent with scroll bar

XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX

Parent with percent height and scroll bar

XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX