RenderSVGTextPath objects should be detectable like all other SVG renderers, using a isSVGTextPath() method.
Created attachment 69326 [details] Patch
Comment on attachment 69326 [details] Patch LGTM.
Landed in r68775.