- From: Stephane Conversy <conversy@emn.fr>
- Date: Wed, 29 Nov 2000 15:22:52 +0100
- To: www-svg@w3.org, svg-testsuite-comments@w3.org
Hello.
There is something I don't get with linear gradients.
Take for example the top rectangle of test file
gradientPattern-linearGradient-BE-02.svg.
This is something like:
<linearGradient id="Grad1">
<stop style="stop-color:red" offset="0" />
<stop style="stop-color:blue" offset="1" />
</linearGradient>
<rect x="125" y="35" width="200" height="60"
style="fill:url(#Grad1)"/>
it is said in the test file that "Gradient is from the viewport left
edge (red)
to viewport right edge (blue)".
Is it right ? Since the gradientUnits attribute is not set in
the gradient, the (default) coords (0%,0%,100%,0%) should
be used with respect to the object bounding box, not the viewport ?
Am I missing something ?
stef
Received on Wednesday, 29 November 2000 09:23:38 UTC