diff --git a/source b/source index 2a3dc121c57..372c7d891a7 100644 --- a/source +++ b/source @@ -79792,7 +79792,8 @@ dictionary ToggleEventInit : EventInit {
A node is a focus navigation scope owner if it is a Document
, a
shadow host, a slot, an element in the popover showing state which also has a popover
- invoker set, or a reading flow scope owner.
Each focus navigation scope owner has a focus navigation scope, which is a list of elements. Its contents are determined as follows:
@@ -79804,9 +79805,6 @@ dictionary ToggleEventInit : EventInit {If element's parent is null, then return null.
If element is a reading flow scope owner, then return - element.
If element's parent is a shadow host, then return element's assigned slot.
If element is in the popover showing state and has a popover invoker set, then return element.
If element is a reading flow container scope owner or a reading flow item, then return element.
Return element's parent's associated focus navigation owner.
The order of elements within a focus navigation scope does not impact any of the algorithms in this specification. Ordering only becomes important for the tabindex-ordered focus navigation scope, flattened tabindex-ordered focus - navigation scope and reading-flow focus navigation scope concepts defined - below.
+ navigation scope and reading-flow-ordered focus navigation scope concepts + defined below.A tabindex-ordered focus navigation scope is a list of focusable areas and focus navigation
@@ -79850,9 +79851,11 @@ dictionary ToggleEventInit : EventInit {
The order within a tabindex-ordered focus navigation scope is determined by each
- element's tabindex value and, for reading-flow focus navigation scope,
- by the special rules provided by the sequential navigation search algorithm. The
- tabindex value takes precedence over reading flow.
A reading-flow-ordered focus navigation scope is a tabindex-ordered focus + navigation scope whose focus navigation scope owner is a reading flow + container scope owner. Its order is determined by the reading flow order.
The rules there do not give a precise ordering, as they are composed mostly of "should" statements and relative orderings.
@@ -80098,7 +80101,7 @@ dictionary ToggleEventInit : EventInit { 'grid-rows', 'grid-columns' or 'grid-order'. -A reading flow scope owner is either:
+A reading flow container scope owner is either:
a reading flow container.
A reading flow item is an element whose parent - element is a reading flow scope owner.
+ element is a reading flow container scope owner.A non-participating reading flow item is @@ -80120,10 +80123,7 @@ dictionary ToggleEventInit : EventInit { data-x="reading-flow-item">reading flow item that is not a non-participating reading flow item.
-A reading-flow focus navigation scope is the tabindex-ordered focus navigation - scope of a reading flow scope owner.
- - The reading flow order for a reading-flow focus navigation scope is + The reading flow order for a reading-flow-ordered focus navigation scope is determined by the scope owner's computed value of the 'reading-flow' property:If a reading flow item has a tabindex value + greater than zero, then let its value be readjusted to zero.
+If candidate is a reading flow item or - null, direction is forward, and starting point is in a - reading-flow focus navigation scope scope, then let new - candidate be the result of running the reading flow sequential navigation search - algorithm given candidate, direction, and starting - point's focus navigation scope.
If starting point is a reading flow item + in a reading-flow-ordered focus navigation scope scope, then:
+ +Let reading flow items be the list of reading flow items owned by scope, sorted in + reading flow order.
If starting point is a reading flow - item, direction is backward, and starting point is in a - reading-flow focus navigation scope scope, then let new - candidate be the result of running the reading flow sequential navigation search - algorithm given starting point, direction, and starting - point's focus navigation scope.
If direction is forward, then let candidate be the item + that comes after starting point in reading flow items.
Otherwise, let candidate be the item that comes before starting + point in reading flow items.
If candidate is a navigable container with a non-null content
@@ -80819,58 +80825,6 @@ dictionary ToggleEventInit : EventInit {
Return candidate. The reading flow sequential navigation search algorithm, given a reading flow item current, a sequential focus
- direction direction and a reading-flow focus navigation scope
- scope, consists of the following steps. They return a focusable
- area-or-null. Let reading flow items be the list of reading flow items owned by scope, sorted in
- reading flow. If reading flow items is empty, then return null. If direction is forward, then: If current is the reading flow
- item from reading flow items that comes first in tree order,
- return first item in reading flow items. If current is null, let previous be the reading flow item from reading flow items that
- comes last in tree order. Otherwise, let previous be the reading
- flow item that comes before current in tree order. If previous is the last item in reading flow items, then return
- null. Otherwise, return the reading flow item that
- comes after previous in reading flow items. Otherwise: Let previous be the item preceding
- current in reading flow items if one exists, and null
- otherwise. If previous is null, then return null. Otherwise, if previous does not have a child, return previous. Otherwise, return the last child of
- previous.
-
-
-
-
-
-