Add test for pointer-events: none support #80
Comments
|
good call. in the meantime, here's how you can have it: |
|
Or the slightly shorter:
|
|
Yeah in general i see the So ... i prefer |
|
closing this ticket for now.. we're linking it up on the wiki: thanks everyone. this'll go into the Modernizr 2.0 ecosystem of tests... somehow. :) |
|
mr @ryanseddon pointed out that @ausi has written a pointer-events test that doesnt false positive (i think its because of SVG pointer-events support but lacking the CSS side of things) I'd love to get this added to |
|
i replaced the maybe you should wait until it's tested better. |
|
ausi it turns out you can use window's getCompuedStyle except when going cross-frame in ff3.6 just FYI.. anyway closed this issue as I merged ausi's PR. cheers. |
|
pointer-events needs more testing. It's false positiving in IE9 due to pointer-events on SVG support (I believe). I've removed the existing test from the repo. We've tried to do p-e tests in #386 and #556. And #519 pointed out the naive test will false positive in Opera. Does someone want to take on defining the best test here? This needs a more thorough look. cc @helgri @ausi |
|
IE10 also renders false positives as pointer-events are present, and even retain valid values, yet don't function on HTML elements. Support is there for SVG, as Paul suggested. |
|
I can not confirm false positives in IE9 or Opera. Both browsers do not support pointer-events for CSS/HTML. On this page you can test the support by clicking the box in the middle: A list of browsers where i tested my script: https://github.com/ausi/Feature-detection-technique-for-pointer-events/wiki |
|
should we rename the test to |
|
@paulirish what can i do to get this test back to the Modernizr feature-detects? |
|
Yeah I'm not sure why I got so confused here. my bad, ausi. |
It's totally fine. This reverts commit 284a859.
|
i tested with HTC TITAN (windows phone 7.5) and give me an INCOMPATIBILITY with pointer-events. But i think it's a false positive, because it worked in my website. How can i solve this issue? |
|
@patavinus - Could you open a new issue and provide a Codepen (or similar) which reproduces the problem? |
feature detection for pointer-events - closes Modernizr#80
|
Hi All, |
http://demos.hacks.mozilla.org/openweb/pointer-events/ is great for opacity gradients on top of trailing-off content without swallowing up mouse events, but on browsers not handling pointer-events: none, it hampers functionality. Could we get a test for this support?
The text was updated successfully, but these errors were encountered: