Debian Codegraph @

rsvg/tests/fixtures/reftests/specificity.svg

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="16">
3 <!-- We have two stylesheets - test that they are both considered.
4 Also, test, that specificity and ordering are handled by having
5 multiple rules that match each element.
6 -->
7 <style type="text/css">
8 .foo {
9 fill: limegreen;
10 }
11 .bar {
12 fill: red;
13 }
14 </style>
15 <rect x="0" y="0" width="16" height="16" class="foo"/>
16 <rect x="16" y="0" width="16" height="16" class="bar"/>
17 <style type="text/css">
18 rect {
19 fill: red;
20 }
21 .bar {
22 fill: limegreen;
23 }
24 </style>
25 </svg>