svg2: ACTION-3552: Add pointer-events:boundingbox to svg.

details:   https://svgwg.org/hg/svg2/rev/cfdc7fa72259
branches:  
changeset: 571:cfdc7fa72259
user:      Erik Dahlstrom <ed@opera.com>
date:      Fri Nov 22 14:01:16 2013 +0100
description:
ACTION-3552: Add pointer-events:boundingbox to svg.

diffstat:

 master/interact.html |  9 ++++++---
 master/propidx.html  |  4 ++--
 2 files changed, 8 insertions(+), 5 deletions(-)

diffs (98 lines):

diff --git a/master/interact.html b/master/interact.html
--- a/master/interact.html
+++ b/master/interact.html
@@ -680,17 +680,17 @@ wasn't specified.</p>
 painted) is rendered directly on top of a rectangle with a <a>'fill'</a> of
 <span class="prop-value">blue</span>. The author might want the circle to be
 the target of pointer events only when the pointer is over the perimeter of
 the circle. When the pointer is over the interior of the circle, the author
 might want the underlying rectangle to be the target element of pointer
 events.</p>
 
 <p>The <a>'pointer-events'</a> property specifies under what circumstances a
-given graphics element can be the target element for a pointer event. It affects
+given element can be the target element for a pointer event. It affects
 the circumstances under which the following are processed:</p>
 
 <ul>
   <li>user interface events such as mouse clicks</li>
 
   <li><a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/selector.html#pseudo-class-selectors">dynamic pseudo-classes</a>
   (i.e., :hover, :active and :focus; [<a href="refs.html#ref-CSS21">CSS21</a>],
   section 5.11)</li>
@@ -702,26 +702,26 @@ the circumstances under which the follow
 
 <table class="propdef">
   <tr>
     <th>Name:</th>
     <td><dfn id="PointerEventsProperty">pointer-events</dfn></td>
   </tr>
   <tr>
     <th>Value:</th>
-    <td>visiblePainted | visibleFill | visibleStroke | visible | painted |
+    <td>boundingbox | visiblePainted | visibleFill | visibleStroke | visible | painted |
     fill | stroke | all | none</td>
   </tr>
   <tr>
     <th>Initial:</th>
     <td>visiblePainted</td>
   </tr>
   <tr>
     <th>Applies to:</th>
-    <td><a>graphics elements</a> and <a>text content child elements</a></td>
+    <td><a>container elements</a>, <a>graphics elements</a> and <a>text content child elements</a></td>
   </tr>
   <tr>
     <th>Inherited:</th>
     <td>yes</td>
   </tr>
   <tr>
     <th>Percentages:</th>
     <td>N/A</td>
@@ -736,16 +736,19 @@ the circumstances under which the follow
   </tr>
   <tr>
     <th><a>Animatable</a>:</th>
     <td>yes</td>
   </tr>
 </table>
 
 <dl>
+  <dt><span class="prop-value">boundingbox</span></dt>
+  <dd>The given element must be a target element for pointer events when the pointer is over the <a>bounding box</a> of the element.</dd>
+
   <dt><span class="prop-value">visiblePainted</span></dt>
   <dd>The given element can be the target element for pointer events when 
   the <a>'visibility'</a> property is set to 
   <span class="prop-value">visible</span> and when the pointer is over a 
   "painted" area. The pointer is over a painted area if it is over the 
   interior (i.e., fill) of the element and the <a>'fill'</a> property has 
   an actual value other than <span class="prop-value">none</span> or it 
   is over the perimeter (i.e., stroke) of the element and the <a>'stroke'</a> 
diff --git a/master/propidx.html b/master/propidx.html
--- a/master/propidx.html
+++ b/master/propidx.html
@@ -489,21 +489,21 @@ other specifications.</p>
           <td><a>graphics elements</a> and <a>text content elements</a></td>
           <td>no</td>
           <td>N/A</td>
           <td><a href="http://www.w3.org/TR/2008/REC-CSS2-20080411/media.html#visual-media-group">visual</a></td>
           <td>yes</td>
         </tr>
         <tr>
           <th><a>'pointer-events'</a></th>
-          <td>visiblePainted | visibleFill | visibleStroke |
+          <td>boundingbox | visiblePainted | visibleFill | visibleStroke |
           visible |<br />
            painted | fill | stroke | all | none </td>
           <td>visiblePainted</td>
-          <td><a>graphics elements</a></td>
+          <td><a>container elements</a>, <a>graphics elements</a> and <a>text content child elements</a></td>
           <td>yes</td>
           <td>N/A</td>
           <td><a href="http://www.w3.org/TR/2008/REC-CSS2-20080411/media.html#visual-media-group">visual</a></td>
           <td>yes</td>
         </tr>
         <tr>
           <th><a>'shape-rendering'</a></th>
           <td>auto | optimizeSpeed | crispEdges |<br />

Received on Friday, 22 November 2013 13:04:02 UTC