Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-nav-1] Improve the distance function #114

Closed
jihyerish opened this issue Oct 11, 2018 · 1 comment
Closed

[css-nav-1] Improve the distance function #114

jihyerish opened this issue Oct 11, 2018 · 1 comment

Comments

@jihyerish
Copy link
Collaborator

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.

@jihyerish jihyerish self-assigned this Oct 11, 2018
@frivoal frivoal changed the title Improve the distance function [css-nav-1] Improve the distance function Dec 3, 2018
@frivoal
Copy link
Collaborator

frivoal commented Dec 3, 2018

Issue migrated to w3c/csswg-drafts#3384

@frivoal frivoal closed this as completed Dec 3, 2018
@WICG WICG locked and limited conversation to collaborators Dec 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants