• detect all block-level elements having textual children or inline-level descendants not restricted to whitsepace, CR, tab and non-breakable whitespace ; with of course special cases for a few block elements otherwise it's not fun enough,
  • detect all elements with class or id attributes containing a given substring, case insensitively,
  • intersection of polygons.

And of course, performance. Hence my first patch in transformiix...