Skip to content

Commit

Permalink
Merge pull request #613 from w3c/fix-427
Browse files Browse the repository at this point in the history
Clarify that bounding box of foreignObject is hit-teasting target and…
  • Loading branch information
dirkschulze committed Dec 10, 2018
2 parents 00ff5a3 + ff93ae5 commit 033894b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
16 changes: 4 additions & 12 deletions master/changes.html
Expand Up @@ -167,22 +167,14 @@ <h3 id="rendering">Rendering Model chapter</h3>
<li>overflow:scroll may show scroll bars on svg elements.</li>
<li>Removed definition of initial clipping path.</li>
<li>Updated rendering requirements to reflect shadow DOM model for use elements.</li>
</ul>
<div class='changed-since-cr1'>
<ul>
<li>Deferred z-index support to a future version of SVG.
<li class='changed-since-cr1'>Deferred z-index support to a future version of SVG.
<a href="https://github.com/w3c/svgwg/issues/483">Issue discussion</a>
<a href="https://github.com/w3c/svgwg/pull/489">Edits</a></li>
</ul>
</div>

<div class='changed-since-cr1 cr2'>
<ul>
<li>Removed the use element from list of elements that the <a>'visibility'</a> property directly affects.
<li class='changed-since-cr1 cr3'>Clarify that <a>'foreignObject'</a> is, and its content may be, hit-testing target.</li>
<li class='changed-since-cr1 cr2'>Removed the use element from list of elements that the <a>'visibility'</a> property directly affects.
<a href="https://github.com/w3c/svgwg/issues/405">Issue discussion</a>
<a href="https://github.com/w3c/svgwg/pull/430">Edits</a></li>
</ul>
</div>
</ul>

<h3 id="types">Basic Data Types and Interfaces chapter</h3>

Expand Down
7 changes: 6 additions & 1 deletion master/interact.html
Expand Up @@ -724,7 +724,12 @@ <h2 id="PointerEventsProp">The <span class="property">'pointer-events'</span> pr
that the image does not receive pointer events.</li>
</ul>

<p>Note that for raster images, the values of properties <a>'opacity'</a>,
<p>For <a>'foreignObject'</a> elements, hit-testing is performed on the rectangular
area, the <a>object bounding box</a>, of the element. See processing for raster
images above. Useragents may allow the foreign content of a <a>'foreignObject'</a>
element to be target of hit-testing as well.</p>

<p>The values of properties <a>'opacity'</a>,
<a>'fill-opacity'</a>, <a>'stroke-opacity'</a>, <a>'fill'</a> and
<a>'stroke'</a> do not affect event processing.</p>

Expand Down

0 comments on commit 033894b

Please sign in to comment.