Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[anchor-position] Fix anchor query scopes in multicol
When the containing block of querying element doesn't have anchor queries, |CalculateOffset| should use an empty |NGLogicalAnchorQuery|. However, |LayoutFragmentainerDescendants| passed |nullptr|, which means to use |container_builder_->AnchorQuery()|. In multicol, this means to use the anchor query for the multicol container. This patch fixes the situation by passing an empty |NGLogicalAnchorQuery|. Bug: 1309178 Change-Id: Ibb64d3f7932eb677f70063cee303b2e62ca5b918 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3922615 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Alison Maher <almaher@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1052100}
- Loading branch information