1 Based on svg/custom/text-match-highlight.html. Here run it as a repaint test to check correctness of invalidation.
2 Automatic test requires run-layout-test. To manually test, open this file in Chrome and find 'findme' in the page.
3 There should be 9 highlighted instances of "findme". The 6th higlighted instance should be active.
4 Lorum ipsum findme lorum ipsum findmefindme lorum.
6 Can you findme in this boring text?
7 Findme in a typewriter!
8 Findme on a path! Did you findme?