summaryrefslogtreecommitdiff
path: root/tests/fixtures/reftests/bugs-reftests/bug880-stroke-wide-line.svg
blob: 4e22470f6f68bf0c41935799be40dd8bf3c3d32b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400">
  <!-- Two lines, one horizontal and one vertical, that have an empty objectBoundingBox.
       However, they have a stroke with a userSpaceOnUse pattern, which *should* be drawn.
  -->

  <pattern id="pat" x="0" y="0" width="400" height="400" patternUnits="userSpaceOnUse">
    <rect x="0" y="0" width="400" height="400" fill="lime"/>
  </pattern>

  <line x1="0" y1="100" x2="400" y2="100" stroke="url(#pat)" stroke-width="200"/>
  <line x1="200" y1="200" x2="200" y2="400" stroke="url(#pat)" stroke-width="400"/>
</svg>