summaryrefslogtreecommitdiff
path: root/rsvg/tests/fixtures/reftests/bug483-attribute-selectors.svg
diff options
context:
space:
mode:
Diffstat (limited to 'rsvg/tests/fixtures/reftests/bug483-attribute-selectors.svg')
-rw-r--r--rsvg/tests/fixtures/reftests/bug483-attribute-selectors.svg23
1 files changed, 23 insertions, 0 deletions
diff --git a/rsvg/tests/fixtures/reftests/bug483-attribute-selectors.svg b/rsvg/tests/fixtures/reftests/bug483-attribute-selectors.svg
new file mode 100644
index 00000000..5b3230c9
--- /dev/null
+++ b/rsvg/tests/fixtures/reftests/bug483-attribute-selectors.svg
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" width="150" height="100">
+ <style type="text/css">
+ rect[id] { fill: blue; }
+
+ rect[id="rojo"] { fill: red; }
+ rect[id|="rojo"] { fill: red; }
+
+ rect[id^="verde"] { fill: lime; }
+ rect[id$="verde"] { fill: lime; }
+
+ rect[id*="azul"] { fill: blue; }
+ </style>
+
+ <rect x="0" y="0" width="50" height="50" id="rojo"/>
+ <rect x="0" y="50" width="50" height="50" id="rojo-jojojo"/>
+
+ <rect x="50" y="0" width="50" height="50" id="verdecito"/>
+ <rect x="50" y="50" width="50" height="50" id="superverde"/>
+
+ <rect x="100" y="0" width="50" height="50" id="cualquier_cosa"/>
+ <rect x="100" y="50" width="50" height="50" id="superazulito"/>
+</svg>