W3C home > Mailing lists > Public > www-svg@w3.org > April 2010

RE: Help w/ Markers

From: Alex Danilo <alex@pagefire.com>
Date: Sat, 10 Apr 2010 20:22:12 +1000
Message-Id: <0TON0L.Q7FNCFB74IRG@pagefire.com>
To: Patrick Dengler <patd@microsoft.com>
Cc: Robert Longson <longsonr@gmail.com>, "www-svg@w3.org" <www-svg@w3.org>
Hi Patrick,

--Original Message--:
>Thanks Robert; I missed that point; so let me continue the clarifications :)
>1. Do markers have SVGElementInstances?  (No) 
>2. Does the parent element receive the events? (No)
>    { If Yes, do they fire for stroke-only, fill-only, or both? (this one I cannot figure out)
>        3. Does the element get the events involving the interatcion with the area covered by the marker? (yes)
>        4. If a Marker is not filled, should a hit inside the marker but outside the rectangle count as a hit for anything? 
>    }
>As far as the inheritance happening at the point of instantiation, we think this is the only logical way of doing things, even though we believe the spec says to inherit at the point of origin.  Don't you want the line and its markers to render for example. the hover style?

What the spec. says is what a number of viewers do. I remember this
being a pain point when we did a Full implementation about 6 or 7 years

I agree that the logical thing would be at the point of instantiation
but I can't remember the reasoning for it being the way it is. I think
you'll find ASV might, but Corel's viewer definitely exhibited that

Perhaps someone can shed some light on the original reasoning, since
it never made sense to me either.


>From: Robert Longson [longsonr@gmail.com]
>Sent: Saturday, April 10, 2010 12:19 AM
>To: www-svg@w3.org
>Cc: Patrick Dengler
>Subject: Re: Help w/ Markers
>Final sentence is...
>Event attributes  and event listeners  attached to the contents of a
>'marker'  element are not processed; only the rendering aspects of
>'marker'  elements are processed
>So the answer to question 1 is unambiguously no :-)
>Still thinking about question 2.
>Best regards
Received on Saturday, 10 April 2010 20:22:43 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:20 UTC