Hi Sean,

 

I think I concur that that are some look and feel differences between Webkit
and the others (I do have IE9

Each of the paths has had its stroke width from the <g> in which

 

stroke-width="0.22%"

 

I would probably try changing that to something like

 

stroke-width="3" 

 

And see what happens. Your viewBox sets the coordinate system and the .22%
is defined relative to that. Looking at the height and width of the viewBox,
it is not too different from an ordinary screen so moving to absolute pixels
might behave more consistently. Not quite sure how browsers calculate their
onmouseover hot spot, particularly when a dash-array is present, but I'd be
tempted to play with that.

 

Another trick if that doesn't work (since I'm having some troubles getting
the hotspot with my screen resolution, even in Firefox) would be to
duplicate the group containing the path system with a <use> tag but lay it
down first, adding a wider stroke-width but making its stroke-opacity zero
so that it still receives mouse events but doesn't interfere with the visual
display.

 

Hope this helps, and maybe someone else will have another idea.

 

Cheers

David

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Sean Montague
Sent: Wednesday, July 20, 2011 3:17 PM
To: [email protected]
Subject: Re: [svg-developers] Chrome Path Mouseover

 

  

http://greenworld.org/chrome-test.svg

With chrome you need to move the mouse around until you hit the sweet 
spot. FF works well, but is so sensitive its hard to keep mouseover. IE 
with the old ASV 3 plugin is still the best, which I'm trying to 
mothball. I can't test IE9.

Thanks!
Sean

On 07/20/2011 07:54 AM, David Dailey wrote:
>
> This is not an issue I'm aware of. Perhaps others have noticed something,
> but it sounds like a link to an example of the problem would be helpful.
>
> Good luck
>
> David
>
> From: [email protected]
<mailto:svg-developers%40yahoogroups.com>  
> <mailto:svg-developers%40yahoogroups.com> 
> [mailto:[email protected]
<mailto:svg-developers%40yahoogroups.com>  
> <mailto:svg-developers%40yahoogroups.com>]
> On Behalf Of couloir007
> Sent: Wednesday, July 20, 2011 2:04 AM
> To: [email protected]
<mailto:svg-developers%40yahoogroups.com>  
> <mailto:svg-developers%40yahoogroups.com>
> Subject: [svg-developers] Chrome Path Mouseover
>
> Is chrome known to have issues with paths and mouseover events? In my svg
> with roads, my mouseover events will only fire on small segments of the
> path. I can't find much on this topic.
>
> Thanks!
>
> [Non-text portions of this message have been removed]
>
> 

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]



------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to