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

SVGt 1.2 Tests: paint-grad-19-t reference image not correct?

From: Kalle Raita <kraita@nvidia.com>
Date: Thu, 28 Feb 2008 12:57:50 +0100
Message-ID: <85DD8D3F1695004A8A9A5AC16CE584BE059D6F62@deemmail01.nvidia.com>
To: <www-svg@w3.org>

Below is the part of the test SVG file that defines the paint servers.
The upper
row of rectangles seems to be wrong in the reference image of the beta
It seems that the image is taken at animation time 0s. 

For the top-left rectangle, the reference shows yellow right edge. It 
should be red as the animation a1 overrides the value 'yellow'
of the stop-color in element g0 with color 'red', which is the 
starting value of the animation a1.

Same goes for the top-rigth rectangle. It seems that the opacity at 
the right edge is 0, whereas the animated value should be 0.5. 

Isn't this how it is supposed to work according to the spec?

  <g xml:id="test-body-content"
font-family="SVGFreeSansASCII,sans-serif" font-size="18">
    <g display="none">
      <g xml:id="g0" stop-color="yellow" stop-opacity="0"
        <animateColor xml:id="a1" attributeName="stop-color" from="red"
to="green" dur="5" fill="freeze" />
        <animateColor xml:id="a2" attributeName="color" from="yellow"
to="green" dur="5" fill="freeze" />
        <animate xml:id="a3" attributeName="stop-opacity" from="0.5"
to="1" dur="5" fill="freeze" />
        <linearGradient xml:id="MyGradient1" stop-color="inherit">
          <stop offset="0" stop-color="green" stop-opacity="1" />
          <stop offset="1" stop-color="inherit" stop-opacity="1" />
        <linearGradient xml:id="MyGradient2" stop-opacity="inherit">
          <stop offset="0" stop-color="green" stop-opacity="1" />
          <stop offset="1" stop-color="green" stop-opacity="inherit" />
        <g xml:id="g01">
          <linearGradient xml:id="MyGradient3">
            <stop offset="0" stop-color="green" stop-opacity="1" />
            <stop offset="1" />
          <linearGradient xml:id="MyGradient4">
            <stop offset="0" stop-color="green" stop-opacity="1" />
            <stop offset="1" stop-color="currentColor" stop-opacity="1"

  - Kalle Raita

Kalle Raita 
NVIDIA Corporation 
Tel. +358 40 723 1441 
http://eu.nvidia.com <http://eu.nvidia.com/>  

This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
Received on Thursday, 28 February 2008 11:58:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:13 UTC