Investigate the reason why scroll-target-snap-002.html fails
Categories
(Core :: Layout: Scrolling and Overflow, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox112 | --- | fixed |
People
(Reporter: hiro, Assigned: hiro)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 external file)
|
1.97 KB,
application/octet-stream
|
Details |
Though the test fails on all browsers, we should know the reason.
| Assignee | ||
Comment 1•3 years ago
•
|
||
I believe the failure is a correct behavior, I mean the test itself has a mistake.
There's a similar test, scroll-target-snap-003.html, a main difference between the failed test and this test is that this test uses Element.focus() rather than Element.scrollIntoView. So both tests should behave in the same manner in terms of scrolling. But there's another difference which, I believe, makes scroll-target-snap-002.html fails. The difference is the target element position. You can see the difference in the file I am attaching.
| Assignee | ||
Comment 2•3 years ago
|
||
With the change, the DOM tree structures match scroll-target-snap-003.html
which passes on all browsers.
Updated•3 years ago
|
Comment 5•3 years ago
•
|
||
Backed out changeset 0a5bd0d08ed2 (Bug 1816338) for wr failures on scroll-target-snap-002.html.
Backout link
Push with failures Wr3
Failure Log
| Assignee | ||
Comment 6•3 years ago
|
||
I forgot re-adding the ini file (when I pushed a try run I removed it to see unexpected-pass on the try run).
Comment 10•3 years ago
|
||
| bugherder | ||
Description
•