Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mfreed7 committed Nov 18, 2024
1 parent 81b5b7f commit 3f5cffe
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -48192,9 +48192,8 @@ interface <dfn interface>HTMLInputElement</dfn> : <span>HTMLElement</span> {
<li><p>Run <var>element</var>'s <dfn>input activation behavior</dfn>, if any, and do nothing
otherwise.</p></li>

<li><p>Run the <span>popover target attribute activation behavior</span> given
<var>element</var> and <var>event</var>'s
<span data-x="concept-event-target">target</span>.</p></li>
<li><p>Run the <span>popover target attribute activation behavior</span> given <var>element</var>
and <var>event</var>'s <span data-x="concept-event-target">target</span>.</p></li>
</ol>

<p class="note">Recall that an element's <span>activation behavior</span> runs for both
Expand Down Expand Up @@ -53491,9 +53490,8 @@ interface <dfn interface>HTMLButtonElement</dfn> : <span>HTMLElement</span> {
</dl>
</li>

<li><p>Run the <span>popover target attribute activation behavior</span> given
<var>element</var> and <var>event</var>'s
<span data-x="concept-event-target">target</span>.</p></li>
<li><p>Run the <span>popover target attribute activation behavior</span> given <var>element</var>
and <var>event</var>'s <span data-x="concept-event-target">target</span>.</p></li>
</ol>

</div>
Expand Down Expand Up @@ -86361,23 +86359,24 @@ 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>invoker</var> and an <code>EventTarget</code> <var>eventTarget</var>:</p>
<var>node</var> and an <code>EventTarget</code> <var>eventTarget</var>:</p>

<ol>
<li><p>Let <var>popover</var> be <var>invoker</var>'s <span>popover target element</span>.</p></li>
<li><p>Let <var>popover</var> be <var>node</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>, and <var>popover</var> is a <span>shadow-including inclusive descendant</span>
of <var>invoker</var>, then return.</p></li>
<var>popover</var> and <var>popover</var> is a
<span data-x="shadow-including descendant">shadow-including descendant</span> of <var>node</var>,
then return.</p></li>

<li><p>If <var>invoker</var>'s <code data-x="attr-popovertargetaction">popovertargetaction</code>
<li><p>If <var>node</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>invoker</var>'s <code data-x="attr-popovertargetaction">popovertargetaction</code>
<li><p>If <var>node</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 @@ -86389,23 +86388,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>invoker</var>.</p></li>
popover</span> given <var>popover</var>, false, and <var>node</var>.</p></li>
</ol>

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

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

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

<li><p>If <var>invoker</var> has a <span>form owner</span> and <var>invoker</var> is a <span
<li><p>If <var>node</var> has a <span>form owner</span> and <var>node</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>invoker</var>'s <span data-x="get
<li><p>Let <var>popoverElement</var> be the result of running <var>node</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 3f5cffe

Please sign in to comment.