All appearance of SVGMatrix were replaced by DOMMatrix or DOMMatrixReadOnly
authorDirk Schulze <dschulze@adobe.com>
Thu, 22 May 2014 20:33:42 +0200
changeset 675 318063327d1b
parent 674 524696f931ab
child 676 f91b9fc24745
All appearance of SVGMatrix were replaced by DOMMatrix or DOMMatrixReadOnly
master/changes.html
master/coords.html
master/definitions.xml
master/idlindex.html
master/struct.html
master/types.html
--- a/master/changes.html	Thu May 22 19:41:04 2014 +0200
+++ b/master/changes.html	Thu May 22 20:33:42 2014 +0200
@@ -66,6 +66,8 @@
 <h3 id="types">Basic Data Types and Interfaces chapter</h3>
 
 <ul>
+  <li>All appearance of <a>SVGMatrix</a> were replaced by <a>DOMMatrix</a> or <a>DOMMatrixReadOnly</a>.</li>
+
   <li>All appearance of <a>SVGRect</a> were replaced by <a>DOMRect</a> or <a>DOMRectReadOnly</a>.</li>
 
   <li>All appearance of <a>SVGPoint</a> were replaced by <a>DOMPoint</a> or <a>DOMPointReadOnly</a>.</li>
--- a/master/coords.html	Thu May 22 19:41:04 2014 +0200
+++ b/master/coords.html	Thu May 22 20:33:42 2014 +0200
@@ -2083,480 +2083,6 @@
 </dl>
 
 
-<h3 id="InterfaceSVGMatrix">Interface SVGMatrix</h3>
-
-<p>Many of SVG's graphics operations utilize 2x3 matrices of the form:</p>
-
-<pre>
-[a c e]
-[b d f]</pre>
-
-<p>which, when expanded into a 3x3 matrix for the purposes of matrix
-arithmetic, become:
-</p>
-
-<pre>
-[a c e]
-[b d f]
-[0 0 1]</pre>
-
-<pre class="idl">[<a href="#__svg__SVGMatrix__constructor">Constructor</a>,
- <a href="#__svg__SVGMatrix__constructor1">Constructor</a>(float a, float b, float c, float d, float e, float f)]
-interface <b>SVGMatrix</b> {
-
-  attribute float <a href="coords.html#__svg__SVGMatrix__a">a</a>;
-  attribute float <a href="coords.html#__svg__SVGMatrix__b">b</a>;
-  attribute float <a href="coords.html#__svg__SVGMatrix__c">c</a>;
-  attribute float <a href="coords.html#__svg__SVGMatrix__d">d</a>;
-  attribute float <a href="coords.html#__svg__SVGMatrix__e">e</a>;
-  attribute float <a href="coords.html#__svg__SVGMatrix__f">f</a>;
-
-  <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="coords.html#__svg__SVGMatrix__multiply">multiply</a>(<a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> secondMatrix);
-  <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="coords.html#__svg__SVGMatrix__inverse">inverse</a>();
-  <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="coords.html#__svg__SVGMatrix__translate">translate</a>(float x, float y);
-  <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="coords.html#__svg__SVGMatrix__scale">scale</a>(float scaleFactor);
-  <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="coords.html#__svg__SVGMatrix__scaleNonUniform">scaleNonUniform</a>(float scaleFactorX, float scaleFactorY);
-  <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="coords.html#__svg__SVGMatrix__rotate">rotate</a>(float angle);
-  <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="coords.html#__svg__SVGMatrix__rotateFromVector">rotateFromVector</a>(float x, float y);
-  <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="coords.html#__svg__SVGMatrix__flipX">flipX</a>();
-  <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="coords.html#__svg__SVGMatrix__flipY">flipY</a>();
-  <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="coords.html#__svg__SVGMatrix__skewX">skewX</a>(float angle);
-  <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="coords.html#__svg__SVGMatrix__skewY">skewY</a>(float angle);
-};</pre>
-
-<dl class="interface">
-  <dt class="operations-header">Constructors:</dt>
-  <dd>
-    <dl class="attributes">
-      <dt id="__svg__SVGMatrix__constructor" class="operation first-child"><b>SVGMatrix</b>()</dt>
-      <dd>Creates a new <a>SVGMatrix</a> object whose a, b, c, d, e and f attributes
-      are all set to 0.</dd>
-      <dt id="__svg__SVGMatrix__constructor1" class="operation first-child"><b>SVGMatrix</b>(float <var>a</var>, float <var>b</var>, float <var>c</var>, float <var>d</var>, float <var>e</var>, float <var>f</var>)</dt>
-      <dd>Creates a new <a>SVGMatrix</a> object whose a, b, c, d, e and f attributes
-      are set to the values of the respective argument passed to the constructor.</dd>
-    </dl>
-  </dd>
-<dt class="attributes-header">Attributes:</dt>
-<dd>
-<dl class="attributes">
-
-<dt id="__svg__SVGMatrix__a" class="attribute first-child"><b>a</b><span class="idl-type-parenthetical"> (float)</span></dt>
-<dd class="attribute">
-<div>
-The <var>a</var> component of the matrix.
-
-
-</div>
-</dd>
-
-<dt id="__svg__SVGMatrix__b" class="attribute"><b>b</b><span class="idl-type-parenthetical"> (float)</span></dt>
-<dd class="attribute">
-<div>
-The <var>b</var> component of the matrix.
-
-
-</div>
-</dd>
-
-<dt id="__svg__SVGMatrix__c" class="attribute"><b>c</b><span class="idl-type-parenthetical"> (float)</span></dt>
-<dd class="attribute">
-<div>
-The <var>c</var> component of the matrix.
-
-
-</div>
-</dd>
-
-<dt id="__svg__SVGMatrix__d" class="attribute"><b>d</b><span class="idl-type-parenthetical"> (float)</span></dt>
-<dd class="attribute">
-<div>
-The <var>d</var> component of the matrix.
-
-
-</div>
-</dd>
-
-<dt id="__svg__SVGMatrix__e" class="attribute"><b>e</b><span class="idl-type-parenthetical"> (float)</span></dt>
-<dd class="attribute">
-<div>
-The <var>e</var> component of the matrix.
-
-
-</div>
-</dd>
-
-<dt id="__svg__SVGMatrix__f" class="attribute"><b>f</b><span class="idl-type-parenthetical"> (float)</span></dt>
-<dd class="attribute">
-<div>
-The <var>f</var> component of the matrix.
-
-
-</div>
-</dd>
-</dl>
-</dd>
-<dt class="operations-header">Operations:</dt>
-<dd>
-<dl class="attributes">
-
-<dt id="__svg__SVGMatrix__multiply" class="operation first-child"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>multiply</b>(<a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <var>secondMatrix</var>)
-</dt>
-<dd class="operation">
-<div>
-Performs matrix multiplication. This matrix is post-multiplied by
-another matrix, returning the resulting new matrix.
-
-
-</div>
-<dl class="operation">
-<dt class="parameters-header">Parameters</dt>
-<dd>
-<ol class="parameters">
-<li class="parameter first-child">
-<div><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <var>secondMatrix</var></div> 
-<div> The matrix which is post-multiplied to this matrix.
-
-</div>
-</li>
-</ol>
-</dd>
-<dt class="returns-header">Returns</dt>
-<dd>
-<div> The resulting matrix.
-
-</div>
-</dd>
-</dl>
-</dd>
-
-<dt id="__svg__SVGMatrix__inverse" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>inverse</b>()
-</dt>
-<dd class="operation">
-<div>
-Returns the inverse matrix.
-
-
-</div>
-<dl class="operation">
-<dt class="returns-header">Returns</dt>
-<dd>
-<div> The inverse matrix.
-
-</div>
-</dd>
-<dt class="exceptions-header">Exceptions</dt>
-<dd>
-<dl class="exceptions">
-<dt class="exception first-child"><a>InvalidStateError</a>
-</dt>
-<dd class="exception"> Raised if this matrix is
-not invertible.
-
-</dd>
-</dl>
-</dd>
-</dl>
-</dd>
-
-<dt id="__svg__SVGMatrix__translate" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>translate</b>(float <var>x</var>, float <var>y</var>)
-</dt>
-<dd class="operation">
-<div>
-Post-multiplies a translation transformation on the current matrix and
-returns the resulting matrix.
-
-
-</div>
-<dl class="operation">
-<dt class="parameters-header">Parameters</dt>
-<dd>
-<ol class="parameters">
-<li class="parameter first-child">
-<div>float <var>x</var></div> 
-<div> The distance to translate along the x-axis.
-
-</div>
-</li>
-<li class="parameter">
-<div>float <var>y</var></div> 
-<div> The distance to translate along the y-axis.
-
-</div>
-</li>
-</ol>
-</dd>
-<dt class="returns-header">Returns</dt>
-<dd>
-<div> The resulting matrix.
-
-</div>
-</dd>
-</dl>
-</dd>
-
-<dt id="__svg__SVGMatrix__scale" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>scale</b>(float <var>scaleFactor</var>)
-</dt>
-<dd class="operation">
-<div>
-Post-multiplies a uniform scale transformation on the current matrix
-and returns the resulting matrix.
-
-
-</div>
-<dl class="operation">
-<dt class="parameters-header">Parameters</dt>
-<dd>
-<ol class="parameters">
-<li class="parameter first-child">
-<div>float <var>scaleFactor</var></div> 
-<div> Scale factor in both X and Y.
-
-</div>
-</li>
-</ol>
-</dd>
-<dt class="returns-header">Returns</dt>
-<dd>
-<div> The resulting matrix.
-
-</div>
-</dd>
-</dl>
-</dd>
-
-<dt id="__svg__SVGMatrix__scaleNonUniform" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>scaleNonUniform</b>(float <var>scaleFactorX</var>, float <var>scaleFactorY</var>)
-</dt>
-<dd class="operation">
-<div>
-Post-multiplies a non-uniform scale transformation on the current matrix
-and returns the resulting matrix.
-
-
-</div>
-<dl class="operation">
-<dt class="parameters-header">Parameters</dt>
-<dd>
-<ol class="parameters">
-<li class="parameter first-child">
-<div>float <var>scaleFactorX</var></div> 
-<div> Scale factor in X.
-
-</div>
-</li>
-<li class="parameter">
-<div>float <var>scaleFactorY</var></div> 
-<div> Scale factor in Y.
-
-</div>
-</li>
-</ol>
-</dd>
-<dt class="returns-header">Returns</dt>
-<dd>
-<div> The resulting matrix.
-
-</div>
-</dd>
-</dl>
-</dd>
-
-<dt id="__svg__SVGMatrix__rotate" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>rotate</b>(float <var>angle</var>)
-</dt>
-<dd class="operation">
-<div>
-Post-multiplies a rotation transformation on the current matrix and
-returns the resulting matrix.
-
-
-</div>
-<dl class="operation">
-<dt class="parameters-header">Parameters</dt>
-<dd>
-<ol class="parameters">
-<li class="parameter first-child">
-<div>float <var>angle</var></div> 
-<div> Rotation angle.
-
-</div>
-</li>
-</ol>
-</dd>
-<dt class="returns-header">Returns</dt>
-<dd>
-<div> The resulting matrix.
-
-</div>
-</dd>
-</dl>
-</dd>
-
-<dt id="__svg__SVGMatrix__rotateFromVector" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>rotateFromVector</b>(float <var>x</var>, float <var>y</var>)
-</dt>
-<dd class="operation">
-<div>
-Post-multiplies a rotation transformation on the current matrix and
-returns the resulting matrix. The rotation angle is determined by taking
-(+/-) atan(y/x). The direction of the vector (x, y) determines whether
-the positive or negative angle value is used.
-
-
-</div>
-<dl class="operation">
-<dt class="parameters-header">Parameters</dt>
-<dd>
-<ol class="parameters">
-<li class="parameter first-child">
-<div>float <var>x</var></div> 
-<div> The X coordinate of the vector (x,y). Must not be zero.
-
-</div>
-</li>
-<li class="parameter">
-<div>float <var>y</var></div> 
-<div> The Y coordinate of the vector (x,y). Must not be zero.
-
-</div>
-</li>
-</ol>
-</dd>
-<dt class="returns-header">Returns</dt>
-<dd>
-<div> The resulting matrix.
-
-</div>
-</dd>
-<dt class="exceptions-header">Exceptions</dt>
-<dd>
-<dl class="exceptions">
-<dt class="exception first-child"><a>InvalidAccessError</a>
-</dt>
-<dd class="exception"> Raised if one of the
-parameters has an invalid value.
-
-</dd>
-</dl>
-</dd>
-</dl>
-</dd>
-
-<dt id="__svg__SVGMatrix__flipX" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>flipX</b>()
-</dt>
-<dd class="operation">
-<div>
-Post-multiplies the transformation [-1 0 0 1 0 0] and returns the
-resulting matrix.
-
-
-</div>
-<dl class="operation">
-<dt class="returns-header">Returns</dt>
-<dd>
-<div> The resulting matrix.
-
-</div>
-</dd>
-</dl>
-</dd>
-
-<dt id="__svg__SVGMatrix__flipY" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>flipY</b>()
-</dt>
-<dd class="operation">
-<div>
-Post-multiplies the transformation [1 0 0 -1 0 0] and returns the
-resulting matrix.
-
-
-</div>
-<dl class="operation">
-<dt class="returns-header">Returns</dt>
-<dd>
-<div> The resulting matrix.
-
-</div>
-</dd>
-</dl>
-</dd>
-
-<dt id="__svg__SVGMatrix__skewX" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>skewX</b>(float <var>angle</var>)
-</dt>
-<dd class="operation">
-<div>
-Post-multiplies a skewX transformation on the current matrix and
-returns the resulting matrix.
-
-
-</div>
-<dl class="operation">
-<dt class="parameters-header">Parameters</dt>
-<dd>
-<ol class="parameters">
-<li class="parameter first-child">
-<div>float <var>angle</var></div> 
-<div> Skew angle.
-
-</div>
-</li>
-</ol>
-</dd>
-<dt class="returns-header">Returns</dt>
-<dd>
-<div> The resulting matrix.
-
-</div>
-</dd>
-
-<dt class="exceptions-header">Exceptions</dt>
-<dd>
-  <dl class="exceptions">
-    <dt class="exception first-child"><a>InvalidAccessError</a></dt>
-    <dd class="exception">Raised when (<var>angle</var> + 90) mod 180 = 0.</dd>
-  </dl>
-</dd>
-
-</dl>
-</dd>
-
-<dt id="__svg__SVGMatrix__skewY" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>skewY</b>(float <var>angle</var>)
-</dt>
-<dd class="operation">
-<div>
-Post-multiplies a skewY transformation on the current matrix and
-returns the resulting matrix.
-
-
-</div>
-<dl class="operation">
-<dt class="parameters-header">Parameters</dt>
-<dd>
-<ol class="parameters">
-<li class="parameter first-child">
-<div>float <var>angle</var></div> 
-<div> Skew angle.
-
-</div>
-</li>
-</ol>
-</dd>
-<dt class="returns-header">Returns</dt>
-<dd>
-<div> The resulting matrix.
-
-</div>
-</dd>
-<dt class="exceptions-header">Exceptions</dt>
-<dd>
-  <dl class="exceptions">
-    <dt class="exception first-child"><a>InvalidAccessError</a></dt>
-    <dd class="exception">Raised when (<var>angle</var> + 90) mod 180 = 0.</dd>
-  </dl>
-</dd>
-</dl>
-</dd>
-</dl>
-</dd>
-</dl>
-
-
 <h3 id="InterfaceSVGTransform">Interface SVGTransform</h3>
 
 <p><a>SVGTransform</a> is the interface for one of the component
@@ -2567,7 +2093,7 @@
 attribute specification.</p>
 
 <pre class="idl">[<a href="#__svg__SVGTransform__constructor">Constructor</a>,
- <a href="#__svg__SVGTransform__constructor1">Constructor</a>(SVGMatrix matrix),
+ <a href="#__svg__SVGTransform__constructor1">Constructor</a>(DOMMatrixReadOnly matrix),
  <a href="#__svg__SVGTransform__constructor2">Constructor</a>(DOMString value)]
 interface <b>SVGTransform</b> {
 
@@ -2584,7 +2110,7 @@
   readonly attribute <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="coords.html#__svg__SVGTransform__matrix">matrix</a>;
   readonly attribute float <a href="coords.html#__svg__SVGTransform__angle">angle</a>;
 
-  void <a href="coords.html#__svg__SVGTransform__setMatrix">setMatrix</a>(<a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> matrix);
+  void <a href="coords.html#__svg__SVGTransform__setMatrix">setMatrix</a>(<a>DOMMatrixReadOnly</a> matrix);
   void <a href="coords.html#__svg__SVGTransform__setTranslate">setTranslate</a>(float tx, float ty);
   void <a href="coords.html#__svg__SVGTransform__setScale">setScale</a>(float sx, float sy);
   void <a href="coords.html#__svg__SVGTransform__setRotate">setRotate</a>(float angle, float cx, float cy);
@@ -2600,13 +2126,13 @@
       <dd class="operation">
         <div>Creates a new <a>SVGTransform</a> object whose type attribute is
         set to SVG_TRANSFORM_MATRIX and whose matrix attribute is set to an
-        <a>SVGMatrix</a> object that represents the identity matrix.</div>
+        <a>DOMMatrixReadOnly</a> object that represents the identity matrix.</div>
       </dd>
-      <dt id="__svg__SVGTransform__constructor1" class="operation first-child"><b>SVGTransform</b>(<a>SVGMatrix</a> <var>matrix</var>)</dt>
+      <dt id="__svg__SVGTransform__constructor1" class="operation first-child"><b>SVGTransform</b>(<a>DOMMatrixReadOnly</a> <var>matrix</var>)</dt>
       <dd class="operation">
         <div>Creates a new <a>SVGTransform</a> object whose type attribute is
         set to SVG_TRANSFORM_MATRIX and whose matrix attribute is set to an
-        <a>SVGMatrix</a> object whose attributes are all initialized to be the
+        <a>DOMMatrixReadOnly</a> object whose attributes are all initialized to be the
         same as the corresponding attributes in <var>matrix</var>.</div>
       </dd>
       <dt id="__svg__SVGTransform__constructor2" class="operation first-child"><b>SVGTransform</b>(DOMString <var>value</var>)</dt>
@@ -2707,7 +2233,7 @@
 </div>
 </dd>
 
-<dt id="__svg__SVGTransform__matrix" class="attribute"><b>matrix</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a>)</span></dt>
+<dt id="__svg__SVGTransform__matrix" class="attribute"><b>matrix</b><span class="idl-type-parenthetical"> (readonly <a>DOMMatrixReadOnly</a>)</span></dt>
 <dd class="attribute">
 <div>
 
@@ -2723,31 +2249,31 @@
 <ul>
 
 <li>For SVG_TRANSFORM_MATRIX, the matrix contains the
-<a>SVGMatrix::a</a>, <a>SVGMatrix::b</a>, <a>SVGMatrix::c</a>, <a>SVGMatrix::d</a>, <a>SVGMatrix::e</a>,
-<a>SVGMatrix::f</a> values supplied by the user.
+<var>a</var>, <var>b</var>, <var>c</var>, <var>d</var>, <var>e</var>,
+<var>f</var> values supplied by the user.
 </li>
 
-<li>For SVG_TRANSFORM_TRANSLATE, <a>SVGMatrix::e</a> and <a>SVGMatrix::f</a>
-represent the translation amounts (<a>SVGMatrix::a</a>=1, <a>SVGMatrix::b</a>=0,
-<a>SVGMatrix::c</a>=0 and <a>SVGMatrix::d</a>=1).
+<li>For SVG_TRANSFORM_TRANSLATE, <var>e</var> and <var>f</var>
+represent the translation amounts (<var>a</var>=1, <var>b</var>=0,
+<var>c</var>=0 and <var>d</var>=1).
 </li>
 
-<li>For SVG_TRANSFORM_SCALE, <a>SVGMatrix::a</a> and <a>SVGMatrix::d</a>
-represent the scale amounts (<a>SVGMatrix::b</a>=0, <a>SVGMatrix::c</a>=0,
-<a>SVGMatrix::e</a>=0 and <a>SVGMatrix::f</a>=0).
+<li>For SVG_TRANSFORM_SCALE, <var>a</var> and <var>d</var>
+represent the scale amounts (<var>b</var>=0, <var>c</var>=0,
+<var>e</var>=0 and <var>f</var>=0).
 </li>
 
 <li>For SVG_TRANSFORM_SKEWX and SVG_TRANSFORM_SKEWY,
-<a>SVGMatrix::a</a>, <a>SVGMatrix::b</a>, <a>SVGMatrix::c</a> and <a>SVGMatrix::d</a>
+<var>a</var>, <var>b</var>, <var>c</var> and <var>d</var>
 represent the matrix which will result in the given skew
-(<a>SVGMatrix::e</a>=0 and <a>SVGMatrix::f</a>=0).
+(<var>e</var>=0 and <var>f</var>=0).
 </li>
 
 <li>For SVG_TRANSFORM_ROTATE,
-<a>SVGMatrix::a</a>, <a>SVGMatrix::b</a>, <a>SVGMatrix::c</a>, <a>SVGMatrix::d</a>,
-<a>SVGMatrix::e</a> and <a>SVGMatrix::f</a> together represent the matrix
+<var>a</var>, <var>b</var>, <var>c</var>, <var>d</var>,
+<var>e</var> and <var>f</var> together represent the matrix
 which will result in the given rotation.  When the rotation is around
-the center point (0, 0), <a>SVGMatrix::e</a> and <a>SVGMatrix::f</a> will be zero.
+the center point (0, 0), <var>e</var> and <var>f</var> will be zero.
 </li>
 
 </ul>
@@ -2777,7 +2303,7 @@
 <dd>
 <dl class="attributes">
 
-<dt id="__svg__SVGTransform__setMatrix" class="operation first-child">void <b>setMatrix</b>(<a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <var>matrix</var>)
+<dt id="__svg__SVGTransform__setMatrix" class="operation first-child">void <b>setMatrix</b>(<a>DOMMatrixReadOnly</a> <var>matrix</var>)
 </dt>
 <dd class="operation">
 <div>
@@ -2797,7 +2323,7 @@
 <dd>
 <ol class="parameters">
 <li class="parameter first-child">
-<div><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <var>matrix</var></div> 
+<div><a>DOMMatrixReadOnly</a> <var>matrix</var></div> 
 <div> The new matrix for the transformation.
 
 </div>
@@ -2992,7 +2518,7 @@
   <a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <a href="coords.html#__svg__SVGTransformList__replaceItem">replaceItem</a>(<a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> newItem, unsigned long index);
   <a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <a href="coords.html#__svg__SVGTransformList__removeItem">removeItem</a>(unsigned long index);
   <a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <a href="coords.html#__svg__SVGTransformList__appendItem">appendItem</a>(<a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> newItem);
-  <a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <a href="coords.html#__svg__SVGTransformList__createSVGTransformFromMatrix">createSVGTransformFromMatrix</a>(<a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> matrix);
+  <a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <a href="coords.html#__svg__SVGTransformList__createSVGTransformFromMatrix">createSVGTransformFromMatrix</a>(<a>DOMMatrixReadOnly</a> matrix);
   <a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a>? <a href="coords.html#__svg__SVGTransformList__consolidate">consolidate</a>();
   <a href="#__svg__SVGTransformList__setter">setter</a> void (unsigned long index, <a>SVGTransform</a> newItem);
 };</pre>
@@ -3341,7 +2867,7 @@
 </dl>
 </dd>
 
-<dt id="__svg__SVGTransformList__createSVGTransformFromMatrix" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <b>createSVGTransformFromMatrix</b>(<a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <var>matrix</var>)
+<dt id="__svg__SVGTransformList__createSVGTransformFromMatrix" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <b>createSVGTransformFromMatrix</b>(<a>DOMMatrixReadOnly</a> <var>matrix</var>)
 </dt>
 <dd class="operation">
 <div>
@@ -3362,7 +2888,7 @@
 <dd>
 <ol class="parameters">
 <li class="parameter first-child">
-<div><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <var>matrix</var></div> 
+<div><a>DOMMatrixReadOnly</a> <var>matrix</var></div> 
 <div> The matrix which defines the transformation.
 
 </div>
--- a/master/definitions.xml	Thu May 22 19:41:04 2014 +0200
+++ b/master/definitions.xml	Thu May 22 20:33:42 2014 +0200
@@ -1073,7 +1073,9 @@
   <interface name='SVGFitToViewBox' href='types.html#InterfaceSVGFitToViewBox'/>
   <interface name='SVGNumber' href='types.html#InterfaceSVGNumber'/>
   <interface name='SVGAngle' href='types.html#InterfaceSVGAngle'/>
-  <interface name='SVGMatrix' href='coords.html#InterfaceSVGMatrix'/>
+  <interface name='DOMMatrix' href='http://www.w3.org/TR/2014/WD-geometry-1-20140522/#dom-dommatrix'/>
+  <interface name='DOMMatrixReadOnly' href='http://www.w3.org/TR/2014/WD-geometry-1-20140522/#dom-dommatrixreadonly'/>
+  <interface name='SVGMatrix' href='http://www.w3.org/TR/2014/WD-geometry-1-20140522/#dom-dommatrix'/>
   <interface name='DOMRect' href='http://www.w3.org/TR/2014/WD-geometry-1-20140522/#dom-domrect'/>
   <interface name='DOMRectReadOnly' href='http://www.w3.org/TR/2014/WD-geometry-1-20140522/#dom-domrectreadonly'/>
   <interface name='SVGRect' href='http://www.w3.org/TR/2014/WD-geometry-1-20140522/#dom-domrect'/>
--- a/master/idlindex.html	Thu May 22 19:41:04 2014 +0200
+++ b/master/idlindex.html	Thu May 22 20:33:42 2014 +0200
@@ -18,6 +18,8 @@
 <!-- It would be nice to automatically generate this. -->
 
 <ul>
+  <li><a>DOMMatrix</a></li>
+  <li><a>DOMMatrixReadOnly</a></li>
   <li><a>DOMPoint</a></li>
   <li><a>DOMPointReadOnly</a></li>
   <li><a>DOMRect</a></li>
--- a/master/struct.html	Thu May 22 19:41:04 2014 +0200
+++ b/master/struct.html	Thu May 22 20:33:42 2014 +0200
@@ -256,10 +256,10 @@
   <a class="idlinterface" href="types.html#InterfaceSVGLength">SVGLength</a> <a href="struct.html#__svg__SVGSVGElement__createSVGLength">createSVGLength</a>();
   <a class="idlinterface" href="types.html#InterfaceSVGAngle">SVGAngle</a> <a href="struct.html#__svg__SVGSVGElement__createSVGAngle">createSVGAngle</a>();
   <a>DOMPoint</a> <a href="struct.html#__svg__SVGSVGElement__createSVGPoint">createSVGPoint</a>();
-  <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="struct.html#__svg__SVGSVGElement__createSVGMatrix">createSVGMatrix</a>();
+  <a>DOMMatrix</a> <a href="struct.html#__svg__SVGSVGElement__createSVGMatrix">createSVGMatrix</a>();
   <a>DOMRect</a> <a href="struct.html#__svg__SVGSVGElement__createSVGRect">createSVGRect</a>();
   <a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <a href="struct.html#__svg__SVGSVGElement__createSVGTransform">createSVGTransform</a>();
-  <a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <a href="struct.html#__svg__SVGSVGElement__createSVGTransformFromMatrix">createSVGTransformFromMatrix</a>(<a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> matrix);
+  <a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <a href="struct.html#__svg__SVGSVGElement__createSVGTransformFromMatrix">createSVGTransformFromMatrix</a>(<a>DOMMatrixReadOnly</a> matrix);
   <a class="idlinterface"
    href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-745549614">Element</a> <a href="struct.html#__svg__SVGSVGElement__getElementById">getElementById</a>(DOMString elementId);
 };
@@ -2388,10 +2388,10 @@
   <a class="idlinterface" href="types.html#InterfaceSVGLength">SVGLength</a> <a href="struct.html#__svg__SVGSVGElement__createSVGLength">createSVGLength</a>();
   <a class="idlinterface" href="types.html#InterfaceSVGAngle">SVGAngle</a> <a href="struct.html#__svg__SVGSVGElement__createSVGAngle">createSVGAngle</a>();
   <a>DOMPoint</a> <a href="struct.html#__svg__SVGSVGElement__createSVGPoint">createSVGPoint</a>();
-  <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="struct.html#__svg__SVGSVGElement__createSVGMatrix">createSVGMatrix</a>();
+  <a>DOMMatrix</a> <a href="struct.html#__svg__SVGSVGElement__createSVGMatrix">createSVGMatrix</a>();
   <a>DOMRect</a> <a href="struct.html#__svg__SVGSVGElement__createSVGRect">createSVGRect</a>();
   <a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <a href="struct.html#__svg__SVGSVGElement__createSVGTransform">createSVGTransform</a>();
-  <a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <a href="struct.html#__svg__SVGSVGElement__createSVGTransformFromMatrix">createSVGTransformFromMatrix</a>(<a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> matrix);
+  <a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <a href="struct.html#__svg__SVGSVGElement__createSVGTransformFromMatrix">createSVGTransformFromMatrix</a>(<a>DOMMatrixReadOnly</a> matrix);
   <a class="idlinterface"
    href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-745549614">Element</a> <a href="struct.html#__svg__SVGSVGElement__getElementById">getElementById</a>(DOMString elementId);
 };
@@ -3125,11 +3125,11 @@
 </dl>
 </dd>
 
-<dt id="__svg__SVGSVGElement__createSVGMatrix" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>createSVGMatrix</b>()
+<dt id="__svg__SVGSVGElement__createSVGMatrix" class="operation"><a>DOMMatrix</a> <b>createSVGMatrix</b>()
 </dt>
 <dd class="operation">
 <div>
-Creates an <a>SVGMatrix</a> object outside of any document trees. The
+Creates an <a>DOMMatrix</a> object outside of any document trees. The
 object is initialized to the identity matrix.
 
 
@@ -3137,7 +3137,7 @@
 <dl class="operation">
 <dt class="returns-header">Returns</dt>
 <dd>
-<div> An <a>SVGMatrix</a> object.
+<div> An <a>DOMMatrix</a> object.
 
 </div>
 </dd>
@@ -3183,7 +3183,7 @@
 </dl>
 </dd>
 
-<dt id="__svg__SVGSVGElement__createSVGTransformFromMatrix" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <b>createSVGTransformFromMatrix</b>(<a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <var>matrix</var>)
+<dt id="__svg__SVGSVGElement__createSVGTransformFromMatrix" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <b>createSVGTransformFromMatrix</b>(<a>DOMMatrixReadOnly</a> <var>matrix</var>)
 </dt>
 <dd class="operation">
 <div>
@@ -3204,7 +3204,7 @@
 <dd>
 <ol class="parameters">
 <li class="parameter first-child">
-<div><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <var>matrix</var></div> 
+<div><a>DOMMatrixReadOnly</a> <var>matrix</var></div> 
 <div> The transform matrix.
 
 </div>
--- a/master/types.html	Thu May 22 19:41:04 2014 +0200
+++ b/master/types.html	Thu May 22 20:33:42 2014 +0200
@@ -3896,9 +3896,9 @@
   readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a>? <a href="types.html#__svg__SVGGraphicsElement__farthestViewportElement">farthestViewportElement</a>;
 
   <a>DOMRect</a> <a href="types.html#__svg__SVGGraphicsElement__getBBox">getBBox</a>(optional <a href="#SVGBoundingBoxOptions">SVGBoundingBoxOptions</a> options);
-  <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a>? <a href="types.html#__svg__SVGGraphicsElement__getCTM">getCTM</a>();
-  <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a>? <a href="types.html#__svg__SVGGraphicsElement__getScreenCTM">getScreenCTM</a>();
-  <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="types.html#__svg__SVGGraphicsElement__getTransformToElement">getTransformToElement</a>(<a class="idlinterface" href="types.html#InterfaceSVGGraphicsElement">SVGGraphicsElement</a> element);
+  <a>DOMMatrix</a>? <a href="types.html#__svg__SVGGraphicsElement__getCTM">getCTM</a>();
+  <a>DOMMatrix</a>? <a href="types.html#__svg__SVGGraphicsElement__getScreenCTM">getScreenCTM</a>();
+  <a>DOMMatrix</a> <a href="types.html#__svg__SVGGraphicsElement__getTransformToElement">getTransformToElement</a>(<a class="idlinterface" href="types.html#InterfaceSVGGraphicsElement">SVGGraphicsElement</a> element);
 };
 
 <a>SVGGraphicsElement</a> implements <a>SVGTests</a>;</pre>
@@ -3958,7 +3958,7 @@
     </dl>
     </div>
     <dl class="attributes">
-      <dt id="__svg__SVGGraphicsElement__getCTM" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a>? <b>getCTM</b>()</dt>
+      <dt id="__svg__SVGGraphicsElement__getCTM" class="operation"><a>DOMMatrix</a>? <b>getCTM</b>()</dt>
       <dd class="operation">
         <div>
           Returns the transformation matrix from current user units (i.e., after
@@ -3970,12 +3970,12 @@
           <dt class="returns-header">Returns</dt>
           <dd>
             <div>
-              An <a>SVGMatrix</a> object that defines the CTM.
+              An <a>DOMMatrix</a> object that defines the CTM.
             </div>
           </dd>
         </dl>
       </dd>
-      <dt id="__svg__SVGGraphicsElement__getScreenCTM" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a>? <b>getScreenCTM</b>()</dt>
+      <dt id="__svg__SVGGraphicsElement__getScreenCTM" class="operation"><a>DOMMatrix</a>? <b>getScreenCTM</b>()</dt>
       <dd class="operation">
         <div>
           Returns the transformation matrix from current user units (i.e., after
@@ -3992,13 +3992,13 @@
           <dt class="returns-header">Returns</dt>
           <dd>
             <div>
-              An <a>SVGMatrix</a> object that defines the given
+              An <a>DOMMatrix</a> object that defines the given
               transformation matrix.
             </div>
           </dd>
         </dl>
       </dd>
-      <dt id="__svg__SVGGraphicsElement__getTransformToElement" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>getTransformToElement</b>(<a class="idlinterface" href="types.html#InterfaceSVGGraphicsElement">SVGGraphicsElement</a> <var>element</var>)</dt>
+      <dt id="__svg__SVGGraphicsElement__getTransformToElement" class="operation"><a>DOMMatrix</a> <b>getTransformToElement</b>(<a class="idlinterface" href="types.html#InterfaceSVGGraphicsElement">SVGGraphicsElement</a> <var>element</var>)</dt>
       <dd class="operation">
         <div>
           Returns the transformation matrix from the user coordinate system on the
@@ -4021,7 +4021,7 @@
           <dt class="returns-header">Returns</dt>
           <dd>
             <div>
-              An <a>SVGMatrix</a> object that defines the transformation.
+              An <a>DOMMatrix</a> object that defines the transformation.
             </div>
           </dd>
           <dt class="exceptions-header">Exceptions</dt>