Skip to content

Commit

Permalink
Fix nesting problem
Browse files Browse the repository at this point in the history
  • Loading branch information
mfreed7 committed Nov 17, 2024
1 parent b28a9f9 commit 81b5b7f
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -86361,22 +86361,23 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
attribute, <span>limited to only known values</span>.</p>

<p>To run the <dfn>popover target attribute activation behavior</dfn> given a <code>Node</code>
<var>node</var> and an <code>EventTarget</code> <var>eventTarget</var>:</p>
<var>invoker</var> and an <code>EventTarget</code> <var>eventTarget</var>:</p>

<ol>
<li><p>Let <var>popover</var> be <var>node</var>'s <span>popover target element</span>.</p></li>
<li><p>Let <var>popover</var> be <var>invoker</var>'s <span>popover target element</span>.</p></li>

<li><p>If <var>popover</var> is null, then return.</p></li>

<li><p>If <var>eventTarget</var> is a <span>shadow-including inclusive descendant</span> of
<var>popover</var>, then return.</p></li>
<var>popover</var>, and <var>popover</var> is a <span>shadow-including inclusive descendant</span>
of <var>invoker</var>, then return.</p></li>

<li><p>If <var>node</var>'s <code data-x="attr-popovertargetaction">popovertargetaction</code>
<li><p>If <var>invoker</var>'s <code data-x="attr-popovertargetaction">popovertargetaction</code>
attribute is in the <span data-x="attr-popovertargetaction-show">show</span> state and
<var>popover</var>'s <span>popover visibility state</span> is <span
data-x="popover-showing-state">showing</span>, then return.</p></li>

<li><p>If <var>node</var>'s <code data-x="attr-popovertargetaction">popovertargetaction</code>
<li><p>If <var>invoker</var>'s <code data-x="attr-popovertargetaction">popovertargetaction</code>
attribute is in the <span data-x="attr-popovertargetaction-hide">hide</span> state and
<var>popover</var>'s <span>popover visibility state</span> is <span
data-x="popover-hidden-state">hidden</span>, then return.</p></li>
Expand All @@ -86388,23 +86389,23 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
<li><p>Otherwise, if <var>popover</var>'s <span>popover visibility state</span> is <span
data-x="popover-hidden-state">hidden</span> and the result of running <span>check popover
validity</span> given <var>popover</var>, false, false, and null is true, then run <span>show
popover</span> given <var>popover</var>, false, and <var>node</var>.</p></li>
popover</span> given <var>popover</var>, false, and <var>invoker</var>.</p></li>
</ol>

<p>To get the <dfn>popover target element</dfn> given a <code>Node</code> <var>node</var>, perform
<p>To get the <dfn>popover target element</dfn> given a <code>Node</code> <var>invoker</var>, perform
the following steps. They return an <span data-x="HTML elements">HTML element</span> or null.</p>

<ol>
<li><p>If <var>node</var> is not a <span data-x="concept-button">button</span>, then return
<li><p>If <var>invoker</var> is not a <span data-x="concept-button">button</span>, then return
null.</p></li>

<li><p>If <var>node</var> is <span data-x="concept-fe-disabled">disabled</span>, then return
<li><p>If <var>invoker</var> is <span data-x="concept-fe-disabled">disabled</span>, then return
null.</p></li>

<li><p>If <var>node</var> has a <span>form owner</span> and <var>node</var> is a <span
<li><p>If <var>invoker</var> has a <span>form owner</span> and <var>invoker</var> is a <span
data-x="concept-submit-button">submit button</span>, then return null.</p></li>

<li><p>Let <var>popoverElement</var> be the result of running <var>node</var>'s <span data-x="get
<li><p>Let <var>popoverElement</var> be the result of running <var>invoker</var>'s <span data-x="get
the attr-associated element">get the <code data-x="">popovertarget</code>-associated
element</span>.</p></li>

Expand Down

0 comments on commit 81b5b7f

Please sign in to comment.