Closed
Bug 1906895
Opened 2 years ago
Closed 2 years 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
(1 file, 1 external file)
|
184 bytes,
text/html
|
Details |
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•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 3•2 years 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•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox130:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Upstream PR merged by moz-wptsync-bot
Updated•2 years ago
|
Component: Layout → DOM: Navigation
You need to log in
before you can comment on or make changes to this bug.
Description
•