Re: [csswg-drafts] [css-nav-1] Starting point isn't changed when searching outside of a container (#3392)

@hugoholgersson Sorry for the broken order of the comments. 
For your [last comment](https://github.com/w3c/csswg-drafts/issues/3392#issuecomment-443620629), now I understand your example.
Also, there had been the update in the spec, the term _**starting point**_ was changed to **_search origin_** as same as in the blink.

I think there are two approaches:
* Scenario: 
   - The currently focused element **_A_** (initial **search origin**) inside the scrollable element **_S_** becomes out of the view by scrolling.

(1) Set the **search origin** to the **_S_** as soon as the **_A_** becomes offscreen.
(2) Set the **search origin** to the **_S_** only if the navigation direction indicates searching the candidate outside of the **_S_**.

If the issue #3391 is resolved, it will make easy to decide this issue, too.

I prefer (1), because it is more simple and constant behavior both for searching inside and outside the scrollable element.
@frivoal, what do you think?

-- 
GitHub Notification of comment by jihyerish
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3392#issuecomment-444783656 using your GitHub account

Received on Thursday, 6 December 2018 08:07:51 UTC