<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
I stumbled upon an IMHO unwanted behaviour in OpenLayers when it is
being accessed with devices that issue touch events (smartphones and
tablets both with iOS or Android):<br>
<br>
When an attribution of a layer contains a link (an <a
href=<a class="moz-txt-link-rfc2396E" href="http://example.com/">"http://example.com/"</a>>Text</a>) the link does not
work, e.g. it does not follow the links href and does not open the
appropriate URL.<br>
<br>
This can easily be observed in the online examples, e.g. here:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a class="moz-txt-link-freetext" href="http://openlayers.org/dev/examples/osm.html">http://openlayers.org/dev/examples/osm.html</a> (the link to the osm
page is not functional on touch devices).<br>
<br>
The behaviour can also be observed from mwithin Chrome when the
"User-Agent" setting "
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Emulate touch events" of the developer toolbar is activated.<br>
<br>
I would consider this behaviour a bug and would like to hear your
opinions.<br>
<br>
The IMHO wrong behaviour was introduced after 2.11, as the example
<a class="moz-txt-link-freetext" href="http://dev.openlayers.org/releases/OpenLayers-2.11/examples/osm.html">http://dev.openlayers.org/releases/OpenLayers-2.11/examples/osm.html</a>
is working as expected.<br>
<br>
If needed I can file an issue on github.<br>
<br>
Best regards,<br>
Marc <br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<br>
<br>
<br>
</body>
</html>