Skip to content

Commit

Permalink
[Fix #433] Clarify that relatedTarget property is non-null
Browse files Browse the repository at this point in the history
  • Loading branch information
hayatoito committed Mar 11, 2016
1 parent 51fd7cd commit 3139926
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/shadow/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ <h3>relatedTargetScoped flag</h3>

<p>
A trusted event's <a><code>relatedTargetScoped flag</code></a> <strong>must</strong> be initialized to true
if the event has a <code>relatedTarget</code> property [[!DOM-Level-3-Events]].
if the event has a <code>relatedTarget</code> property [[!DOM-Level-3-Events]] whose value is non-null.
</p>
</section>

Expand Down Expand Up @@ -769,7 +769,7 @@ <h3>get the parent</h3>
<var>EVENT</var>'s <a>relatedTargetScoped flag</a> is true
</li>
<li>
<var>EVENT</var> has a <code>relatedTarget</code> property
<var>EVENT</var> has a <code>relatedTarget</code> property whose value is non-null
</li>
<li>
The <a>relative target</a> and the <a>relative related target</a> are the same, where:
Expand All @@ -778,7 +778,7 @@ <h3>get the parent</h3>
The <a>relative target</a> is the result of <a>retargeting algorithm</a> with <var>NODE</var> and <var>TARGET</var> as input
</li>
<li>
The <a>relative related target</a> is the result of <a>retargeting algorithm</a> with <var>NODE</var> and <var>EVENT</var>'s <code>related target</code> as input
The <a>relative related target</a> is the result of <a>retargeting algorithm</a> with <var>NODE</var> and <var>EVENT</var>'s <code>relatedTarget</code> as input
</li>
</ul>
</li>
Expand Down

0 comments on commit 3139926

Please sign in to comment.