Bounds of items in Wikipedia side nav element are incorrect after scroll
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr102 | --- | unaffected |
| firefox-esr115 | --- | unaffected |
| firefox117 | --- | wontfix |
| firefox118 | --- | wontfix |
| firefox119 | --- | wontfix |
| firefox120 | --- | verified |
| firefox123 | --- | verified |
| firefox124 | --- | verified |
People
(Reporter: nlapre, Assigned: morgan)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: regression)
Attachments
(1 external file)
STR:
- Open a Wikipedia page, such as this one.
- Check the bounds of a list item in the nav element, such as the one with id
toc-References. - Scroll the page down. You might have to scroll it twice (I sometimes can't get it to break with only one scroll.)
- Check the bounds of the same element again.
Expected: The bounds should correctly bound the link to a page anchor.
Actual: The bounds are incorrect.
This test case can probably be reduced, I just wanted to log it quickly before I forget. It feels somewhat similar to display list issues I've heard Jamie and Morgan talking about. Triggering a reflow seems to fix the problem, until you scroll again.
Comment 1•3 years ago
|
||
I think I'm going to revive my patch to cache coordinates relative to the scroll root instead of the parent. It might be interesting to see if that helps here and other places. That said, it'll possibly introduce just as many problems as it fixes...
| Assignee | ||
Comment 2•3 years ago
|
||
This is a display list issue -- confirmed fixed by reverting bug 1837496
| Assignee | ||
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Set release status flags based on info from the regressing bug 1837496
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 4•3 years ago
|
||
Set release status flags based on info from the regressing bug 1837496
| Assignee | ||
Comment 5•3 years ago
|
||
Updated•3 years ago
|
| Assignee | ||
Comment 6•3 years ago
|
||
:nlapre I have a hard time reproducing this consistently, but the patch I posted here seems to fix the issue (or at least, makes it harder to reproduce 😅). Could you import this patch and test it locally?
I've also checked this patch against the linkedin "you got a message" email link scenario described here and it seems fixed there too.
| Reporter | ||
Comment 7•3 years ago
|
||
Looks like this patch fixes both the Wikipedia and LinkedIn issue for me, too.
Comment 8•3 years ago
|
||
:morgan we are in the last week of beta for Fx119.
Will this land this week and is it safe for an uplift request?
| Assignee | ||
Comment 9•3 years ago
|
||
(In reply to Donal Meehan [:dmeehan] from comment #8)
:morgan we are in the last week of beta for Fx119.
Will this land this week and is it safe for an uplift request?
I don't think so -- I'm still trying to work out if this is our best solution, and its a bit of a risky uplift so I don't think we should do it this late in the cycle anyway :) thanks for checking!
Updated•3 years ago
|
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
| bugherder | ||
Updated•3 years ago
|
Comment 12•2 years ago
|
||
I would like to verify this fix. Can you explain in more detail what the actual and expected results are or provide a reduced test case? I can't seem to reproduce an issue in the old Nightly. Thank you!
Comment 13•2 years ago
|
||
:morgan, can you help me with some clearer steps to reproduce and verify this fix? Thank you.
| Assignee | ||
Comment 14•2 years ago
|
||
Sure! I've edited Nathan's STR, lemme know if you have questions:
STR:
- Launch VoiceOver (in the VoiceOver Utility, make sure navigation > mouse pointer > Ignores VO Cursor)
- Open a Wikipedia page
- Use the VO cursor to focus a list item in the nav element, such as the one with id=toc-References.
- Scroll the page down using the mouse. You might have to scroll it twice (I sometimes can't get it to break with only one scroll.)
- Check the bounds of the same element again by moving left and then right with the VO cursor
Expected: The bounds should correctly bound the link to a page anchor.
Actual: The bounds are incorrect.
| Assignee | ||
Updated•2 years ago
|
Comment 15•2 years ago
|
||
I can reproduce this issue in Nightly v119.0a1 (2023-08-28) and I can confirm the fix in Nightly v124.0a1, Release v122.0.1. The testing was performed on MacOS11 with VoiceOver. The VO focus (black rectangle) is now correctly displayed after scrolling the page and moving VO left/right.
Thank you for the clarification!
Updated•2 years ago
|
Description
•