Merge vector-2.4 branch back to trunk.
svn merge sandbox/vector-2.4/@2307 sandbox/vector-2.4/@HEAD trunk/openlayers/ git-svn-id: http://svn.openlayers.org/trunk/openlayers@2803 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
22
examples/supports-vector.html
Normal file
22
examples/supports-vector.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
function set() {
|
||||
if (document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#SVG", "1.1") ) {
|
||||
document.getElementById("svg11").style.background="green";
|
||||
}
|
||||
if (document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#SVGDOM", "1.1") ) {
|
||||
document.getElementById("svgdom").style.background="green";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="set()">
|
||||
|
||||
Vector Support:
|
||||
<br />
|
||||
Supports SVG 1.1: <div id="svg11" style="width:100px;height:100px;background-color:red"></div>
|
||||
<br />
|
||||
Supports SVG DOM: <div id="svgdom" style="width:100px;height:100px;background-color:red"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user