Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -59127,6 +59127,8 @@ interface <dfn interface>HTMLSelectedContentElement</dfn> : <span>HTMLElement</s
<ol>
<li><p>Let <var>passedFirstSelectedcontent</var> be false.</p></li>

<li><p>Let <var>selectedcontentElements</var> be « ».</p></li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<li><p>Let <var>selectedcontentElements</var> be « ».</p></li>
<li><p>Let <var>elements</var> be « ».</p></li>


<li>
<p>For each <var>descendant</var> of <var>select</var>'s <span
data-x="descendant">descendants</span> in <span>tree order</span> that is a
Expand All @@ -59136,10 +59138,13 @@ interface <dfn interface>HTMLSelectedContentElement</dfn> : <span>HTMLElement</s
<li><p>If <var>passedFirstSelectedcontent</var> is false, then set
<var>passedFirstSelectedcontent</var> to true.</p></li>

<li><p>Otherwise, run <span>clear a <code>selectedcontent</code></span> given
<var>descendant</var>.</p></li>
<li><p>Otherwise, <span data-x="list append">append</span> <var>descendant</var> to
<var>selectedcontentElements</var>.</p></li>
</ol>
</li>

<li><p>For each <var>selectedcontent</var> of <var>selectedcontentElements</var>, <span>clear a
<code>selectedcontent</code></span> given <var>descendant</var>.</p></li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

given selectedcontent (or maybe element if you agree with my shorter name suggestion), surely?

</ol>
</div>

Expand Down