[LayoutNG] LayoutFlowThread appear as children of NGInlineNode |
|
Issue descriptionFrom the Morten's review comment in: https://chromium-review.googlesource.com/c/chromium/src/+/1196724#message-1c05f23c748bd39dd52c17bf808f75ba9b856887 This is about virtual/layout_ng_experimental/fast/multicol/paged-becomes-multicol-auto-height.html, right? We somehow manage to descend into a paged container (that has block children). We shouldn't even be here. You also have a check in NGBlockLayoutAlgorithm::TryReuseFragmentsFromCache() for HasBlockFragmentation(), but we even somehow manage to sneak past that one in this case. I wonder if you should add NOTREACHED() instead and let the test crash.
,
Oct 19
Yeah, I'm not sure why. On normal layout, FirstChild() skips them properly, and that CollectInlines() does not see them. I admit that I haven't really looked into why it is different for PrepareReuse, this issue is to investigate it further in near future. |
|
►
Sign in to add a comment |
|
Comment 1 by mstensho@chromium.org
, Oct 19