__issue-279-01.svg 1.25 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<svg version="1.1" baseProfile="basic" width="480" height="360"
  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  <title id="test-title">Test data for issue 279 - overflow not shown with viewbox on svg fragment</title>
  <g fill="lightblue" stroke="black">
    <svg x="35" y="50" width="100" height="100" viewBox="0 0 150 150" overflow="visible">
      <path fill-rule="evenodd" d="M20,20 Q180,20 180,180 Q20,180 20,20 Z M20,180 Q20,20 180,20 Q180,180 20,180 Z M100,40 L160,100 100,160 40,100 Z"/>
    </svg>
    <text font-size="13.5" x="100" y="190" text-anchor="middle" fill="black" stroke="none">viewBox="0 0 150 150"</text>
    <text font-size="13.5" x="100" y="205" text-anchor="middle" fill="black" stroke="none">overflow="visible" </text>
    <svg x="250" y="50" width="100" height="100" viewBox="0 0 150 150" overflow="hidden">
      <path fill-rule="evenodd" d="M20,20 Q180,20 180,180 Q20,180 20,20 Z M20,180 Q20,20 180,20 Q180,180 20,180 Z M100,40 L160,100 100,160 40,100 Z"/>
    </svg>
    <text font-size="13.5" x="315" y="190" text-anchor="middle" fill="black" stroke="none">viewBox="0 0 150 150"</text>
    <text font-size="13.5" x="315" y="205" text-anchor="middle" fill="black" stroke="none">overflow="hidden" </text>
  </g>
</svg>