[csswg-drafts] How author know spatnav will work by default in specific user agent? (#3370)

frivoal has just created a new issue for https://github.com/w3c/csswg-drafts:

== How author know spatnav will work by default in specific user agent? ==
---

Migrated from https://github.com/WICG/spatial-navigation/issues/41
Originally created by @junhoseo on *Wed, 28 Mar 2018 05:54:57 GMT*

---
Hello,
Let's assume that an author makes a web page that supports spatnav.
If a running browser supports spatnav by default, the author will disable
internal implementation (maybe author implemented using javascript) for
avoiding conflict. Maybe the author wants to prevent default spatnav.

But, How to know a browser supports spatnav or not in runtime?
For example, if we can use "if (window.spatnav_enabled)", we can control
above case.

Another use case for this information is polyfill. Polyfill library can
recognize spatnav feature by reading this information.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3370 using your GitHub account

Received on Monday, 3 December 2018 07:42:06 UTC