xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Bohm" <de...@fireflydesign.com>
Subject Text Selection when events registered?
Date Thu, 04 Sep 2003 15:11:13 GMT
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

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

<g onclick="dosomething()">

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


To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message