Skip to content

[css-nav-1] Add spatial-navigation-action CSS Property#3732

Merged
jihyerish merged 9 commits into
w3c:masterfrom
jihyerish:add-spatnav-action
Apr 4, 2019
Merged

[css-nav-1] Add spatial-navigation-action CSS Property#3732
jihyerish merged 9 commits into
w3c:masterfrom
jihyerish:add-spatnav-action

Conversation

@jihyerish
Copy link
Copy Markdown
Contributor

Add the spatial-navigation-action CSS property which can specify the spatial navigation behavior of the container.

IDL:

spatial-navigation-action: auto | focus | scroll
  • auto: The directional input moves the focus to the visible candidates inside the spatial navigation container. If there isn't any visible candidate, it scrolls the container.
  • focus: The directional input moves the focus to candidates inside the spatial navigation container. The user cannot manually scroll the container.
  • scroll: The directional input scrolls the container manually.
    (scroll value is noted as 'at-risk')

Resolves: #3401

Jihye Hong added 4 commits March 14, 2019 17:54
- Add the description of spatial-navigation-action CSS Property
- Add an example of the property
* Remove unnecessary code lines in the example
* Rename the id of the heading
Comment thread css-nav-1/Overview.bs Outdated
@jihyerish jihyerish requested a review from frivoal March 26, 2019 08:39
@anawhj anawhj self-requested a review April 4, 2019 01:19
Copy link
Copy Markdown
Member

@anawhj anawhj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@jihyerish jihyerish removed the request for review from frivoal April 4, 2019 02:11
@jihyerish jihyerish merged commit c049dd1 into w3c:master Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants