Fix |LayoutNGBlockFlowMixin::InlineBlockBaseline|
r824961 crrev.com/c/2515933 copied the code from |LayoutBlock| but the code in |LayoutBlockFlow| that prevents it from running when |ChildrenInline| was not copied. This patch adds the check. Note, the test creates |LayoutNGCustom| in legacy, and adds a |LayoutTextFragment| as a child of the |LayoutNGCustom|. Not to blockify the child is likely an issue in |LayoutNGCustom|, but this case could probably be reproduced by inline custom layout or other inline objects that forces NG. Bug: 1146789 Change-Id: I7ffacc2465ad205d13702dfda03433cc50c423f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2526702 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#825714}
Showing
Please register or sign in to comment