Add LayoutNGFullPositionForPoint feature.
This fully enables NGPhysicalBoxFragment::PositionForPoint(). If it's disabled, we'll typically only use the aforementioned method in inline formatting contexts. Correct support for block children is work in progress. The plan is to fix the remaining issues over the next few days, and enable LayoutNGFullPositionForPoint for stable. We can disable it again if it turns out that it causes regressions not covered by any tests. There will be some behavior changes, most notably the fact that we'll always use the nearest box (and calculate this accurately - as opposed to what we do in LayoutBlock::PositionForPoint()). Bug: 1150362 Change-Id: Ic4e9257a70fbbb7ff321f3ee5d417186a9a67839 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2550833Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#830099}
Showing
Please register or sign in to comment