Skip to content

Commit 9a29698

Browse files
committed
Formatting and clarity.
1 parent 02f01e8 commit 9a29698

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

source

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90137,15 +90137,16 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
9013790137
elements. When applied to an element, it enables directional arrow key navigation among its
9013890138
focusable descendants, forming a <dfn>focus group</dfn>.</p>
9013990139

90140-
<p>The attribute's value is a string of space-separated tokens. For most focusgroups, the first token must be a
90141-
<dfn>behavior token</dfn>, which defines the primary interaction pattern, and subsequent tokens are
90142-
optional <dfn>modifier tokens</dfn>. The special token <code>none</code> is used alone to opt out of focusgroup behavior.</p>
90140+
<p>The attribute's value is a string of space-separated tokens. The first token must either be a
90141+
<dfn>behavior token</dfn>, which defines the primary interaction pattern, or the special token
90142+
<code>none</code> which is used alone to opt out of focusgroup behavior. If a behavior token is
90143+
specified, <dfn>modifier tokens</dfn> can be provided subsequently.</p>
9014390144

9014490145
<h5>Concepts</h5>
9014590146

9014690147
<p>A <dfn>focusgroup owner</dfn> is an element with a valid <code data-x="attr-focusgroup">focusgroup</code> attribute specified, where the attribute value contains a <span data-x="behavior token">behavior token</span> (not <code data-x="attr-focusgroup-none">none</code>).</p>
9014790148

90148-
<p>The <dfn>focusgroup scope</dfn> of a focusgroup owner is the owner itself and all of its <span>shadow-inclusive descendants</span>, excluding any descendants that are themselves focusgroup owners or have opted out with <code data-x="attr-focusgroup-none">focusgroup="none"</code>.</p>
90149+
<p>The <dfn>focusgroup scope</dfn> of a focusgroup owner is the owner itself and all of its <span>shadow-including descendants</span>, excluding any descendants that are themselves focusgroup owners or have opted out with <code data-x="attr-focusgroup-none">focusgroup="none"</code>.</p>
9014990150

9015090151
<p>A <dfn>focusgroup item</dfn> is any <span>focusable</span> element within the focusgroup scope.</p>
9015190152

@@ -90308,7 +90309,7 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
9030890309

9030990310
<li><p>Let <var>items</var> be all <span data-x="focusgroup item">focusgroup items</span> in <span>tree order</span>.</p></li>
9031090311

90311-
<li><p>Determine the <var>nextItem</var> by finding the geometrically nearest item in the direction of the arrow key, respecting the <var>owner</var>'s <span>writing mode</span> and <span>direction</span>:</p>
90312+
<li><p>Determine the <var>nextItem</var> by finding the geometrically nearest item in the direction of the arrow key, respecting the <var>owner</var>'s <span>'writing-mode'</span> and <span>'direction'</span>:</p>
9031290313
<ul class="brief">
9031390314
<li>If the <code data-x="attr-focusgroup-inline">inline</code> token is present, only consider items on the inline axis.</li>
9031490315
<li>If the <code data-x="attr-focusgroup-block">block</code> token is present, only consider items on the block axis.</li>

0 commit comments

Comments
 (0)