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

[csswg-drafts] Improve the distance function (#3371)

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

== Improve the distance function ==

Migrated from https://github.com/WICG/spatial-navigation/issues/114
Originally created by @jihyerish on *Thu, 11 Oct 2018 08:34:46 GMT*

The distance function in the spec which measures the distance between two elements causes unexpected focus movement.
It needs to consider:
- Multiple candidate elements are adjacent to the starting point element (currently focused element)
- Transformed elements
- The element with rounded corner

So the function needs some experiment for getting the more reasonable result and simplifying.

Also, the function in the polyfill doesn't match exactly with the spec; it needs to be fixed.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3371 using your GitHub account
Received on Monday, 3 December 2018 07:42:07 UTC

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