RE: Help w/ Markers

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
ago.

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
behaviour.

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

Alex

>________________________________________
>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
>
>http://www.w3.org/TR/SVG11/painting.html#MarkerElement
>
>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
>
>Robert
>
>

Received on Saturday, 10 April 2010 20:22:43 UTC