[LayoutNG] nested-percent-height regression
Will need help with this one. I think it is a real regression. Offending CL modifed LayoutBox::AvailableLogicalHeight https://chromium-review.googlesource.com/c/chromium/src/+/1093996 LayoutBox::ComputePercentageLogicalHeight gets called 740 times for each layout. I was unable to reproduce this on my Linux box. Uploading so I can run on Android. The test also renders incorrectly in Legacy, correctly in NG. The root cause of incorrect rendering is that LayoutBox::ComputePercentageLogicalHeight for TableCell is incorrect in Legacy when: #target { overflow: auto; height: 100%; } td { height: 100%; } table { } <table> <td> <div id="target"> LayoutBox::ComputePercentageLogicalHeight should in this case return intrinsic_logical_height instead of 0. Bug: 852976 Change-Id: Iaf65c226eb9727877d14e68156d522421af57c87 Reviewed-on: https://chromium-review.googlesource.com/1103289Reviewed-by:Christian Biesinger <cbiesinger@chromium.org> Commit-Queue: Aleks Totic <atotic@chromium.org> Cr-Commit-Position: refs/heads/master@{#568123}
Showing
Please register or sign in to comment