Sticky positioning with transform between it and reference box is not scrolled properly
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
People
(Reporter: Oriol, Assigned: emilio)
References
Details
Attachments
(4 files, 1 obsolete file)
Open the attached testcase, it contains a sticky positioned elements inside a scroll container. The quirk is that there is a transformed element between them.
Scroll the container.
The sticky element moves discretely and buggy in Firefox.
It should probably move smoothly from right to left, like in Chromium.
Reporter | ||
Comment 1•7 years ago
|
||
This is what I see in Firefox
Reporter | ||
Comment 2•7 years ago
|
||
This is what I see in Chromium
Assignee | ||
Comment 3•7 years ago
|
||
This seems to work fine in WebRender (you can check toggling gfx.webrender.all to true on Firefox Nightly).
So this is most likely an async-scrolling / APZ bug.
Assignee | ||
Comment 4•7 years ago
|
||
We should probably add a test to avoid regressing this in WR.
Comment 5•7 years ago
|
||
Ya I mentioned WebRender fixing this in the initial csswg filing. At least when I run it on mac.
Comment 6•7 years ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #4)
We should probably add a test to avoid regressing this in WR.
Aside form adding the test, there is a tangential way to cause the bug even with WebRender enabled, where the perspective property set to a non-auto value for the transformation will have it's painting bugged mid scroll.
Should I file that separately or is it encapsulated here? Possibly just how transforms/perspectives behave with stacking contexts in gecko?
Assignee | ||
Comment 7•7 years ago
|
||
Assignee | ||
Comment 8•7 years ago
|
||
(In reply to jonjohnjohnson from comment #6)
Aside form adding the test, there is a tangential way to cause the bug even with WebRender enabled, where the perspective property set to a non-auto value for the transformation will have it's painting bugged mid scroll.
Should I file that separately or is it encapsulated here? Possibly just how transforms/perspectives behave with stacking contexts in gecko?
I suspect that's bug 1498639.
Assignee | ||
Comment 9•7 years ago
|
||
Updated•7 years ago
|
Comment 10•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Comment 11•7 years ago
|
||
bugherder |
Updated•7 years ago
|
Comment 12•6 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:botond, maybe it's time to close this bug?
Comment 13•6 years ago
|
||
We don't want to close it, as the patch that has landed is just a test, not a fix.
But we can remove the leave-open keyword.
Updated•4 years ago
|
Updated•4 years ago
|
Description
•