Skip to content

Commit

Permalink
Fix #486: Remove relatedTargetScoped
Browse files Browse the repository at this point in the history
  • Loading branch information
hayatoito committed May 31, 2016
1 parent 2a253b2 commit f113e26
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions spec/shadow/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -724,15 +724,6 @@ <h3>scoped flag</h3>
</p>
</section>

<section>
<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]] whose value is non-null.
</p>
</section>

<section>
<h3>get the parent</h3>

Expand Down Expand Up @@ -762,7 +753,7 @@ <h3>get the parent</h3>
Otherwise, if all of the following conditions are satisfied, let <var>PARENT</var> be null:
<ol>
<li>
<var>EVENT</var>'s <a>relatedTargetScoped flag</a> is true
<var>TARGET</var>'s <a>root</a> is a <a>shadow root</a>
</li>
<li>
<var>EVENT</var> has a <code>relatedTarget</code> property whose value is non-null
Expand Down Expand Up @@ -799,13 +790,6 @@ <h3>get the parent</h3>
The definitions of <a>retargeting algorithm</a> is specified later.
</p>

<div class="note">
<p>
The motivation of the <a>relatedTargetScoped flag</a> is to avoid the appearance of spurious events, such as <code>mouseover</code> or <code>mouseout</code> events, firing at the node in ancestor trees
in cases where both <code>relatedTarget</code> and <code>target</code> are part of the same <a>shadow tree</a>,
</p>
</div>

</section>

<section class="informative">
Expand Down Expand Up @@ -1708,11 +1692,6 @@ <h3>Extensions to <a><code>EventInit</code></a> Dictionary</h3>
<dd>
<p>Specifies the <a>scoped flag</a> of <code>Event</code></p>
</dd>
<dt>boolean relatedTargetScoped = false</dt>
<dd>
<p>Specifies the <a>relatedTargetScoped flag</a> of <code>Event</code></p>
</dd>
</dl>
</section>

<section>
Expand Down Expand Up @@ -1793,12 +1772,6 @@ <h3>Extensions to <code>Event</code> Interface</h3>
Returns the <dfn>scoped flag</dfn>.
</p>
</dd>
<dt>readonly attribute boolean relatedTargetScoped</dt>
<dd>
<p>
Returns the <dfn>relatedTargetScoped flag</dfn>.
</p>
</dd>
</dl>
</section>

Expand Down

0 comments on commit f113e26

Please sign in to comment.