When we recreate the async pipeline for the canvas because of the stacking context addition/removal, we actually set it with an empty display list, even if we might already have content: https://searchfox.org/mozilla-central/rev/b741ddde6c678ca7025858952202d20664491555/gfx/layers/wr/WebRenderBridgeParent.cpp#1820 I think this might bail us out on normal canvas: https://searchfox.org/mozilla-central/rev/b741ddde6c678ca7025858952202d20664491555/gfx/layers/wr/WebRenderCanvasRenderer.cpp#85 which triggers a refresh of the pipeline: https://searchfox.org/mozilla-central/rev/b741ddde6c678ca7025858952202d20664491555/gfx/layers/wr/WebRenderBridgeParent.cpp#1477
Bug 1853207 Comment 7 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
When we recreate the async pipeline for the canvas because of the stacking context addition/removal, we actually set it with an empty display list, even if we might already have content: https://searchfox.org/mozilla-central/rev/b741ddde6c678ca7025858952202d20664491555/gfx/layers/wr/WebRenderBridgeParent.cpp#1820