Skip to content

Commit

Permalink
Fix review comments from @annevk.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaron committed Sep 28, 2023
1 parent 7ca4b3d commit e0dfa9f
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -13557,8 +13557,8 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></code></pre> <!-- DO NOT REWRAP
<li><p>Let <var>result</var> be the <span>auto directionality</span> of
<var>element</var>.</p></li>

<li><p>If <var>result</var> is null, then set <var>result</var> to the <span>parent
directionality</span> of <var>element</var>.</p></li>
<li><p>If <var>result</var> is null, then return the <span>parent directionality</span> of
<var>element</var>.</p></li>

<li><p>Return <var>result</var>.</p></li>
</ol>
Expand Down Expand Up @@ -13624,9 +13624,16 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></code></pre> <!-- DO NOT REWRAP
<li><p>If <var>child</var> is a <code>Text</code> node, then set <var>childDirection</var> to
the <span>text node directionality</span> of <var>child</var>.</p></li>

<li><p>If <var>child</var> is an <code>Element</code> node, then set
<var>childDirection</var> to the <span>auto directionality</span> of
<var>child</var>.</p></li>
<li>
<p>Otherwise:</p>

<ol>
<li><p><span>Assert</span>: <var>child</var> is an <code>Element</code> node.</p></li>

<li><p>Set <var>childDirection</var> to the <span>auto directionality</span> of
<var>child</var>.</p></li>
</ol>
</li>

<li><p>If <var>childDirection</var> is not null, then return
<var>childDirection</var>.</p></li>
Expand Down

0 comments on commit e0dfa9f

Please sign in to comment.