Skip to content
Commit 09875a0c authored by Xiaocheng Hu's avatar Xiaocheng Hu Committed by Chromium LUCI CQ
Browse files

[anchor-position] Support anchor-scroll with relpos inline containers

This is a follow-up patch of crrev.com/c/4546546 to properly support
anchor-scroll on relatively positioned inline containers. Instead of
the ContainingBlock(), this patch uses NGInlineCursor to go through
the box fragments of the inline container and look for already built
NGPhysicalAnchorQuery objects there.

Fixed: 1446442
Change-Id: Ia8c9ef01d8bff8ccd70b5ba62c21cf4b981acb41
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4553048


Reviewed-by: default avatarKoji Ishii <kojii@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1148021}
parent 0229a38f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment