We should have a lineageOfType iterator for renderers, just like we already do for elements.
Created attachment 220337 [details] Patch
Comment on attachment 220337 [details] Patch r=me
Comment on attachment 220337 [details] Patch Clearing flags on attachment: 220337 Committed r161288: <http://trac.webkit.org/changeset/161288>
All reviewed patches have been landed. Closing bug.
Comment on attachment 220337 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=220337&action=review > Source/WebCore/rendering/RenderAncestorIterator.h:187 > +inline RenderAncestorIteratorAdapter<T> lineageOfType(RenderObject& first) "lineageOfType" doesn't tell me that this is walking the ancestor chain (you can have a descendant lineage as well as an ancestor lineage). Can we rename it to ancestorLineageOfType()?