[OpenLayers-Trac] Re: [OpenLayers] #2985: Ctrl-Click or Shift-Click on a SVG-feature with named graphic opens new window because of <use>/<def> and the href-attribute

OpenLayers trac-20090302 at openlayers.org
Thu Dec 23 08:02:38 EST 2010


#2985: Ctrl-Click or Shift-Click on a SVG-feature with named graphic opens new
window because of <use>/<def> and the href-attribute
--------------------------+-------------------------------------------------
 Reporter:  marcjansen    |       Owner:  ahocevar    
     Type:  bug           |      Status:  new         
 Priority:  minor         |   Milestone:  2.11 Release
Component:  Renderer.SVG  |     Version:  2.10        
 Keywords:                |       State:  Review      
--------------------------+-------------------------------------------------
Changes (by marcjansen):

  * state:  Needs More Work => Review


Comment:

 Hi ahocevar,

 the new patch attachment:OpenLayers-2985-002.patch (a full replacement for
 the first patch)...

   - ...removes "rotation" from the default-style in the example
   - ...includes your changes stated in comment:2
   - ...therefore the firebug notice disappears
   - ...removes the previously added "anchor" and "mining" named-symbols,
 as these were buggy in Chrome. They didn't render with the old use/defs-
 renderer either, so I suppose that this is not an issue introduced by this
 patch
   - ...removes one test from tests/Renderer/SVG.html as this one is now
 obsolete

 The file examples/graphic-name.html renders fine in FF 3.6.13, Opera 10.62
 and Chrome 8.0.552.224 all on Ubuntu 10.10.

 Thanks again for commenting on this and reviewing the patch. Merry
 Christmas y'all.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2985#comment:3>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list