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

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

From: Jihye Hong via GitHub <sysbot+gh@w3.org>
Date: Thu, 06 Dec 2018 08:07:49 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-444783656-1544083668-sysbot+gh@w3.org>
@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

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