Question about clip-path property

I'm confused as to whether nested clip-paths result in an intersection or
not.

The following SVG program gives different results on the latest versions of
the Adobe SVG viewer plugin (Innternet Explorer), IBM SVG viewer and the
JASC Trajectory pro.

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg SYSTEM "svg-19991203.dtd" >
<svg width="500px" height="500px">
<defs>
<clipPath id="svgClip1">
<rect x="400" y="400" width="100" height="100"/>
</clipPath>
</defs>
<g style="clip-path:URL(#svgClip1)">
<defs>
<clipPath id="svgClip2">
<rect x="0" y="0" width="500" height="500"/>
</clipPath>
</defs>
<g style="clip-path:URL(#svgClip2)">
<rect style="fill:#7F7F7F" x="0" y="0" width="500" height="500"/>
</g>
</g>
</svg>

Adobe gives a grey filled square at coordinates 400,400 that is 100 by 100
pixels in size. IBM and JASC give a grey filled square at coordinates 0,0
that is 500 by 500 pixels in size. What is the correct behavior?

Rick

Received on Wednesday, 26 April 2000 16:04:22 UTC