Closed
Bug 1906895
Opened 10 months ago
Closed 10 months ago
Text-Fragments: Scroll the start container of the range into view instead of its common ancestor
Categories
(Core :: DOM: Navigation, task)
Core
DOM: Navigation
Tracking
()
RESOLVED
FIXED
130 Branch
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: jjaschke, Assigned: jjaschke)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Currently, the spec requires the closest common ancestor to be scrolled to, which is currently implemented in Gecko. This can lead to unwanted results if the common ancestor is not in the same view port as the text directive range (see example). Therefore, it makes more sense to scroll to the start container of the text directive range.
Assignee | ||
Comment 1•10 months ago
|
||
Assignee | ||
Comment 2•10 months ago
|
||
Assignee | ||
Comment 3•10 months ago
|
||
Pushed by jjaschke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/91c93776446c
Text Fragments: Scroll the start container of a range into view instead of its common ancestor. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/47125 for changes under testing/web-platform/tests
Comment 6•10 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
status-firefox130:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Upstream PR merged by moz-wptsync-bot
Updated•10 months ago
|
Component: Layout → DOM: Navigation
You need to log in
before you can comment on or make changes to this bug.
Description
•