The problem Firefox has as far as I can tell is that the people in charge of the Mozilla organization would rather it be a social justice philanthropic foundation than a web browser and mail client maker and thus neglect their main product. And those they do have working on Firefox seem to want to remove features and play with UI.
For whatever the reason, Firefox does seem to enjoy playing with colors of the season more than trying to figure out where to take their rendering engine.
The thing that gets me about Mozilla is they were doing thing with xulrunner years ago that WebKit is being used for now with electron apps. But Mozilla didn't develop it. There were crossplatform apps being built with gecko.
I recall that Xulrunner, similar to the Firefox UI back in the day, hesitates just a little bit before responding to events. Perhaps xulrunner was too early in relations to computer performance back in the day, or they simply made a technical error when designing Gecko.