[FlexNG] Prefer a baseline from an empty child with baseline alignment.
Previously if a fragment didn't provide a baseline, and had baseline alignment we wouldn't consider it as having the default baseline. This was incorrect. Causing fast/css-grid-layout/grid-baseline.html to fail when FlexNG was turned on: https://test-results.appspot.com/data/layout_results/linux-rel/294412/webkit_layout_tests%20%28with%20patch%29/layout-test-results/results.html Instead this patch changes the flex baseline propagation logic to prefer any flex-item with baseline alignment, even if we have to synthesize the baseline. Bug: 845235 Change-Id: I4cc40da42a8d6be41b028f1170246b8004f0654d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2024546Reviewed-by:David Grogan <dgrogan@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#736082}
Showing
Please register or sign in to comment