[lasem] tests: add another test (include an xml:id sample)
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lasem] tests: add another test (include an xml:id sample)
- Date: Sun, 8 Aug 2010 14:13:53 +0000 (UTC)
commit dc0d1c6dfe335fef4d0cb2fbf2ae26554606f4b7
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Sun Aug 8 16:11:58 2010 +0200
tests: add another test (include an xml:id sample)
test/svg/misc/11_01.png | Bin 0 -> 614 bytes
test/svg/misc/11_01.svg | 23 +++++++++++++++++++++++
2 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/test/svg/misc/11_01.png b/test/svg/misc/11_01.png
new file mode 100644
index 0000000..c5f40de
Binary files /dev/null and b/test/svg/misc/11_01.png differ
diff --git a/test/svg/misc/11_01.svg b/test/svg/misc/11_01.svg
new file mode 100644
index 0000000..ca332b1
--- /dev/null
+++ b/test/svg/misc/11_01.svg
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny"
+ width="7cm" height="2cm" viewBox="0 0 700 200">
+
+ <desc>Gradients apply to leaf nodes</desc>
+
+ <g>
+ <defs>
+ <linearGradient xml:id="MyGradient" gradientUnits="objectBoundingBox">
+ <stop offset="0" stop-color="#F60"/>
+ <stop offset="1" stop-color="#FF6"/>
+ </linearGradient>
+ </defs>
+
+ <rect x="1" y="1" width="698" height="198"
+ fill="none" stroke="blue" stroke-width="2"/>
+
+ <g fill="url(#MyGradient)">
+ <rect x="100" y="50" width="200" height="100"/>
+ <rect x="400" y="50" width="200" height="100"/>
+ </g>
+ </g>
+</svg>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]