There's actually no good reason to filter javascript links as we might want to click them (or copy their URL) just like any other link - this fixes #2404. With that being gone, we don't need FILTERS at all anymore, as we can check for existence of the href attribute in the CSS selector instead.
Tests in this directory are automatically picked up by test_hints in
tests/end2end/test_hints_html.py.
They need to contain a special <!-- target: foo.html --> comment which
specifies where the hint in it will point to, and will then test that.