W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] Non-blocking SVG Canvas?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 06 Aug 2010 16:16:37 -0400
Message-ID: <4C5C6DA5.3040804@mit.edu>
On 8/5/10 9:14 PM, Kevin Ar18 wrote:
> First off, where would be an appropriate area to continue this conversation?

Here is probably fine, unless you want one of www-style at w3.org or 
www-svg at w3.org.

> I'm guessing the discussion is becoming less relevant to the HTML5 spec...

But this isn't an HTML5 spec list...  It's a whatwg spec list (which 
includes a lot more than HTML5).

> * Why do browsers do this? Is there somewhere in the specs that says empty (the transparent areas of) svg tags embedded inside another svg tag should "act like they do not exist"?

One could interpret section 16.4 of the SVG 1.1 specification as saying 
this, maybe.  I'm not sure whether any UAs actually implement that (in 
particular dropping on the floor events with no graphic element under 
them in SVG documents).  Webkit and Opera certainly trigger the event 
handler for a click anywhere in the viewport given this SVG document:

   <svg xmlns="http://www.w3.org/2000/svg" onclick="alert('clicked')"/>

-Boris
Received on Friday, 6 August 2010 13:16:37 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:59 UTC