[LayoutNG] Set IsSelfCollapsing directly from NGBlockNode.
The CheckIsSelfCollapsing code looked a little scary, e.g. for inline children it was checking if a (legacy) linebox was was present. This sets the self-collapsing bit directly for the layout overflow calculation - which might have a slight perf improvement. Change-Id: I1b214f915005b8ef21a32305be762f9d52f9156b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1556399Reviewed-by:Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:
Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#682655}
Showing
Please register or sign in to comment