implement flon_dom_matches()