Skip to content

Commit

Permalink
[Fix #67, Fix #131] Mention a hit testing of a text node.
Browse files Browse the repository at this point in the history
  • Loading branch information
hayatoito committed Jul 16, 2015
1 parent decbcac commit ad7db0c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/shadow/autolink-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ var autolinkConfig = {
'MouseEvent': '#interface-MouseEvent',
'mutation event': '#interface-MutationEvent',
'relatedTarget': '#widl-MouseEvent-relatedTarget',
'topmost event target': '#glossary-topmost-event-target',
'trusted events': '#trusted-events'
},

Expand Down
11 changes: 11 additions & 0 deletions spec/shadow/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1034,6 +1034,17 @@ <h3>Assistive Technology</h3>

</section>

<section>
<h3>Hit Testing</h3>

<p>
When a text node is a child node of a shadow root, a hit testing <strong>must</strong> target the shadow host if the text node is the result of the hit testing.
</p>
<p>
User-agent mouse events <strong>must</strong> be targeted to the parent node in the <a>composed tree</a> of a text node if the <a>topmost event target</a> is the text node.
</p>
</section>

</section>

<section>
Expand Down

0 comments on commit ad7db0c

Please sign in to comment.