[css-flexbox] Remove cross_axis_intrinsic_size
Now that we correctly compute the "intrinsic" cross size (really the unstretched cross size), we no longer need both versions of the cross_size. The algorithm only needs the unstretched size, so repurpose cross_axis_size for that purpose and remove the other one. The fixes to the intrinsic cross size were made in https://crrev.com/c/1483946 and https://crrev.com/c/1484582. Also renames CrossAxisIntrinsicExtentForChild to CrossAxisUnstretchedExtentForChild to more clearly reflect its purpose. I removed the TODO in the ng flexbox implementation because the difference between the two sizes only matters if we avoid a layout, but we don't do that in NG yet. (The NG cross size is always pre-stretching) Change-Id: Iec8f4b63b5d897373b8ccc0b1d9e4ee4d19cffbf Reviewed-on: https://chromium-review.googlesource.com/c/1492832 Commit-Queue: Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:David Grogan <dgrogan@chromium.org> Auto-Submit: Christian Biesinger <cbiesinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#636271}
Showing
Please register or sign in to comment