Skip to content

Commit e345ff0

Browse files
committed
Minor changes
1 parent 4518fd0 commit e345ff0

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

source

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91247,7 +91247,7 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
9124791247
<li>
9124891248
<p>If <var>ancestor</var> is not null, <var>element</var>'s <code
9124991249
data-x="attr-popover">popover</code> attribute is in the <span data-x="attr-popover-auto-state">Auto</span> state, and <var>ancestor</var>'s <code
91250-
data-x="attr-popover">popover</code> attribute is in the <span data-x="attr-popover-hint-state">Hint</span> state, then:
91250+
data-x="attr-popover">popover</code> attribute is in the <span data-x="attr-popover-hint-state">Hint</span> state:
9125191251
</p>
9125291252

9125391253
<ol>
@@ -91696,19 +91696,19 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
9169691696
a boolean <var>focusPreviousElement</var>, and a boolean <var>fireEvents</var>:</p>
9169791697

9169891698
<ol>
91699-
<li><p>Let <var>popoverList</var> be <var>document</var>'s <span>showing auto popover list</span> if <var>stackType</var> is <span data-x="attr-popover-auto-state">Auto</span>, otherwise <var>document</var>'s <span>showing hint popover list</span>.</p></li>
91699+
<li><p>Let <var>popoverList</var> be <var>document</var>'s <span>showing auto popover list</span> if <var>stackType</var> is <span data-x="attr-popover-auto-state">Auto</span>; otherwise <var>document</var>'s <span>showing hint popover list</span>.</p></li>
9170091700

91701-
<li><p>Let <var>lastHideIndex</var> be 0 if <var>popoverList</var> does not <span data-x="list contains">contain</span> <var>endpoint</var>, otherwise the index of <var>endpoint</var> in <var>popoverList</var> plus 1.</p></li>
91701+
<li><p>Let <var>lastHideIndex</var> be 0 if <var>popoverList</var> does not <span data-x="list contains">contain</span> <var>endpoint</var>; otherwise the index of <var>endpoint</var> in <var>popoverList</var> plus 1.</p></li>
9170291702

9170391703
<li><p>Let <var>toHide</var> be a slice of <var>popoverList</var> from index <var>lastHideIndex</var>.</p></li>
9170491704

9170591705
<li><p>Reverse <var>toHide</var>.</p></li>
9170691706

9170791707
<li><p>Let <var>toRemain</var> be a slice of <var>popoverList</var> from index 0 to <var>lastHideIndex</var>.</p></li>
9170891708

91709-
<li><p><span data-x="list iterate">For each</span> <var>popover</var> in <var>toHide</var>, run the <span>hide popover algorithm</span> given <var>popover</var>, <var>focusPreviousElement</var>, <var>fireEvents</var>, false, and null.</p></li>
91709+
<li><p><span data-x="list iterate">For each</span> <var>popover</var> of <var>toHide</var>: run the <span>hide popover algorithm</span> given <var>popover</var>, <var>focusPreviousElement</var>, <var>fireEvents</var>, false, and null.</p></li>
9171091710

91711-
<li><p>Let <var>newPopoverList</var> be <var>document</var>'s <span>showing auto popover list</span> if <var>stackType</var> is <span data-x="attr-popover-auto-state">Auto</span>, otherwise <var>document</var>'s <span>showing hint popover list</span>.</p></li>
91711+
<li><p>Let <var>newPopoverList</var> be <var>document</var>'s <span>showing auto popover list</span> if <var>stackType</var> is <span data-x="attr-popover-auto-state">Auto</span>; otherwise <var>document</var>'s <span>showing hint popover list</span>.</p></li>
9171291712

9171391713
<li><p>Reverse <var>newPopoverList</var>.</p></li>
9171491714

@@ -91728,7 +91728,7 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
9172891728
</ol>
9172991729
</div>
9173091730

91731-
<p class="note">The hide all popovers until
91731+
<p class="note">The <span>hide popover stack until</span>
9173291732
algorithm TODO fix is used in several cases to hide all popovers that don't stay open when something
9173391733
happens. For example, during light-dismiss of a popover, this algorithm ensures that we close only
9173491734
the popovers that aren't related to the node clicked by the user.</p>

0 commit comments

Comments
 (0)