tl;dr: cairo-sphinx is on the chopping block for 1.18.0; if you use it, please tell us how you're using it, so we can actually document it.
In order to reduce the amount of differences between upstream and downstream Cairo builds, I have recently enabled the tee surface, which is currently used by Firefox.
The problem is, though, that we have no way of knowing if the fix is working, because there are no instructions on how to use cairo-sphinx; the code was committed in 2009 and has not changed in the past 14 years, so we don't even know if it has been working properly in that time. The tee surface has always been disabled by default, and only downstreams building Firefox with a system copy of Cairo would actually exercise the build.
Ciao,
Emmanuele.