Just use childrenOfType<Element>/descendantsOfType<Element> instead.
Created attachment 220192 [details] patch
https://trac.webkit.org/r161196
Do childrenOfType and descendantsOfType really need “OfType” in their names?
(In reply to comment #3) > Do childrenOfType and descendantsOfType really need “OfType” in their names? Probably not.
(In reply to comment #4) > (In reply to comment #3) > > Do childrenOfType and descendantsOfType really need “OfType” in their names? > > Probably not. With such generic names collisions with local variables and class members might get annoying. But maybe it is not a real problem.