blob: ba2712ea0799b438fd2616cb450c4c21622f6753 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg id="Tiling_Regular_6_3_Hexagonal" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="400" height="400">
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<defs>
<polygon id="Hexagon" stroke="#000000" stroke-width="4" points="0,0 52,0 78,45 52,90 0,90 -26,45"/>
<g id="Hex_Group">
<use xlink:href="#Hexagon" transform="translate(-26)"/>
<use xlink:href="#Hexagon" transform="translate(130)"/>
<use xlink:href="#Hexagon" transform="translate(52, -135)"/>
<text x="10" y="30">PASS - didn't crash, bug 36231</text>
</g>
<pattern id="Hex_Pattern" patternUnits="userSpaceOnUse" patternTransform="translate(4, 20) scale(0.5)" width="156" height="270">
<use xlink:href="#Hex_Group" fill="#99BBDD" transform="translate(0, 90) scale(1, -1)"/>
<use xlink:href="#Hex_Group" fill="#BB99DD" transform="translate(0, 90)"/>
<use xlink:href="#Hex_Group" fill="#DD99BB" transform="translate(0, 180)"/>
<use xlink:href="#Hexagon" fill="#BB99DD" transform="translate(52, 225)"/>
</pattern>
</defs>
<rect x="2" y="2" height="394" width="394" stroke="#000000" stroke-width="2" fill="url(#Hex_Pattern)"/>
</svg>