Files
sousa-gecko/testing/web-platform/mozilla/tests/html/semantics
Emilio Cobos Álvarez 23778bbea2 Bug 2052637 - Fix nsFrameSelection::GetPageToFrameSelect. r=layout-reviewers,dshin
In this test-case, rootFrameToSelect is the inner editor's frame, but
contentToSelect is the textarea, which is an ancestor.

So we go from `<textarea>` all the way to the root frame finding
scrollable frames which is not the intended behavior. Instead, we check
nsLayoutUtils::IsProperAncestorFrame to make sure that we walk
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D310594
2026-07-07 09:36:49 +00:00
..