You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[css-nav-1] Modify the step for selecting inside elements
1. Modify the making the set of "insiders" in selecting the best candidate steps:
1) From the search origin, fully overlapped elements and partially overlapped elements depending on the requested direction are included in the "insiders"
2) Element which aren't overlapped with the search origin is "outsiders" (*outsider isn't specified in the spec)
2. Modify the selecting the best candidate steps as
1) find the closest element among "insiders"
1-1) if there is one, it is the best candidate
1-2) else fall back to the next step
2) find the closest element among "outsiders" using distance function (https://drafts.csswg.org/css-nav-1/#find-the-shortest-distance)
Related to : #4483
0 commit comments