blob: 66893f177a1c18523de696fcb850ca5eea2f91b4 [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect height=" 100" width=" 100" fill="green"/>
<rect x="100" height="100 " width="100 " fill="green"/>
<rect x="200" style="height: 100px; width: 100px;" fill="green"/>
<g style="height: 100px; width: 100px;">
<rect x="300" style="height: inherit; width: inherit;" fill="green"/>
</g>
<style>
<![CDATA[
#rect, #rect2, .rect {
width: 100px;
height: 100px;
}
]]>
</style>
<rect x="400" id="rect" fill="green"/>
<use xlink:href="#rect" y="100"/>
<rect y="100" height="0" width="0" style="height: 100px; width: 100px;" fill="green"/>
<rect x="100" y="100" height="0" width="0" class="rect" fill="green"/>
<defs style="width: 1000px; height: 1000px;">
<rect id="rect2" fill="green"/>
<rect id="rect3" fill="green" style="height: inherit; width: inherit;"/>
</defs>
<use xlink:href="#rect2" y="100" x="200"/>
<use xlink:href="#rect3" x="300" y="100" style="height: 100px; width: 100px;"/>
</svg>