W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2018

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

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Mon, 03 Dec 2018 07:53:03 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-386697432-1543823581-sysbot+gh@w3.org>
frivoal has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-nav-1] 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/3385 using your GitHub account
Received on Monday, 3 December 2018 07:53:04 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:40 UTC