Sample test converted from HTML test.
authortbah <tavmjong@free.fr>
Thu, 10 May 2012 16:47:04 +0200
changeset 4 c5a34c41f233
parent 3 87c6e69dec9b
child 5 4f8ba699c06d
Sample test converted from HTML test.
contributors/tavmjong/incoming/reftest/svg-matrix-four-color-ref.svg
contributors/tavmjong/incoming/svg-matrix-001.svg
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contributors/tavmjong/incoming/reftest/svg-matrix-four-color-ref.svg	Thu May 10 16:47:04 2012 +0200
@@ -0,0 +1,29 @@
+<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">
+
+  <g id="testmeta">
+    <title>CSS Reftest Reference</title>
+    <link rel="copyright"
+          href="@@link to copyright page to be added@@"/>
+    <link rel="license"
+          href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license.html"/>
+    <link rel="author"
+          title="Tavmjong Bah (conversion from HTML)"
+          href="mailto:tavmjong@free.fr"/>
+    <link rel="author"
+          title="Rebecca Hauck"
+          href="mailto:rhauck@adobe.com"/>
+    <metadata class="flags">svg</metadata>
+  </g>
+
+  <style id="test-style" type="text/css">
+    * {
+    }
+  </style>
+        <rect y="0" width="50" fill="green" x="0" height="50"></rect>
+        <rect y="0" width="50" fill="fuchsia" x="50" height="50"></rect>
+        <rect y="50" width="50" fill="yellow" x="0" height="50"></rect>
+        <rect y="50" width="50" fill="blue" x="50" height="50"></rect>
+</svg>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contributors/tavmjong/incoming/svg-matrix-001.svg	Thu May 10 16:47:04 2012 +0200
@@ -0,0 +1,42 @@
+<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">
+
+  <g id="testmeta">
+    <title>CSS Transforms Test: SVG presentation attribute and matrix scaling up horizontally only: 2 0 0 1 0 0</title>
+    <link rel="copyright"
+          href="@@link to copyright page to be added@@"/>
+    <link rel="license"
+          href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license.html"/>
+    <link rel="author"
+          title="Tavmjong Bah (conversion from HTML)"
+          href="mailto:tavmjong@free.fr"/>
+    <link rel="author"
+          title="Rebecca Hauck"
+          href="mailto:rhauck@adobe.com"/>
+    <link rel="help"
+          href="http://www.w3.org/TR/css3-transforms/#svg-transform"/>
+    <link rel="help"
+          href="http://www.w3.org/TR/css3-transforms/#two-d-transform-functions"/>
+    <link rel="match"
+          href="reftest/svg-matrix-four-color-ref.svg"/>
+    <metadata class="flags">svg</metadata>
+    <desc class="assert">The rect in the test should be scaled up horizontally.</desc>
+  </g>
+
+  <style id="test-style" type="text/css">
+    * {
+    }
+  </style>
+        <defs>
+            <pattern height="100" width="50" patternUnits="userSpaceOnUse" y="0" x="0" id="coloredBoxes">
+                <rect y="0" width="25" fill="green" x="0" height="50"></rect>
+                <rect y="0" width="25" fill="fuchsia" x="25" height="50"></rect>
+                <rect y="50" width="25" fill="yellow" x="0" height="50"></rect>
+                <rect y="50" width="25" fill="blue" x="25" height="50"></rect>
+            </pattern>
+        </defs>
+        <rect y="1" width="98" fill="red" x="1" height="98"></rect>
+        <rect width="50" fill="url(#coloredBoxes)" transform="matrix(2 0 0 1 0 0)" height="100"></rect>
+</svg>