layout: Fix caching of streching flex items in row flex
When a flex item stretches in the cross axis in a row flex, the flex
container layout should depend on block constraints. In this case the
cross axis is the block axis (assuming horizontal writing modes --
vertical are not yet supported). This changes fixes an issue where the
cached layout was used in this case when stretching should trigger a new
layout.
Signed-off-by: Martin Robinson mrobinson@igalia.com
Co-authored-by: Oriol Brufau obrufau@igalia.com