[LayoutNG] Block-size % resolution inside columns for OOF elements
In CL:2412728, percentage block-size was updated to resolve against the computed content-box block-size of the multicol container (not the columns). This change makes the same change for the OOF fragmented descendants. Because the multi-col isn't the container of the OOF, updating this doesn't have an affect on OOF percentage resolution. Rather, the containing block for the OOF element will be used for percentage resolution. This, however, was also broken because we were using the block size of a single containing block fragment rather than the total block size of the containing block. To fix this, we now use the LayoutBox of the containing block to calculate the total consumed block size in order to get the correct percentage resolution size for OOF elements. Bug: 1079031 Change-Id: If584de09a7611ad8b8d4afc5c8205adf159ee7fb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2422705Reviewed-by:Benjamin Beaudry <benjamin.beaudry@microsoft.com> Reviewed-by:
Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#811616}
Showing
Please register or sign in to comment