Re: [CSS3-UI] Still uncertain how to handle pointer-events for the top svg tag.

On Wed, 19 Jan 2011 00:24:13 +0100, Tantek Çelik <tantek@cs.stanford.edu>  
wrote:

> This is regarding issue 5 for CSS3-UI - please reference that issue #
> and preferably this URI in any response/follow-up:
>
> http://wiki.csswg.org/spec/css3-ui#issue-5

Regarding issue-5:
I'm not sure I follow what you mean with "Any element can be given  
dimensions with CSS". I believe that's mostly valid for elements laid out  
using the CSS box model, if you have e.g an svg <path> element CSS may  
have an indirect influence on the dimensions sure, but for a <g> element  
the dimension is defined by the children of the <g> element. And there are  
cases where elements are simply not part of the visual structure, e.g  
<defs>. I would not expect CSS to be able to make <defs> visible and a  
target for pointer-events for example.

For issue-10, see:
http://dev.w3.org/SVG/profiles/1.1F2/publish/render.html#Elements
http://dev.w3.org/SVG/profiles/1.1F2/publish/interact.html#PointerEventsProperty

-- 
Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed

Received on Friday, 28 January 2011 13:03:20 UTC