summaryrefslogtreecommitdiffstats
path: root/svgio/qa/cppunit/data/CssClassRedefinition.svg
blob: 384cf88482f9fbfd4ce1b6ecc7fd0fa9281f2976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<svg xmlns="http://www.w3.org/2000/svg" width="50 px" height="100 px">
    <style type="text/css">
    .c1 {fill:#00ff00}
    <!-- this redefinition should be appended -->
    .c1 {font-family:Open Symbol}
    <!-- this redefinition should change the color to red, replacing the first definition -->
    .c1 {fill:#ff0000}
    <!-- finally c1 should be equal to fill:#ff0000 and font-family:Sans -->
    </style>
    <text x="20" y="20" >
        <tspan class="c1">test</tspan>
    </text>
</svg>