When using Firefox on a mobile device, touching on an element triggers the :hover
pseudo-class. However, when using Firefox on a PC in Responsive Design Mode with Touch Simulation active, the :hover
is not triggered by clicking the mouse button on the element. If I turn off Touch Simulation, then hovering the mouse over the element will of course activate :hover
, but isn't the point of Touch Simulation to translate mouse-inputs into their corresponding touch-events? If touching an element on a mobile browser activates :hover
, then shouldn't clicking the mouse in Touch Simulation also trigger :hover
?
Simple JSFiddle to illustrate - view both on PC Firefox in RDM and on mobile Firefox to see the difference.
Am I doing something wrong, or is it a deficiency with Firefox RDM or with my understanding of Touch Simulation?