Earlier quoted context omitted.
It isn't a bug; it's the fact that Firefox uses a transparent window and doesn't yet use Core Animation, which offloads scrolling to the window server. Switching to CA involves heavy lifting inside the compositor and is not an easy task. My planeshift crate does some of the work needed to make the WebRender path use Core Animation. In the meantime, setting gfx.compositor.glcontext.opaque to true in about:config helps…
I'm curious (genuine curiosity, not meant sarcastic), why is Firefox only now switching to CoreAnimation? AFAIK CoreAnimation has been around since Leopard which makes it nearly 12 year old, which is positively ancient in the tech world. Also, coincidentally, do you know what exactly causes the H264 problem on macOS? I've tried to track it down in bugzilla to no success, but I am 100% sure it is a bug. The energy imp…
I think CA was only moved to the window server relatively recently. Before then, my understanding is that it simply used OpenGL in-process, so it had no energy advantages over Firefox's built-in compositor. There was also a long time when the APIs to host CA content in the window server were private APIs and only Safari could use them.
> Also, coincidentally, do you know what exactly causes the H264 problem on macOS?
I believe, but am not sure, that H.264 is decoded in software in Firefox but is decoded in hardware in Safari.