svg2: ACTION-3568: Remove svg prefix on svgresize and svgscroll events.

details:   https://svgwg.org/hg/svg2/rev/f05eb7f745b2
branches:  
changeset: 583:f05eb7f745b2
user:      Erik Dahlstr?m <ed@opera.com>
date:      Fri Jan 31 17:00:41 2014 -0800
description:
ACTION-3568: Remove svg prefix on svgresize and svgscroll events.

Changes bubbling and cancellation of these events to align with what DOM 3 Events says.

diffstat:

 master/changes.html    |   1 +
 master/definitions.xml |   1 +
 master/interact.html   |  11 ++++++-----
 master/svgdom.html     |   4 ++--
 4 files changed, 10 insertions(+), 7 deletions(-)

diffs (125 lines):

diff --git a/master/changes.html b/master/changes.html
--- a/master/changes.html
+++ b/master/changes.html
@@ -231,16 +231,17 @@ have been made.</p>
 <ul>
   <li>Added the <span class="attr-name">'tabindex'</span> attribute.</li>
   <li>Corrected the definition of the <a>'cursor/xlink:href'</a> attribute on
   the <a>'cursor element'</a> element to take an IRI that is not in a CSS-like
   functional form.</li>
   <li>Added the <span class="prop-value">bounding-box</span> keyword to <a>'pointer-events'</a>.</li>
   <li>Replaced SVGLoad, SVGAbort, SVGError and SVGUnload with load, abort, error and unload respectively.</li>
   <li>Only <a>structurally external elements</a> and the rootmost svg element must fire load events.</li>
+  <li class="added-since-last-wd">Replaced SVGResize and SVGScroll with resize and scroll respectively.</li>
 </ul>
 
 <h3 id="linking">Linking chapter</h3>
 
 <ul>
   <li>Removed the restriction on <a>'tref'</a> only being able to reference SVG elements.</li>
   <li>Added <a>animation elements</a> to the content model of <a>'view'</a>.</li>
 </ul>
diff --git a/master/definitions.xml b/master/definitions.xml
--- a/master/definitions.xml
+++ b/master/definitions.xml
@@ -1469,16 +1469,17 @@
   <term name='SVG documents' href='intro.html#TermSVGDocumentFragment'/>
   <term name='SVG document fragment' href='intro.html#TermSVGDocumentFragment'/>
   <term name='SVG document fragments' href='intro.html#TermSVGDocumentFragment'/>
   <term name='SVG elements' href='intro.html#TermSVGElements'/>
   <term name='SVG namespace' href='intro.html#Namespace'/>
   <term name='SVG user agent' href='intro.html#TermUserAgent'/>
   <term name='SVG user agents' href='intro.html#TermUserAgent'/>
   <term name='SVG viewport' href='intro.html#TermSVGViewport'/>
+  <term name='structurally external element' href='intro.html#TermStructurallyExternalElement'/>
   <term name='structurally external elements' href='intro.html#TermStructurallyExternalElement'/>
   <term name='transformation' href='intro.html#TermTransformation'/>
   <term name='transformations' href='intro.html#TermTransformation'/>
   <term name='transformation matrix' href='intro.html#TermTransformationMatrix'/>
   <term name='transformation matrices' href='intro.html#TermTransformationMatrix'/>
   <term name='user agent' href='intro.html#TermUserAgent'/>
   <term name='user agents' href='intro.html#TermUserAgent'/>
   <term name='user coordinate system' href='intro.html#TermUserCoordinateSystem'/>
diff --git a/master/interact.html b/master/interact.html
--- a/master/interact.html
+++ b/master/interact.html
@@ -384,49 +384,50 @@ required to fire for every element.</p>
         </td>
         <td>(same)</td>
         <td>none</td>
         <td><a
         href="script.html#OnAbortEventAttribute">onabort</a></td>
       </tr>
       <tr>
         <td id="ErrorEvent"><p class="event-name"><strong>error</strong></p>
-          <p>The error event occurs when an element does not load
+          <p>The error event occurs when a 
+          <a>structurally external element</a> does not load
           properly or when an error occurs during script
           execution.</p>
           <p>error events bubble but are not cancelable.</p>
         </td>
         <td>(same)</td>
         <td>none</td>
         <td><a
         href="script.html#OnErrorEventAttribute">onerror</a></td>
       </tr>
       <tr>
-        <td id="ResizeEvent"><p class="event-name"><strong>SVGResize</strong></p>
+        <td id="ResizeEvent"><p class="event-name"><strong>resize</strong></p>
           <p>Occurs when a document view is being resized. This
           event is only applicable to <a>outermost svg elements</a> and is
           dispatched after the resize operation has taken place. The
           target of the event is the <a>'svg'</a> element.</p>
-          <p>SVGResize events bubble but are not cancelable.</p>
+          <p>resize events do not bubble and are not cancelable.</p>
         </td>
         <td>(same)</td>
         <td>none</td>
         <td><a
         href="script.html#OnResizeEventAttribute">onresize</a></td>
       </tr>
       <tr>
-        <td id="ScrollEvent"><p class="event-name"><strong>SVGScroll</strong></p>
+        <td id="ScrollEvent"><p class="event-name"><strong>scroll</strong></p>
           <p>Occurs when a document view is being shifted along the
           X or Y or both axis, either through a direct user
           interaction or any change on the <a>SVGSVGElement::currentTranslate</a> property
           available on <a>SVGSVGElement</a> interface. This event is only
           applicable to <a>outermost svg elements</a> and is
           dispatched after the shift modification has taken place.
           The target of the event is the <a>'svg'</a> element.</p>
-          <p>SVGScroll events bubble but are not cancelable.</p>
+          <p>scroll events bubble only when dispatched to the document, and are not cancelable.</p>
         </td>
         <td>(same)</td>
         <td>none</td>
         <td><a
         href="script.html#OnScrollEventAttribute">onscroll</a></td>
       </tr>
       <tr>
         <td id="ZoomEvent"><p class="event-name"><strong>SVGZoom</strong></p>
diff --git a/master/svgdom.html b/master/svgdom.html
--- a/master/svgdom.html
+++ b/master/svgdom.html
@@ -280,18 +280,18 @@ the following event types from,
     The SVG DOM defines the following SVG-specific custom event
     interfaces. These event interfaces are mandatory for SVG
     user agents: 
     <ul>
       <li><a href="interact.html#LoadEvent">load</a></li>
       <li><a href="interact.html#UnloadEvent">unload</a></li>
       <li><a href="interact.html#AbortEvent">abort</a></li>
       <li><a href="interact.html#ErrorEvent">error</a></li>
-      <li><a href="interact.html#ResizeEvent">SVGResize</a></li>
-      <li><a href="interact.html#ScrollEvent">SVGScroll</a>
+      <li><a href="interact.html#ResizeEvent">resize</a></li>
+      <li><a href="interact.html#ScrollEvent">scroll</a>
       (triggered by either scroll or pan user actions)</li>
     </ul>
   </li>
 
   <li>
     The SVG DOM defines an additional custom event interface: 
     <ul>
       <li><a href="interact.html#ZoomEvent">SVGZoom</a>

Received on Saturday, 1 February 2014 01:04:12 UTC