quality test
authorErik Dahlström <ed@opera.com>
Sat, 09 Feb 2013 14:46:10 +1100
changeset 33 f6347db3b74e
parent 32 70880e89232f
child 34 424f1c4d0e4c
quality test
contributors/ed/submitted/filters-quality-01-ref.svg
contributors/ed/submitted/filters-quality-01.svg
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contributors/ed/submitted/filters-quality-01-ref.svg	Sat Feb 09 14:46:10 2013 +1100
@@ -0,0 +1,34 @@
+<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>SVG Filters: null filter</title>
+    <link rel="copyright"
+          href="http://www.w3.org/Graphics/SVG/Test/Copyright"/>
+    <link rel="license"
+          href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license.html"/>
+    <link rel="author"
+          title="Erik Dahlström"
+          href="mailto:[email protected]"/>
+    <link rel="reviewer"
+          title="NAME_OF_REVIEWER"
+          href="mailto:EMAIL OR http://CONTACT_PAGE" />
+          <!-- YYYY-MM-DD -->
+    <link rel="help"
+          href="https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html#FilterElementFilterResAttribute"/>
+    <link rel="match"  href="filters-saturate-04-ref.svg" />
+    <metadata class="flags">namespace svg</metadata>
+    <desc class="assert">
+      Ideally the crispness of the filter input should be preserved.
+    </desc>
+  </g>
+
+  <g id="test-body-content" font-size="16">
+    <svg width="480" height="360" viewBox="0 0 30 30">
+      <rect transform="translate(5.5,5.5)" width="20" height="20" rx="2" ry="2" stroke="black" stroke-width="1" fill="white" />
+    </svg>
+  </g>
+
+</svg>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contributors/ed/submitted/filters-quality-01.svg	Sat Feb 09 14:46:10 2013 +1100
@@ -0,0 +1,43 @@
+<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>SVG Filters: null filter</title>
+    <link rel="copyright"
+          href="http://www.w3.org/Graphics/SVG/Test/Copyright"/>
+    <link rel="license"
+          href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license.html"/>
+    <link rel="author"
+          title="Erik Dahlström"
+          href="mailto:[email protected]"/>
+    <link rel="reviewer"
+          title="NAME_OF_REVIEWER"
+          href="mailto:EMAIL OR http://CONTACT_PAGE" />
+          <!-- YYYY-MM-DD -->
+    <link rel="help"
+          href="https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html#FilterElementFilterResAttribute"/>
+    <link rel="match"  href="filters-saturate-04-ref.svg" />
+    <metadata class="flags">namespace svg</metadata>
+    <desc class="assert">
+      Ideally the crispness of the filter input should be preserved.
+    </desc>
+  </g>
+
+  <g id="test-body-content" font-size="16">
+		<defs>
+			<!-- ideally the UA should position the filter output exactly as if there was no filter applied -->
+			<filter id="mergefilter">
+				<feMerge>
+					<feMergeNode in="SourceGraphic"/>
+				</feMerge>
+			</filter>
+		</defs>
+
+    <svg width="480" height="360" viewBox="0 0 30 30">
+      <rect transform="translate(5.5,5.5)" width="20" height="20" rx="2" ry="2" stroke="black" stroke-width="1" fill="white" filter="url(#mergefilter)"/>
+    </svg>
+  </g>
+
+</svg>