Updated for latest test template.
authortbah <tavmjong@free.fr>
Sun, 17 Jun 2012 03:56:34 +0200
changeset 23 123791e61c1a
parent 22 eaa3609beae3
child 24 489dc31dce46
Updated for latest test template.
contributors/tavmjong/incoming/transforms-basic-001-prefixed.svg
contributors/tavmjong/incoming/transforms-basic-001-ref.svg
contributors/tavmjong/incoming/transforms-basic-001.svg
contributors/tavmjong/incoming/transforms-basic-002-prefixed.svg
contributors/tavmjong/incoming/transforms-basic-002-ref.svg
contributors/tavmjong/incoming/transforms-basic-002.svg
contributors/tavmjong/incoming/transforms-basic-003-prefixed.svg
contributors/tavmjong/incoming/transforms-basic-003-ref.svg
contributors/tavmjong/incoming/transforms-basic-003.svg
--- a/contributors/tavmjong/incoming/transforms-basic-001-prefixed.svg	Sun Jun 17 03:54:10 2012 +0200
+++ b/contributors/tavmjong/incoming/transforms-basic-001-prefixed.svg	Sun Jun 17 03:56:34 2012 +0200
@@ -1,24 +1,25 @@
 <svg id="svg-root"
      width="100%" height="100%" viewBox="0 0 480 360"
      xmlns="http://www.w3.org/2000/svg" 
-     xmlns:xlink="http://www.w3.org/1999/xlink">
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:html="http://www.w3.org/1999/xhtml">
 
   <g id="testmeta">
     <title>CSS Transforms: Basic</title>
-    <link rel="copyright"
-          href="@@link to copyright page to be [email protected]@"/>
-    <link rel="license"
+    <html:link rel="copyright"
+          href="http://www.w3.org/Graphics/SVG/Test/Copyright"/>
+    <html:link rel="license"
           href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license.html"/>
-    <link rel="author"
+    <html:link rel="author"
 	  title="Tavmjong Bah"
 	  href="mailto:[email protected]"/>
-    <link rel="reviewer"
+    <html:link rel="reviewer"
 	  title="NAME_OF_REVIEWER"
 	  href="mailto:EMAIL OR http://CONTACT_PAGE" />
     <!-- YYYY-MM-DD -->
-    <link rel="help"
+    <html:link rel="help"
 	  href="http://www.w3.org/TR/2012/WD-css3-transforms-20120228/"/>
-    <link rel="match"  href="transforms-basic-001-ref.svg" />
+    <html:link rel="match"  href="transforms-basic-001-ref.svg" />
     <metadata class="flags">namespace svg</metadata>
     <desc class="assert">Uses CSS to transform boxes. No red should be seen.</desc>
   </g>
--- a/contributors/tavmjong/incoming/transforms-basic-001-ref.svg	Sun Jun 17 03:54:10 2012 +0200
+++ b/contributors/tavmjong/incoming/transforms-basic-001-ref.svg	Sun Jun 17 03:56:34 2012 +0200
@@ -1,18 +1,19 @@
 <svg id="svg-root"
      width="100%" height="100%" viewBox="0 0 480 360"
      xmlns="http://www.w3.org/2000/svg" 
-     xmlns:xlink="http://www.w3.org/1999/xlink">
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:html="http://www.w3.org/1999/xhtml">
 
   <g id="testmeta">
     <title>CSS Transforms: Basic</title>
-    <link rel="copyright"
-          href="@@link to copyright page to be [email protected]@"/>
-    <link rel="license"
+    <html:link rel="copyright"
+          href="http://www.w3.org/Graphics/SVG/Test/Copyright"/>
+    <html:link rel="license"
           href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license.html"/>
-    <link rel="author"
+    <html:link rel="author"
 	  title="Tavmjong Bah"
 	  href="mailto:[email protected]"/>
-    <link rel="reviewer"
+    <html:link rel="reviewer"
 	  title="NAME_OF_REVIEWER"
 	  href="mailto:EMAIL OR http://CONTACT_PAGE" />
     <!-- YYYY-MM-DD -->
--- a/contributors/tavmjong/incoming/transforms-basic-001.svg	Sun Jun 17 03:54:10 2012 +0200
+++ b/contributors/tavmjong/incoming/transforms-basic-001.svg	Sun Jun 17 03:56:34 2012 +0200
@@ -1,24 +1,25 @@
 <svg id="svg-root"
      width="100%" height="100%" viewBox="0 0 480 360"
      xmlns="http://www.w3.org/2000/svg" 
-     xmlns:xlink="http://www.w3.org/1999/xlink">
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:html="http://www.w3.org/1999/xhtml">
 
   <g id="testmeta">
     <title>CSS Transforms: Basic</title>
-    <link rel="copyright"
-          href="@@link to copyright page to be [email protected]@"/>
-    <link rel="license"
+    <html:link rel="copyright"
+          href="http://www.w3.org/Graphics/SVG/Test/Copyright"/>
+    <html:link rel="license"
           href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license.html"/>
-    <link rel="author"
+    <html:link rel="author"
 	  title="Tavmjong Bah"
 	  href="mailto:[email protected]"/>
-    <link rel="reviewer"
+    <html:link rel="reviewer"
 	  title="NAME_OF_REVIEWER"
 	  href="mailto:EMAIL OR http://CONTACT_PAGE" />
     <!-- YYYY-MM-DD -->
-    <link rel="help"
+    <html:link rel="help"
 	  href="http://www.w3.org/TR/2012/WD-css3-transforms-20120228/"/>
-    <link rel="match"  href="transforms-basic-001-ref.svg" />
+    <html:link rel="match"  href="transforms-basic-001-ref.svg" />
     <metadata class="flags">namespace svg</metadata>
     <desc class="assert">Uses CSS to transform boxes. No red should be seen.</desc>
   </g>
--- a/contributors/tavmjong/incoming/transforms-basic-002-prefixed.svg	Sun Jun 17 03:54:10 2012 +0200
+++ b/contributors/tavmjong/incoming/transforms-basic-002-prefixed.svg	Sun Jun 17 03:56:34 2012 +0200
@@ -1,24 +1,25 @@
 <svg id="svg-root"
      width="100%" height="100%" viewBox="0 0 480 360"
      xmlns="http://www.w3.org/2000/svg" 
-     xmlns:xlink="http://www.w3.org/1999/xlink">
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:html="http://www.w3.org/1999/xhtml">
 
   <g id="testmeta">
     <title>CSS Transforms: Basic via Matrix</title>
-    <link rel="copyright"
-          href="@@link to copyright page to be [email protected]@"/>
-    <link rel="license"
+    <html:link rel="copyright"
+          href="http://www.w3.org/Graphics/SVG/Test/Copyright"/>
+    <html:link rel="license"
           href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license.html"/>
-    <link rel="author"
+    <html:link rel="author"
 	  title="Tavmjong Bah"
 	  href="mailto:[email protected]"/>
-    <link rel="reviewer"
+    <html:link rel="reviewer"
 	  title="NAME_OF_REVIEWER"
 	  href="mailto:EMAIL OR http://CONTACT_PAGE" />
     <!-- YYYY-MM-DD -->
-    <link rel="help"
+    <html:link rel="help"
 	  href="http://www.w3.org/TR/2012/WD-css3-transforms-20120228/"/>
-    <link rel="match"  href="transforms-basic-002-ref.svg" />
+    <html:link rel="match"  href="transforms-basic-002-ref.svg" />
     <metadata class="flags">namespace svg</metadata>
     <desc class="assert">Uses CSS to transform boxes. No red should be seen.</desc>
   </g>
--- a/contributors/tavmjong/incoming/transforms-basic-002-ref.svg	Sun Jun 17 03:54:10 2012 +0200
+++ b/contributors/tavmjong/incoming/transforms-basic-002-ref.svg	Sun Jun 17 03:56:34 2012 +0200
@@ -1,18 +1,19 @@
 <svg id="svg-root"
      width="100%" height="100%" viewBox="0 0 480 360"
      xmlns="http://www.w3.org/2000/svg" 
-     xmlns:xlink="http://www.w3.org/1999/xlink">
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:html="http://www.w3.org/1999/xhtml">
 
   <g id="testmeta">
     <title>CSS Transforms: Basic via Matrix</title>
-    <link rel="copyright"
-          href="@@link to copyright page to be [email protected]@"/>
-    <link rel="license"
+    <html:link rel="copyright"
+          href="http://www.w3.org/Graphics/SVG/Test/Copyright"/>
+    <html:link rel="license"
           href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license.html"/>
-    <link rel="author"
+    <html:link rel="author"
 	  title="Tavmjong Bah"
 	  href="mailto:[email protected]"/>
-    <link rel="reviewer"
+    <html:link rel="reviewer"
 	  title="NAME_OF_REVIEWER"
 	  href="mailto:EMAIL OR http://CONTACT_PAGE" />
     <!-- YYYY-MM-DD -->
--- a/contributors/tavmjong/incoming/transforms-basic-002.svg	Sun Jun 17 03:54:10 2012 +0200
+++ b/contributors/tavmjong/incoming/transforms-basic-002.svg	Sun Jun 17 03:56:34 2012 +0200
@@ -1,24 +1,25 @@
 <svg id="svg-root"
      width="100%" height="100%" viewBox="0 0 480 360"
      xmlns="http://www.w3.org/2000/svg" 
-     xmlns:xlink="http://www.w3.org/1999/xlink">
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:html="http://www.w3.org/1999/xhtml">
 
   <g id="testmeta">
     <title>CSS Transforms: Basic via Matrix</title>
-    <link rel="copyright"
-          href="@@link to copyright page to be [email protected]@"/>
-    <link rel="license"
+    <html:link rel="copyright"
+          href="http://www.w3.org/Graphics/SVG/Test/Copyright"/>
+    <html:link rel="license"
           href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license.html"/>
-    <link rel="author"
+    <html:link rel="author"
 	  title="Tavmjong Bah"
 	  href="mailto:[email protected]"/>
-    <link rel="reviewer"
+    <html:link rel="reviewer"
 	  title="NAME_OF_REVIEWER"
 	  href="mailto:EMAIL OR http://CONTACT_PAGE" />
     <!-- YYYY-MM-DD -->
-    <link rel="help"
+    <html:link rel="help"
 	  href="http://www.w3.org/TR/2012/WD-css3-transforms-20120228/"/>
-    <link rel="match"  href="transforms-basic-002-ref.svg" />
+    <html:link rel="match"  href="transforms-basic-002-ref.svg" />
     <metadata class="flags">namespace svg</metadata>
     <desc class="assert">Uses CSS to transform boxes. No red should be seen.</desc>
   </g>
--- a/contributors/tavmjong/incoming/transforms-basic-003-prefixed.svg	Sun Jun 17 03:54:10 2012 +0200
+++ b/contributors/tavmjong/incoming/transforms-basic-003-prefixed.svg	Sun Jun 17 03:56:34 2012 +0200
@@ -1,24 +1,25 @@
 <svg id="svg-root"
      width="100%" height="100%" viewBox="0 0 480 360"
      xmlns="http://www.w3.org/2000/svg" 
-     xmlns:xlink="http://www.w3.org/1999/xlink">
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:html="http://www.w3.org/1999/xhtml">
 
   <g id="testmeta">
     <title>CSS Transforms: Basic via 3D Matrix</title>
-    <link rel="copyright"
-          href="@@link to copyright page to be [email protected]@"/>
-    <link rel="license"
+    <html:link rel="copyright"
+          href="http://www.w3.org/Graphics/SVG/Test/Copyright"/>
+    <html:link rel="license"
           href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license.html"/>
-    <link rel="author"
+    <html:link rel="author"
 	  title="Tavmjong Bah"
 	  href="mailto:[email protected]"/>
-    <link rel="reviewer"
+    <html:link rel="reviewer"
 	  title="NAME_OF_REVIEWER"
 	  href="mailto:EMAIL OR http://CONTACT_PAGE" />
     <!-- YYYY-MM-DD -->
-    <link rel="help"
+    <html:link rel="help"
 	  href="http://www.w3.org/TR/2012/WD-css3-transforms-20120228/"/>
-    <link rel="match"  href="transforms-basic-002-ref.svg" />
+    <html:link rel="match"  href="transforms-basic-002-ref.svg" />
     <metadata class="flags">namespace svg</metadata>
     <desc class="assert">Uses CSS to transform boxes. No red should be seen.</desc>
   </g>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contributors/tavmjong/incoming/transforms-basic-003-ref.svg	Sun Jun 17 03:56:34 2012 +0200
@@ -0,0 +1,97 @@
+<svg id="svg-root"
+     width="100%" height="100%" viewBox="0 0 480 360"
+     xmlns="http://www.w3.org/2000/svg" 
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:html="http://www.w3.org/1999/xhtml">
+
+  <g id="testmeta">
+    <title>CSS Transforms: Basic via 3D Matrix</title>
+    <html:link rel="copyright"
+          href="http://www.w3.org/Graphics/SVG/Test/Copyright"/>
+    <html:link rel="license"
+          href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license.html"/>
+    <html:link rel="author"
+	  title="Tavmjong Bah"
+	  href="mailto:[email protected]"/>
+    <html:link rel="reviewer"
+	  title="NAME_OF_REVIEWER"
+	  href="mailto:EMAIL OR http://CONTACT_PAGE" />
+    <!-- YYYY-MM-DD -->
+  </g>
+
+  <style type="text/css">
+    .orig { fill: none; stroke-width: 2; stroke: gray; }
+    .ref  { fill: none; stroke-width: 2; stroke: green; }
+  </style>
+
+  <defs>
+    <rect id="basic" x="-25" y="-10" width="50" height="20"/>
+  </defs>
+
+  <text id="title" x="240" y="50" style="fill:black; font-size:24px; text-anchor:middle;">CSS Transforms: Basic via 3D Matrix</text>
+
+  <g id="test-body-content">
+
+    <!-- TRANSLATE -->
+    <g transform="translate(120,100)">
+      <g class="orig">
+	<use xlink:href="#basic"/>
+      </g>
+      <g class="ref" transform="matrix(1,0,0,1,25,30)">
+	<use xlink:href="#basic"/>
+      </g>
+    </g>
+
+    <!-- ROTATE -->
+    <g transform="translate(240,100)">
+      <g class="orig">
+	<use xlink:href="#basic"/>
+      </g>
+      <g class="ref" transform="matrix(0.8660254,0.5,-0.5,0.8660254,0,0)">
+	<use xlink:href="#basic" />
+      </g>
+    </g>
+
+    <!-- ROTATE w/ Optional Position-->
+    <g transform="translate(360,100)">
+      <g class="orig">
+	<use xlink:href="#basic"/>
+      </g>
+      <g class="ref" transform="matrix(0.8660254,0.5,-0.5,0.8660254,-8.3493649,11.160254)">
+	<use xlink:href="#basic" />
+      </g>
+    </g>
+
+    <!-- SCALE -->
+    <g transform="translate(120,220)">
+      <g class="orig">
+	<use xlink:href="#basic"/>
+      </g>
+      <g class="ref" transform="matrix(0.5,0,0,1.5,0,0)">
+	<use xlink:href="#basic" />
+      </g>
+    </g>
+
+    <!-- SkewX -->
+    <g transform="translate(240,220)">
+      <g class="orig">
+	<use xlink:href="#basic"/>
+      </g>
+      <g class="ref" transform="matrix(1,0,0.57735027,1,0,0)">
+	<use xlink:href="#basic" />
+      </g>
+    </g>
+
+    <!-- SkewY -->
+    <g transform="translate(360,220)">
+      <g class="orig">
+	<use xlink:href="#basic"/>
+      </g>
+      <g class="ref" transform="matrix(1,0.57735027,0,1,0,0)">
+	<use xlink:href="#basic" />
+      </g>
+    </g>
+
+  </g>
+
+</svg>
--- a/contributors/tavmjong/incoming/transforms-basic-003.svg	Sun Jun 17 03:54:10 2012 +0200
+++ b/contributors/tavmjong/incoming/transforms-basic-003.svg	Sun Jun 17 03:56:34 2012 +0200
@@ -1,24 +1,25 @@
 <svg id="svg-root"
      width="100%" height="100%" viewBox="0 0 480 360"
      xmlns="http://www.w3.org/2000/svg" 
-     xmlns:xlink="http://www.w3.org/1999/xlink">
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:html="http://www.w3.org/1999/xhtml">
 
   <g id="testmeta">
     <title>CSS Transforms: Basic via 3D Matrix</title>
-    <link rel="copyright"
-          href="@@link to copyright page to be [email protected]@"/>
-    <link rel="license"
+    <html:link rel="copyright"
+          href="http://www.w3.org/Graphics/SVG/Test/Copyright"/>
+    <html:link rel="license"
           href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license.html"/>
-    <link rel="author"
+    <html:link rel="author"
 	  title="Tavmjong Bah"
 	  href="mailto:[email protected]"/>
-    <link rel="reviewer"
+    <html:link rel="reviewer"
 	  title="NAME_OF_REVIEWER"
 	  href="mailto:EMAIL OR http://CONTACT_PAGE" />
     <!-- YYYY-MM-DD -->
-    <link rel="help"
+    <html:link rel="help"
 	  href="http://www.w3.org/TR/2012/WD-css3-transforms-20120228/"/>
-    <link rel="match"  href="transforms-basic-002-ref.svg" />
+    <html:link rel="match"  href="transforms-basic-002-ref.svg" />
     <metadata class="flags">namespace svg</metadata>
     <desc class="assert">Uses CSS to transform boxes. No red should be seen.</desc>
   </g>