Scroll position snaps back to start, with `scroll-snap` and fractional margin
Categories
(Core :: Layout: Scrolling and Overflow, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | wontfix |
firefox126 | --- | wontfix |
firefox127 | --- | wontfix |
firefox128 | --- | fix-optional |
People
(Reporter: dholbert, Unassigned)
References
(Depends on 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(3 files)
[Spinning this off from bug 1850485, for an issue that I identified while poking at that. I'm not entirely sure that this is the full explanation there, but it might be.]
STR:
- Load attached testcase.
- Click the button a few times to increase the scroll position. Or, simply click and drag the scrollbar (in the scrollable box) all the way to the right.
EXPECTED RESULTS:
The scrollable box should be able to reach to the maximum (rightmost) position, and you should see the text "SUCCESS" when it reaches that position.
ACTUAL RESULTS:
- The scrollbar resets back to the start (leftmost) position, when you would expect it to reach the right edge.
- You can scroll to intermediate positions, but when it reaches the right edge (or potentially surpasses it via clicking the button), it unexpectedly resets (snaps back to the start).
Reporter | ||
Comment 1•3 months ago
|
||
Here's a reference case, where I simply changed margin-inline-start
from 10.5
to 11px
.
This is sufficient to make the testcase give EXPECTED RESULTS.
Reporter | ||
Comment 2•3 months ago
|
||
Reporter | ||
Comment 3•3 months ago
|
||
Regression range:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=75b3c6c4437624f59fcaff278bb8f5b88358e3a6&tochange=f476897a6e6ac50ecebdf7f8bda821d40aab066c
Suspect: bug 1817126
hiro, could you take a look here?
Comment 4•3 months ago
|
||
Set release status flags based on info from the regressing bug 1817126
:hiro, since you are the author of the regressor, bug 1817126, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Reporter | ||
Comment 5•3 months ago
|
||
Note: If I set layout.scroll.disable-pixel-alignment
to true, then I can't repro anymore.
Comment 6•3 months ago
|
||
Thank you, Daniel! This will be fixed by bug 1852884.
Updated•3 months ago
|
Updated•3 months ago
|
Comment 7•3 months ago
|
||
The severity field is not set for this bug.
:hiro, could you have a look please?
For more information, please visit BugBot documentation.
Comment 8•2 months ago
|
||
We are going to tackle bug 1852884 and relevant ones in this half.
Reporter | ||
Updated•4 days ago
|
Description
•