W3C home > Mailing lists > Public > www-svg@w3.org > May 2012

Re: pointer-events (was: opacity) applying to text content child elements

From: Dirk Schulze <dschulze@adobe.com>
Date: Sun, 27 May 2012 06:42:40 -0700
To: Cameron McCormack <cam@mcc.id.au>
CC: SVG public list <www-svg@w3.org>
Message-ID: <211CA188-BC77-4FBB-9CE0-D8D31912FD27@adobe.com>

On May 27, 2012, at 12:22 AM, Cameron McCormack wrote:

> Cameron McCormack:
>> SVG 1.1 technically does not apply the opacity property to <tspan> and
>> other text content child elements.  Implementations seem to support
>> this, though, so I will make the spec allow this unless there are any
>> objections.
> 
> Similarly, pointer-events technically doesn't apply to <tspan>s either. 
>  This is because it (and opacity) say that it applies to the "graphical 
> elements", and that term includes <text> but not the text content child 
> elements.
> 
On webkit we just look at the text element, not on the inline elements. IIRC we have a test for that in our SVG test suite. According to this test, WebKit fails. But didn't look at it in detail.

Greetings,
Dirk
Received on Sunday, 27 May 2012 13:43:10 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:51 GMT