saturate(100%)
authorErik Dahlström <ed@opera.com>
Sat, 09 Feb 2013 12:24:20 +1100
changeset 29 fe8d7e506335
parent 28 ffe1f528f133
child 30 90a03b88f850
saturate(100%)
contributors/ed/submitted/filters-saturate-02-ref.svg
contributors/ed/submitted/filters-saturate-02.svg
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contributors/ed/submitted/filters-saturate-02-ref.svg	Sat Feb 09 12:24:20 2013 +1100
@@ -0,0 +1,33 @@
+<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: saturate(100%)</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#saturateltnumbergt-ltpercentagegt"/>
+    <link rel="match"  href="filters-saturate-01-ref.svg" />
+    <metadata class="flags">namespace svg</metadata>
+    <desc class="assert">
+      A saturate value of 100% leaves the input unchanged.
+    </desc>
+  </g>
+
+  <g id="test-body-content" font-size="16">
+    <rect x="210" y="100" width="60" height="60" rx="10" fill="green" />
+    <text x="240" y="200" fill="green" text-anchor="middle">This text and the rect above should be green.</text>
+  </g>
+
+</svg>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contributors/ed/submitted/filters-saturate-02.svg	Sat Feb 09 12:24:20 2013 +1100
@@ -0,0 +1,33 @@
+<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: saturate(100%)</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#saturateltnumbergt-ltpercentagegt"/>
+    <link rel="match"  href="filters-saturate-02-ref.svg" />
+    <metadata class="flags">namespace svg</metadata>
+    <desc class="assert">
+      A saturate value of 100% leaves the input unchanged.
+    </desc>
+  </g>
+
+  <g id="test-body-content" font-size="16">
+    <rect x="210" y="100" width="60" height="60" rx="10" fill="green" filter="saturate(100%)" />
+    <text x="240" y="200" fill="green" text-anchor="middle" filter="saturate(100%)">This text and the rect above should be green.</text>
+  </g>
+
+</svg>