W3C home > Mailing lists > Public > www-svg@w3.org > April 2000

Question about clip-path property

From: Yardumian, Rick <richard.yardumian@cis.canon.com>
Date: Wed, 26 Apr 2000 13:04:05 -0700
Message-ID: <6C940F5153E5D211937A0090274E8D8B698057@cissc002.cisoc.canon.com>
To: "'www-svg@w3.org'" <www-svg@w3.org>
I'm confused as to whether nested clip-paths result in an intersection or

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">
<clipPath id="svgClip1">
<rect x="400" y="400" width="100" height="100"/>
<g style="clip-path:URL(#svgClip1)">
<clipPath id="svgClip2">
<rect x="0" y="0" width="500" height="500"/>
<g style="clip-path:URL(#svgClip2)">
<rect style="fill:#7F7F7F" x="0" y="0" width="500" height="500"/>

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?

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:53:49 UTC