Fix some nullable things in the IDL, and make getTransformToElement take an SVGLocatableElement rather than an SVGElement.
--- a/master/index.html Fri Dec 21 15:33:20 2012 +1100
+++ b/master/index.html Mon Dec 31 13:03:14 2012 +1100
@@ -170,10 +170,8 @@
<p>The SVG Working Group would like to thank the following people for
contributing to this specification by raising issues that resulted
-in errata that were folded in to this document:
-M. Koray İnal,
-Sebastian Kuzminsky,
-Helder Magalhães.
+in changes:
+David Zbarsky.
</p>
<p>In addition, the SVG Working Group would like to acknowledge the
--- a/master/types.html Fri Dec 21 15:33:20 2012 +1100
+++ b/master/types.html Mon Dec 31 13:03:14 2012 +1100
@@ -4210,20 +4210,20 @@
<pre class="idl">interface <b>SVGLocatableElement</b> : <a>SVGElement</a> {
- readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a> <a href="types.html#__svg__SVGLocatableElement__nearestViewportElement">nearestViewportElement</a>;
- readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a> <a href="types.html#__svg__SVGLocatableElement__farthestViewportElement">farthestViewportElement</a>;
+ readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a>? <a href="types.html#__svg__SVGLocatableElement__nearestViewportElement">nearestViewportElement</a>;
+ readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a>? <a href="types.html#__svg__SVGLocatableElement__farthestViewportElement">farthestViewportElement</a>;
<a class="idlinterface" href="types.html#InterfaceSVGRect">SVGRect</a> <a href="types.html#__svg__SVGLocatableElement__getBBox">getBBox</a>();
<a class="idlinterface" href="types.html#InterfaceSVGRect">SVGRect</a> <a href="types.html#__svg__SVGLocatableElement__getStrokeBBox">getStrokeBBox</a>();
- <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="types.html#__svg__SVGLocatableElement__getCTM">getCTM</a>();
- <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="types.html#__svg__SVGLocatableElement__getScreenCTM">getScreenCTM</a>();
- <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="types.html#__svg__SVGLocatableElement__getTransformToElement">getTransformToElement</a>(<a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a> element);
+ <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a>? <a href="types.html#__svg__SVGLocatableElement__getCTM">getCTM</a>();
+ <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a>? <a href="types.html#__svg__SVGLocatableElement__getScreenCTM">getScreenCTM</a>();
+ <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="types.html#__svg__SVGLocatableElement__getTransformToElement">getTransformToElement</a>(<a class="idlinterface" href="types.html#InterfaceSVGLocatableElement">SVGLocatableElement</a> element);
};</pre><dl class="interface">
<dt class="attributes-header">Attributes:</dt>
<dd>
<dl class="attributes">
-<dt id="__svg__SVGLocatableElement__nearestViewportElement" class="attribute first-child"><b>nearestViewportElement</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a>)</span></dt>
+<dt id="__svg__SVGLocatableElement__nearestViewportElement" class="attribute first-child"><b>nearestViewportElement</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a>?)</span></dt>
<dd class="attribute">
<div>
The element which established the current viewport. Often, the nearest
@@ -4233,7 +4233,7 @@
</div>
</dd>
-<dt id="__svg__SVGLocatableElement__farthestViewportElement" class="attribute"><b>farthestViewportElement</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a>)</span></dt>
+<dt id="__svg__SVGLocatableElement__farthestViewportElement" class="attribute"><b>farthestViewportElement</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a>?)</span></dt>
<dd class="attribute">
<div>
The farthest ancestor <a>'svg'</a> element. Null if the current element
@@ -4295,13 +4295,14 @@
</dl>
</dd>
-<dt id="__svg__SVGLocatableElement__getCTM" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>getCTM</b>()
+<dt id="__svg__SVGLocatableElement__getCTM" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a>? <b>getCTM</b>()
</dt>
<dd class="operation">
<div>
Returns the transformation matrix from current user units (i.e., after
application of the <a>'transform'</a> property) to the viewport
-coordinate system for the <a>nearestViewportElement</a>.
+coordinate system for the <a>nearestViewportElement</a>. Note that null
+is returned if this element is not hooked into the document tree.
</div>
@@ -4315,7 +4316,7 @@
</dl>
</dd>
-<dt id="__svg__SVGLocatableElement__getScreenCTM" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>getScreenCTM</b>()
+<dt id="__svg__SVGLocatableElement__getScreenCTM" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a>? <b>getScreenCTM</b>()
</dt>
<dd class="operation">
<div>
@@ -4342,7 +4343,7 @@
</dl>
</dd>
-<dt id="__svg__SVGLocatableElement__getTransformToElement" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>getTransformToElement</b>(<a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a> <var>element</var>)
+<dt id="__svg__SVGLocatableElement__getTransformToElement" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>getTransformToElement</b>(<a class="idlinterface" href="types.html#InterfaceSVGLocatableElement">SVGLocatableElement</a> <var>element</var>)
</dt>
<dd class="operation">
<div>