@@ -1480,9 +1480,11 @@ or of its nearest [=scroll container=] ancestor if it isn't.
|
1480 | 1480 | |
1481 | 1481 | <dt><dfn>focus</dfn> |
1482 | 1482 | <dd> |
1483 | | - The focus is moved to the nearest focusable element within the [=scroll container=], |
| 1483 | + The focus is moved to the nearest focusable element within the [=scroll container=] |
| 1484 | + if it [=can be manually scrolled=] in that direction, |
1484 | 1485 | regardless of whether it is visible. |
1485 | | - If there are none, |
| 1486 | + If there are none |
| 1487 | + or it can't be scrolled in that direction, |
1486 | 1488 | the scroll container is <em>not</em> scrolled, |
1487 | 1489 | and the search continues up the ancestry chain instead. |
1488 | 1490 | |
@@ -1499,7 +1501,8 @@ or of its nearest [=scroll container=] ancestor if it isn't.
|
1499 | 1501 | If the currently focused element is not itself a [=scroll container=], |
1500 | 1502 | this value on an ancestor [=scroll container=] has the same effect as ''spatial-navigation-action/auto''. |
1501 | 1503 | |
1502 | | - If the currently focused element is a [=scroll container=], |
| 1504 | + If the currently focused element is a [=scroll container=] |
| 1505 | + and [=can be manually scrolled=] in the direction requested, |
1503 | 1506 | it is scrolled in the direction requested without changing which element is in focus, |
1504 | 1507 | regardless of the presence of focusable descendants. |
1505 | 1508 | |
@@ -1626,7 +1629,7 @@ but are hosted here until then.
|
1626 | 1629 | Issue(w3c/csswg-drafts#2322): Terminology like this should be in [[CSSOM-VIEW-1]], [[CSS-OVERFLOW-3]], [[CSS-SCROLL-SNAP-1]]. |
1627 | 1630 | |
1628 | 1631 | An element <var>e</var> <dfn lt="can be manually scrolled | can be scrolled manually | cannot be scrolled manually | cannot be manually scrolled">can be manually scrolled</dfn> in a given direction <var>d</var> if: |
1629 | | -* The <a>principal box</a> established by <var>e</var> is a <a>scroll container</a>, and |
| 1632 | +* The <a>principal box</a> established by <var>e</var> is a <a>scroll container</a> in |d|'s axis, and |
1630 | 1633 | * if <var>d</var> is <code>up</code> or <code>down</code>, the computed value of the 'overflow-y' property is not ''overflow/hidden'', and |
1631 | 1634 | * if <var>d</var> is <code>left</code> or <code>right</code>, the computed value of the 'overflow-x' property is not ''overflow/hidden'', and |
1632 | 1635 | * <var>e</var> is not at the <a>scroll boundary</a> in the direction <var>d</var> |
|