]> gitweb.michael.orlitzky.com - libsvgtiny.git/blobdiff - test/css/case-sensitive-elements.svg
test/css: add some visually-verified test cases for our new features
[libsvgtiny.git] / test / css / case-sensitive-elements.svg
diff --git a/test/css/case-sensitive-elements.svg b/test/css/case-sensitive-elements.svg
new file mode 100644 (file)
index 0000000..f5c9986
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+The sole <RECT /> in this document should be ignored because element
+names are case-sensitive. This isn't really a CSS test, but it isn't
+tested anywhere else, and can obviously affect how the result looks.
+-->
+<svg width="640"
+     height="480"
+     viewBox="0 0 640 480"
+     xmlns="http://www.w3.org/2000/svg"
+     xmlns:svg="http://www.w3.org/2000/svg">
+
+  <RECT x="0"
+        y="0"
+        width="640"
+        height="480"
+        fill="red"
+       style="this is completely ignored" />
+</svg>