Use matchSelector and regression test for Firefox support.

[Closes #3]