[whatwg] sticky css hover state on touch devices

on touch devices, there is a problem with sticky hover states

https://bugs.webkit.org/show_bug.cgi?id=158517
https://bugs.chromium.org/p/chromium/issues/detail?id=370155

one workaround it to clone, remove and re-insert the element
http://stackoverflow.com/a/31691425

my question is, should an element retain it's hover state when hidden?

if it didn't, an easy workaround for this problem is to set display:none;
and then display:block;...

aka jquery $(el).hide().show()

-- 
Zac Spitzer
+61 405 847 168

Received on Tuesday, 6 December 2016 05:26:01 UTC