RE: SVG 2 rendering model

Does that include in raster images as well?    Both for SVG and for HTML?

So if I have a PNG with a transparent center and click, the click goes to the image and not the underlying object?

Interesting.  Are we aware of any issues with this? 

Leonard

-----Original Message-----
From: Tab Atkins Jr. [mailto:jackalmage@gmail.com] 
Sent: Friday, August 03, 2012 11:11 AM
To: Leonard Rosenthol
Cc: Nikos Andronikos; Rik Cabanier; public-svg-wg@w3.org
Subject: Re: SVG 2 rendering model

On Fri, Aug 3, 2012 at 5:51 AM, Leonard Rosenthol <lrosenth@adobe.com> wrote:
> On a related note, I saw this fragment in the section that you posted:
>
> As per SVG, the application of ‘filter’ has no effect on hit-testing."
>
> That seems wrong to me, since it would be possible to have a filter 
> that apply varying opacity.  If the case where an object is completely 
> transparent, then the “hit” should go through that aspect of the object.
> Consider the center of a “donut” shape (which, for some reason, used 
> opacity instead of clipping or EOFill or multiple paths) – you would 
> want to return the hit on the object behind the center and not the donut.

Opacity has no effect on hit-testing (until we define the value that makes it so, which we've discussed for a little while).

~TJ

Received on Friday, 3 August 2012 16:03:27 UTC