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

Re: [csswg-drafts] [css-nav-1] Clarify "starting point" terminology (#3389)

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Tue, 04 Dec 2018 06:47:15 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-443990514-1543906033-sysbot+gh@w3.org>
> I think in this case, 
> 1) The _search origin_ and _currently focused element_ are not identical.
>    - _search origin_: a point by clicking
>    - _currently focused element_: an element which gains the focus by clicking
> 
> 2)  The best candidate selecting algorithm will search from _search origin_ (defined as the point).
> 
> Do I understand right?

Almost:
1) The _searchOrigin_ is the currently focused element, unless the browser decides to have a _spatial navigation starting point_ inside the currently focused element, in which case the _searchOrigin_ is that instead. Browsers don't have to have a _spatial navigation starting point_. If they do, it is typically set by clicking. But they could set it by some other way, and they don't have to set it at all.
2) The best candidate selecting algorithm will search from _searchOrigin_, that can be a point (if there was a _spatial navigation starting point_), or a node.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3389#issuecomment-443990514 using your GitHub account
Received on Tuesday, 4 December 2018 06:47:16 UTC

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