[FlexNG] Don't provide a baseline when an element has layout containment.
In https://chromium-review.googlesource.com/c/chromium/src/+/1988376 I added a TODO (which was bad, and actually a note to myself). With FlexNG enabled the lack of this behaviour triggers a lot failures: https://test-results.appspot.com/data/layout_results/linux-rel/292399/webkit_layout_tests%20%28with%20patch%29/layout-test-results/results.html This makes it so an element with layout containment doesn't provide a baseline to its parent. An alternate version of this patch would to add this logic into NGBoxFragment::Baseline. However this would likely be slightly more expensive as we invoke that function much more than creating a fragment. Bug: 845235 Change-Id: I2faa5042881c14e1e90088ac0219a0aa556f2bf3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2019103Reviewed-by:David Grogan <dgrogan@chromium.org> Reviewed-by:
Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#735572}
Showing
Please register or sign in to comment