+0
−2
Loading
In an incremental reflow, if a flex item has a valid bsize cache , we skip its measuring reflow. However, we may still need to set relevant bsize flags if the flex container is changing its definiteness in the block-axis. See bug 1611303 comment 2 for an analysis. This patch is playing safe by always calling SetHasBSizeChange() if we override bsize for the item. Of course this can be solved in a more sophisticated way by checking whether the item really has a block-axis resize, but that means we'll need to duplicate a lot of logic in FlexItem::NeedsFinalReflow(). Differential Revision: https://phabricator.services.mozilla.com/D122041