W3C home > Mailing lists > Public > public-svg-wg@w3.org > July to September 2012

RE: SVG 2 rendering model

From: Leonard Rosenthol <lrosenth@adobe.com>
Date: Fri, 3 Aug 2012 09:01:39 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Nikos Andronikos <nikos.andronikos@cisra.canon.com.au>, Rik Cabanier <cabanier@adobe.com>, "public-svg-wg@w3.org" <public-svg-wg@w3.org>
Message-ID: <D23D6B9E57D654429A9AB6918CACEAA9C563EF85DF@NAMBX02.corp.adobe.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 3 August 2012 16:03:28 GMT