[LayoutNG] Skip "optimistic" float placement if inline-size is known.
If we already know the inline-size of the float before placing it, we don't need to make a guess at its position before laying it out. We can just set it right away. This is just an optimization. No behavior changes intended. Bug: 915929 Change-Id: I72ce406ef6b32ff5755522e3375dd93c407ee834 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2278050Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#786440}
Showing
Please register or sign in to comment