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] Define points precisely for measuring the distance #3353

Closed
jihyerish opened this issue Nov 29, 2018 · 1 comment
Closed

[css-nav-1] Define points precisely for measuring the distance #3353

jihyerish opened this issue Nov 29, 2018 · 1 comment
Assignees

Comments

@jihyerish
Copy link
Contributor

jihyerish commented Nov 29, 2018

In the selecting the best candidate step, the distance is measured for each candidate from the starting point.
But it's unclear that which points of the boundary box area are chosen. (for P1 and P2)
It would be
(1) the center point of the boundary box
(2) the center point of edges of each element
(3) the closest point along the edges of each element (Implementation in Blink)

@jihyerish
Copy link
Contributor Author

I'd like to suggest selecting the point as the closest point along the edges of each element (Implementation in Blink).

Selecting the point from the center of an element is also considerable, but it cannot solve the problem when candidate elements are aligned with the same Euclidean distance from the currently focused element.

I've implemented test cases in UX point of view, and tested for several ways to select points.
Please see the result in here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants