[lasem] tests: add symbol overflow test files



commit ec993d52f4238067bdc0c33c4cf20dacf5b68247
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Fri Mar 6 00:03:06 2015 +0100

    tests: add symbol overflow test files

 .../svg/suite/struct/use-overflow-hidden-ref.png   |  Bin 0 -> 171 bytes
 .../data/svg/suite/struct/use-overflow-hidden.svg  |   13 +++++++++++++
 .../svg/suite/struct/use-overflow-visible-ref.png  |  Bin 0 -> 181 bytes
 .../data/svg/suite/struct/use-overflow-visible.svg |   13 +++++++++++++
 4 files changed, 26 insertions(+), 0 deletions(-)
---
diff --git a/tests/data/svg/suite/struct/use-overflow-hidden-ref.png 
b/tests/data/svg/suite/struct/use-overflow-hidden-ref.png
new file mode 100644
index 0000000..c2d9ae9
Binary files /dev/null and b/tests/data/svg/suite/struct/use-overflow-hidden-ref.png differ
diff --git a/tests/data/svg/suite/struct/use-overflow-hidden.svg 
b/tests/data/svg/suite/struct/use-overflow-hidden.svg
new file mode 100644
index 0000000..cbae0da
--- /dev/null
+++ b/tests/data/svg/suite/struct/use-overflow-hidden.svg
@@ -0,0 +1,13 @@
+<!-- Exercize of clipping of <use> content with default width and height attributes (100%). --> 
+<svg xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; width="40" height="40">
+       <defs>
+               <symbol id="glyph">
+                       <path style="stroke: none;" d="M -10 -10 L 10 -10 L 10 10 L -10 10 Z"/>
+               </symbol>
+       </defs>
+       <g style="fill: red;">
+               <use xlink:href="#glyph" x="20" y="20"/>
+       </g>
+       <path d="M 20 20.5 L 15 20.5 M 20.5 20 L 20.5 15" stroke-width="1" stroke="black" fill="none"/>
+       <path d="M 30 29.5 L 35 29.5 M 29.5 30 L 29.5 35" stroke-width="1" stroke="black" fill="none"/>
+</svg>
diff --git a/tests/data/svg/suite/struct/use-overflow-visible-ref.png 
b/tests/data/svg/suite/struct/use-overflow-visible-ref.png
new file mode 100644
index 0000000..0d3ae5b
Binary files /dev/null and b/tests/data/svg/suite/struct/use-overflow-visible-ref.png differ
diff --git a/tests/data/svg/suite/struct/use-overflow-visible.svg 
b/tests/data/svg/suite/struct/use-overflow-visible.svg
new file mode 100644
index 0000000..e9ff31f
--- /dev/null
+++ b/tests/data/svg/suite/struct/use-overflow-visible.svg
@@ -0,0 +1,13 @@
+<!-- Exercize of clipping of <use> content with default width and height attributes (100%). --> 
+<svg xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; width="40" height="40">
+       <defs>
+               <symbol id="glyph" overflow="visible">
+                       <path style="stroke: none;" d="M -10 -10 L 10 -10 L 10 10 L -10 10 Z"/>
+               </symbol>
+       </defs>
+       <g style="fill: red;">
+               <use xlink:href="#glyph" x="20" y="20"/>
+       </g>
+       <path d="M 10 10.5 L 5 10.5 M 10.5 10 L 10.5 5" stroke-width="1" stroke="black" fill="none"/>
+       <path d="M 30 29.5 L 35 29.5 M 29.5 30 L 29.5 35" stroke-width="1" stroke="black" fill="none"/>
+</svg>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]