Is it possible to determine styles in a CSS file through Javascript?
I am trying to detect CSS properties that will be applied to an element in a certain state, :hover in this case, but without those properties currently being active on the element. I had thought about cloning the element, appending the clone as a sibling with display:none and querying properties that way, but I don't know how to force the :hover style through Javascript. Any ideas?