ZVON > References > Zvon Example Repository
Example repository: index | categories | search

All > SVG > Masking > masking-property-BE-07


File: masking-property-BE-07
Author: Haroon Sheikh
Origin: W3C SVG conformance suite

Rendered imageSVG source
ElementsAttributes
axlink:href |
circlecx | cy | r | style |
descid |
gid | style |
pathd | style |
rectheight | id | style | width | x | y |
svgheight | id | style | width | x | y |
textstyle | x | y |
titleid |

Source

<svg id="svg-root" width="450" height="450" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" >
     <title id="test-title">masking-property-BE-07</title>
     <desc id="test-desc">Test to see if the overflow and clip properties are handled correctly.</desc>
     <g id="test-body-content">
          <text style="font-family:Helvetica;font-size:14;" x="10" y="20">Test for clip and overflow properties</text>
          <svg x="40" y="40" width="100" height="100" style="overflow:visible;">
               <circle cx="50" cy="50" r="60" style="fill:green;"/>
          </svg>
          <text style="font-family:Helvetica;font-size:12;" x="40" y="160">overflow:visible</text>
          <svg x="240" y="40" width="100" height="100" style="overflow:scroll;">
               <circle cx="50" cy="50" r="60" style="fill:green;"/>
          </svg>
          <text style="font-family:Helvetica;font-size:12;" x="240" y="160">overflow:scroll</text>
          <svg x="40" y="240" width="100" height="100" style="overflow:hidden;">
               <circle cx="50" cy="50" r="60" style="fill:green;"/>
          </svg>
          <text style="font-family:Helvetica;font-size:12;" x="40" y="360">overflow:hidden</text>
          <text style="font-family:Helvetica;font-size:12;" x="40" y="375">clip;auto</text>
          <svg x="240" y="240" width="100" height="100" style="overflow:hidden;clip:rect(0,-20,50,0);">
               <circle cx="50" cy="50" r="60" style="fill:green;"/>
          </svg>
          <text style="font-family:Helvetica;font-size:12;" x="240" y="360">overflow:hidden</text>
          <text style="font-family:Helvetica;font-size:12;" x="240" y="375">clip:rect(0,-20,50,0)</text>
     </g>
     <g id="test-legend" style="fill:black;font-family:Helvetica;font-size:10;">
          <rect x="10" y="390" width="275" height="50" style="fill:none;stroke:#000000;"/>
          <path style="fill:none;stroke:#000000;" d="M10 405 h275 M205 405 v35 M10 426 h195 M205 422 h80"/>
          <text x="25" y="401">Scalable Vector Graphics (SVG) Conformance Suite</text>
          <a xlink:href="copyright-documents-19990405.html">
               <text x="12" y="437" style="fill:blue;">Copyright 2000 W3C. All Rights Reserved.</text>
          </a>
          <text style="font-size:12;" x="35" y="420">masking-property-BE-07</text>
          <text style="font-size:10;" x="210" y="417">$Revision: 1.1 $</text>
          <text style="font-size:10;" x="210" y="435">Release 2.0</text>
          <rect id="test-frame" x="1" y="1" width="448" height="448" style="fill:none;stroke:#000000;"/>
     </g>
</svg>



Sponsored links: Web Design Chicago, VoIP Internettelefonie, DSL, SDSL, ADSL