Test the (pointer) and (hover) media features. See Bug 87403 for details.