I have some SVG that includes text elements in a group that has an onclick
event handler.  But when I move over the text I get a selection cursor and
can select text.  From section 10.16 of the SVG spec it seems like text
selection should not be possible on the text elements because of the onclick
event handler:

"A text selection operation starts when all of the following occur:"
...
"- no links or events have been assigned to the 'text' , 'tspan' or
'textPath' , element(s) (or their ancestors) associated with the given
glyph."

The SVG that I'm using looks similar to this:

<g onclick="dosomething()">
  <text>label</text>
</g>

Is this a bug in Batik?  Are there any attributes to control if selection is
allowed on individual text elements?

Thanks,
  Denis


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to