Skip to content

[Gecko Bug 1886762] Part 2 - Make GetAnchorPosRect() and helper aware of inline containing block and IB-split.#60272

Merged
moz-wptsync-bot merged 1 commit into
masterfrom
gecko/1886762
May 29, 2026
Merged

[Gecko Bug 1886762] Part 2 - Make GetAnchorPosRect() and helper aware of inline containing block and IB-split.#60272
moz-wptsync-bot merged 1 commit into
masterfrom
gecko/1886762

Conversation

@moz-wptsync-bot
Copy link
Copy Markdown
Collaborator

IsProperAncestorFrameConsideringContinuations() gets the ability to traverse
IB-split. This doesn't change behavior for existing callers because they are all
within MOZ_ASSERT.

Delete TraverseUpToContainerChild() since it is not aware of continuations nor
IB-split, and we don't need a returned child frame pointer. Fixing it properly
makes its functionally equivalent to
IsProperAncestorFrameConsideringContinuations().

Differential Revision: https://phabricator.services.mozilla.com/D303080

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1886762
gecko-commit: d93263889e6ca07c69c8f5ee085645610983be17
gecko-commit-git: 1d86c70a438711e31bf9535798f2c26e713a9d99
gecko-reviewers: layout-reviewers, dshin

…g block and IB-split.

`IsProperAncestorFrameConsideringContinuations()` gets the ability to traverse
IB-split. This doesn't change behavior for existing callers because they are all
within `MOZ_ASSERT`.

Delete `TraverseUpToContainerChild()` since it is not aware of continuations nor
IB-split, and we don't need a returned child frame pointer. Fixing it properly
makes its functionally equivalent to
`IsProperAncestorFrameConsideringContinuations()`.

Differential Revision: https://phabricator.services.mozilla.com/D303080

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1886762
gecko-commit: d93263889e6ca07c69c8f5ee085645610983be17
gecko-commit-git: 1d86c70a438711e31bf9535798f2c26e713a9d99
gecko-reviewers: layout-reviewers, dshin
Copy link
Copy Markdown
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Firefox project.

@moz-wptsync-bot moz-wptsync-bot merged commit a410bc5 into master May 29, 2026
28 checks passed
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1886762 branch May 29, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants