phiggins42/has.js

Pointer Events in Opera

Opened this issue · 4 comments

Opera 10.63 does not support CSS pointer events, but advertises this feature. The test provided therefore returns, that Opera does support pointer events.

which test/file are you referring to?

Not sure what you mean.

All snippets shown below report support for pointer events in Opera. Just thought I'd tell you.

"pointerEvents" in document.documentElement.style document.documentElement.style.pointerEvents === ''
typeof document.documentElement.style.pointerEvents == "string"

Oh I see the has("css-pointerevents") pointers test. Thanks for catching that.

FYI, this has been fixed by Modernizr with a new test preventing all false positives in Opera Mini and IE 9-10.