W3C home > Mailing lists > Public > www-svg@w3.org > May 2008

Broken mask example in SVG 1.1 spec

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 22 May 2008 13:01:03 +1200
Message-ID: <11e306600805211801h568293cbm3632abad6da07a4c@mail.gmail.com>
To: www-svg <www-svg@w3.org>
I can't believe no-one noticed this, but there doesn't seem to be an erratum
about it:

http://www.w3.org/TR/SVG/images/masking/mask01.svg is incorrect. In
particular:
<linearGradient id="Gradient" gradientUnits="userSpaceOnUse"
x1="0" y1="0" x2="800" y2="0">

y2 should not be zero, since that makes the gradient fully white. It should
probably be 300, that produces the desired result in Gecko.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
Received on Thursday, 22 May 2008 01:01:40 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:39 GMT