diff options
Diffstat (limited to 'misc/openlayers/tests/Popup/FramedCloud.html')
-rw-r--r-- | misc/openlayers/tests/Popup/FramedCloud.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/openlayers/tests/Popup/FramedCloud.html b/misc/openlayers/tests/Popup/FramedCloud.html new file mode 100644 index 0000000..7da86e3 --- /dev/null +++ b/misc/openlayers/tests/Popup/FramedCloud.html @@ -0,0 +1,18 @@ +<html> +<head> + <script src="../OLLoader.js"></script> + <script type="text/javascript"> + + function test_Popup_FramedCloud_setHTML(t) { + t.plan(1); + popup = new OpenLayers.Popup.FramedCloud(); + popup.setContentHTML("<p></p>"); + t.ok("setHTML on popup not yet added to map doesn't fail"); + } + + </script> +</head> +<body> +<div id="map" style="width:512px; height:256px"> </div> +</body> +</html> |