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
PASS
Parent with fixed height and max set
PASS
Parent with fixed height and min greater than max
PASS
Vertical parent with fixed width and max set
PASS
Vertical parent with fixed width and min set
PASS
Parent with percent height and a max set
PASS
Parent with percent height and a min set
PASS
Parent with fixed height and percentage max
PASS
Parent with fixed height and percentage min
PASS
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
PASS
Parent with auto height and a min set
XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX
PASS
The following two tests will have a 6 pixel red border.
Parent with fixed height and padding and max set
PASS
Parent with fixed height and padding and min set
PASS
Fixed height parent with scroll bar
XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
PASS
Parent with percent height and scroll bar
XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
PASS