- From: Anthony Grasso <anthony.grasso@cisra.canon.com.au>
- Date: Thu, 06 Aug 2009 15:41:04 +1000
- To: public-svg-wg@w3.org
Hi Cameron, Cameron McCormack wrote: > Consider the following document: > > <svg xmlns="http://www.w3.org/2000/svg"> > <rect width='200' height='100'/> > <g fill='white' fill-opacity='0.5'> > <rect width='100' height='100'/> > <rect x='100' width='100' height='100' color-interpolation='linearRGB'/> > </g> > </svg> > > Should the right half of the rectangular region be a different colour > from the left half? IIUC, the use of ‘color-interpolation’ should > affect how the right white <rect> is composited into the black <rect> in > the background. > Yes. The should be different colours because the 'color-interpolation' affects how the right <rect> is composited on to the background. > Batik, Opera and Firefox all show a uniform #808080 colour in the > rectangular region, which makes me wonder if I’ve used the > ‘color-interpolation’ correctly. > Opera 10 shows a uniform #7E7E7E for me. To my understanding: - the left <rect> should be #7F7F7F - the right <rect> should be #BBBBBB Cheers, Anthony
Received on Thursday, 6 August 2009 05:41:51 UTC