svg2: 2 new changesets

details:   https://svgwg.org/hg/svg2/rev/aceb9d5b74e9
branches:  
changeset: 540:aceb9d5b74e9
user:      Cameron McCormack <cam@mcc.id.au>
date:      Tue Sep 24 11:35:07 2013 +1000
description:
Use more new-style attribute definition boxes in Scripting chapter.

details:   https://svgwg.org/hg/svg2/rev/7d5b80b705dc
branches:  
changeset: 541:7d5b80b705dc
user:      Cameron McCormack <cam@mcc.id.au>
date:      Tue Sep 24 11:35:31 2013 +1000
description:
Typos.

diffstat:

 master/script.html |  180 ++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 123 insertions(+), 57 deletions(-)

diffs (242 lines):

diff --git a/master/script.html b/master/script.html
--- a/master/script.html
+++ b/master/script.html
@@ -231,60 +231,92 @@ as if processed with the media type <spa
 <p>Below is the definition for the <a>'g/onload'</a> event attribute.  It
 can be specified on all of the <a>animation elements</a> and most of the
 <a>graphics elements</a> and <a>container elements</a>.  The <a>'g/onload'</a>
 event attribute is classified as both a <a>graphical event attribute</a>
 and an <a>animation event attribute</a>.  (See the definition for each element
 to determine whether it can have a <a>graphical event attribute</a>
 specified on it.)</p>
 
-<div class="adef-list">
-  <p><em>Attribute definitions:</em></p>
-  <dl>
-    <dt id="OnLoadEventAttribute"><span class="adef">onload</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dd>Specifies some script to execute when "bubbling" or "at target"
+<p><em>Attribute definitions:</em></p>
+
+<dl class="attrdef-list">
+  <dt>
+    <table class="propdef attrdef">
+      <tr>
+        <th>Name</th>
+        <th>Value</th>
+        <th>Lacuna value</th>
+        <th>Animatable</th>
+      </tr>
+      <tr>
+        <td><dfn id="OnLoadEventAttribute">onload</dfn></td>
+        <td><a>&lt;anything&gt;</a></td>
+        <td>(none)</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    Specifies some script to execute when "bubbling" or "at target"
     phase listeners for the SVGLoad event are fired on the element
-    the attribute is specified on.<br/>
-    <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: no.</span></dd>
-  </dl>
-</div>
+    the attribute is specified on.
+  </dd>
+</dl>
 
 <h3 id="GraphicsEvents">Event attributes on graphics and container elements</h3>
 
 <p>Below are the definitions for the <a>graphical event attributes</a>.
 These can be specified on most <a>graphics elements</a> and
 <a>container elements</a>.  (See the definition for each element to
 determine whether it can have a <a>graphical event attribute</a>
 specified on it.)</p>
 
 <p>Note that <a>'g/onload'</a>, defined above, is also classified as a
 <a>graphical event attribute</a>.</p>
 
-<div class="adef-list">
-  <p><em>Attribute definitions:</em></p>
-  <dl>
-    <dt id="OnFocusInEventAttribute"><span class="adef">onfocusin</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnFocusOutEventAttribute"><span class="adef">onfocusout</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnActivateEventAttribute"><span class="adef">onactivate</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnClickEventAttribute"><span class="adef">onclick</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnKeyDownEventAttribute"><span class="adef">onkeydown</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnKeyPressEventAttribute"><span class="adef">onkeypress</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnKeyUpEventAttribute"><span class="adef">onkeyup</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnMouseDownEventAttribute"><span class="adef">onmousedown</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnMouseUpEventAttribute"><span class="adef">onmouseup</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnMouseOverEventAttribute"><span class="adef">onmouseover</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnMouseMoveEventAttribute"><span class="adef">onmousemove</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnMouseOutEventAttribute"><span class="adef">onmouseout</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dd>Specifies some script to execute when "bubbling" or "at target"
+<p><em>Attribute definitions:</em></p>
+
+<dl class="attrdef-list">
+  <dt>
+    <table class="propdef attrdef">
+      <tr>
+        <th>Name</th>
+        <th>Value</th>
+        <th>Lacuna value</th>
+        <th>Animatable</th>
+      </tr>
+      <tr>
+        <td>
+          <dfn id="OnFocusInEventAttribute">onfocusin</dfn>,
+          <dfn id="OnFocusOutEventAttribute">onfocusout</dfn>,
+          <dfn id="OnActivateEventAttribute">onactivate</dfn>,
+          <dfn id="OnClickEventAttribute">onclick</dfn>,
+          <dfn id="OnKeyDownEventAttribute">onkeydown</dfn>,
+          <dfn id="OnKeyPressEventAttribute">onkeypress</dfn>,
+          <dfn id="OnKeyUpEventAttribute">onkeyup</dfn>,
+          <dfn id="OnMouseDownEventAttribute">onmousedown</dfn>,
+          <dfn id="OnMouseUpEventAttribute">onmouseup</dfn>,
+          <dfn id="OnMouseOverEventAttribute">onmouseover</dfn>,
+          <dfn id="OnMouseMoveEventAttribute">onmousemove</dfn>,
+          <dfn id="OnMouseOutEventAttribute">onmouseout</dfn>
+        </td>
+        <td><a>&lt;anything&gt;</a></td>
+        <td>(none)</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    Specifies some script to execute when "bubbling" or "at target"
     phase listeners for the corresponding event are fired on the element
-    the attribute is specified on.  See the <a href='interact.html#SVGEvents'>Complete list of support events</a>
-    to determine which event each of these event attributes corresponds to.<br/>
-    <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: no.</span></dd>
-  </dl>
-</div>
+    the attribute is specified on.  See the <a href='interact.html#SVGEvents'>Complete list of supported events</a>
+    to determine which event each of these event attributes corresponds to.
+  </dd>
+</dl>
 
 <h3 id="DocumentEvents">Document-level event attributes</h3>
 
 <p>Below are the definitions for the <a>document event attributes</a>.
 These can be specified only on <a>'svg'</a> elements.</p>
 
 <p class="issue">The conformance class for the 'only-on-&lt;svg> elements'
 criteria needs to be clarified here (this is for document validation presumably,
@@ -295,54 +327,88 @@ it makes sense to not encourage uses whe
 For <a href="conform.html#ConformingDynamicSVGViewers">Conforming Dynamic SVG Viewers</a>:
 what the <a>document event attributes</a> should do is register an event listener
 for the event in question.</p>
 
 <p class="issue">'onerror' should be available on image, script and elements
 that load external resources.  This is related to issue
 <a href="http://www.w3.org/Graphics/SVG/WG/track/issues/2254">2254</a>.</p>
 
-<div class="adef-list">
-  <p><em>Attribute definitions:</em></p>
-  <dl>
-    <dt id="OnUnloadEventAttribute"><span class="adef">onunload</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnAbortEventAttribute"><span class="adef">onabort</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnErrorEventAttribute"><span class="adef">onerror</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnResizeEventAttribute"><span class="adef">onresize</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnScrollEventAttribute"><span class="adef">onscroll</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnZoomEventAttribute"><span class="adef">onzoom</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dd>Specifies some script to execute when "bubbling" or "at target"
+<p><em>Attribute definitions:</em></p>
+
+<dl class="attrdef-list">
+  <dt>
+    <table class="propdef attrdef">
+      <tr>
+        <th>Name</th>
+        <th>Value</th>
+        <th>Lacuna value</th>
+        <th>Animatable</th>
+      </tr>
+      <tr>
+        <td>
+          <dfn id="OnUnloadEventAttribute">onunload</dfn>,
+          <dfn id="OnAbortEventAttribute">onabort</dfn>,
+          <dfn id="OnErrorEventAttribute">onerror</dfn>,
+          <dfn id="OnResizeEventAttribute">onresize</dfn>,
+          <dfn id="OnScrollEventAttribute">onscroll</dfn>,
+          <dfn id="OnZoomEventAttribute">onzoom</dfn>
+        </td>
+        <td><a>&lt;anything&gt;</a></td>
+        <td>(none)</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    Specifies some script to execute when "bubbling" or "at target"
     phase listeners for the corresponding event are fired on the element
-    the attribute is specified on.  See the <a href='interact.html#SVGEvents'>Complete list of support events</a>
-    to determine which event each of these event attributes corresponds to.<br/>
-    <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: no.</span></dd>
-  </dl>
-</div>
+    the attribute is specified on.  See the <a href='interact.html#SVGEvents'>Complete list of supported events</a>
+    to determine which event each of these event attributes corresponds to.
+  </dd>
+</dl>
 
 <h3 id="AnimationEvents">Animation event attributes</h3>
 
 <p>Below are the definitions for the <a>animation event attributes</a>.
 These can be specified on the <a>animation elements</a>.</p>
 
 <p>Note that <a>'g/onload'</a>, defined above, is also classified as an
 <a>animation event attribute</a>.</p>
 
-<div class="adef-list">
-  <p><em>Attribute definitions:</em></p>
-  <dl>
-    <dt id="OnBeginEventAttribute"><span class="adef">onbegin</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnEndEventAttribute"><span class="adef">onend</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dt id="OnRepeatEventAttribute"><span class="adef">onrepeat</span> = "<span class="attr-value"><a href='types.html#DataTypeAnything'>&lt;anything&gt;</a></span>"</dt>
-    <dd>Specifies some script to execute when "bubbling" or "at target"
+<p><em>Attribute definitions:</em></p>
+
+<dl class="attrdef-list">
+  <dt>
+    <table class="propdef attrdef">
+      <tr>
+        <th>Name</th>
+        <th>Value</th>
+        <th>Lacuna value</th>
+        <th>Animatable</th>
+      </tr>
+      <tr>
+        <td>
+          <dfn id="OnBeginEventAttribute">onbegin</dfn>,
+          <dfn id="OnEndEventAttribute">onend</dfn>,
+          <dfn id="OnRepeatEventAttribute">onrepeat</dfn>
+        </td>
+        <td><a>&lt;anything&gt;</a></td>
+        <td>(none)</td>
+        <td>no</td>
+      </tr>
+    </table>
+  </dt>
+  <dd>
+    Specifies some script to execute when "bubbling" or "at target"
     phase listeners for the corresponding event are fired on the element
-    the attribute is specified on.  See the <a href='interact.html#SVGEvents'>Complete list of support events</a>
-    to determine which event each of these event attributes corresponds to.<br/>
-    <span class="anim-target"><a href="animate.html#Animatable">Animatable</a>: no.</span></dd>
-  </dl>
-</div>
+    the attribute is specified on.  See the <a href='interact.html#SVGEvents'>Complete list of supported events</a>
+    to determine which event each of these event attributes corresponds to.
+  </dd>
+</dl>
 
 <h2 id="DOMInterfaces">DOM interfaces</h2>
 
 <h3 id="InterfaceSVGScriptElement">Interface SVGScriptElement</h3>
 
 
 <edit:with element='script'>
 

Received on Tuesday, 24 September 2013 01:37:53 UTC