Test that min-width and max-width are accounted for when computing the grid element's preferred widths.

XXX XXX
XXXXXXXXXXX
XXX XXX XXX
XXX XXX XXX
XXXXX XXXXXX
XXXXX XXXXXX
XXX XXX
XXXXX XXXXXX
XXX XXX XXX
XXX XXX XXX
XXXXX XXXXXX
XXXXX XXXXXX