Changeset 6713
- Timestamp:
- 03/30/08 22:49:23 (9 months ago)
- Files:
-
- sandbox/euzuro/pop/lib/OpenLayers/Renderer/VML.js (modified) (1 diff)
- sandbox/euzuro/pop/tests/Layer/atom-1.0.xml (copied) (copied from trunk/openlayers/tests/Layer/atom-1.0.xml)
- sandbox/euzuro/pop/tests/Layer/data_Layer_Text_textfile.txt (copied) (copied from trunk/openlayers/tests/Layer/data_Layer_Text_textfile.txt)
- sandbox/euzuro/pop/tests/Layer/data_Layer_Text_textfile_2.txt (copied) (copied from trunk/openlayers/tests/Layer/data_Layer_Text_textfile_2.txt)
- sandbox/euzuro/pop/tests/Layer/data_Layer_Text_textfile_overflow.txt (copied) (copied from trunk/openlayers/tests/Layer/data_Layer_Text_textfile_overflow.txt)
- sandbox/euzuro/pop/tests/Layer/georss.txt (copied) (copied from trunk/openlayers/tests/Layer/georss.txt)
- sandbox/euzuro/pop/tests/Layer/mice.xml (copied) (copied from trunk/openlayers/tests/Layer/mice.xml)
- sandbox/euzuro/pop/tests/Layer/owls.xml (copied) (copied from trunk/openlayers/tests/Layer/owls.xml)
- sandbox/euzuro/pop/tests/Layer/test_GML.html (modified) (1 diff)
- sandbox/euzuro/pop/tests/Layer/test_GeoRSS.html (modified) (1 diff)
- sandbox/euzuro/pop/tests/Layer/test_Text.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/euzuro/pop/lib/OpenLayers/Renderer/VML.js
r6325 r6713 322 322 node.setAttribute('id', id); 323 323 } 324 325 // IE hack to make elements unselectable, to prevent 'blue flash' 326 // while dragging vectors; #1410 327 node.setAttribute('unselectable', 'on', 0); 328 node.onselectstart = function() { return(false); }; 329 324 330 return node; 325 331 }, sandbox/euzuro/pop/tests/Layer/test_GML.html
r5846 r6713 6 6 var name = "GML Layer"; 7 7 8 // The actual path these files are read from differs: 9 // some browsers treat relative paths from within an iframe 10 // as relative to the parent, some treat them as relative to the child 11 // At this time: 12 // * IE6 + IE7 13 // * Firefox 2.0.0.13+ 14 // read them from relative to the iframe contents, rather than parent, 15 // so these files are in *two* places: one in the "Layer/" subdirectory, 16 // and one in the root. This majorly sucks, but it's a way to keep it 17 // working without hardcoding a version number into the tests. 8 18 var gml = "./owls.xml"; 9 19 var gml2 = "./mice.xml"; 10 20 11 // if this test is running online, different rules apply12 21 var isMSIE = (navigator.userAgent.indexOf("MSIE") > -1); 13 if (isMSIE) {14 gml = "." + gml;15 gml2 = "." + gml2;16 }17 22 18 23 function test_01_Layer_GML_constructor(t) { sandbox/euzuro/pop/tests/Layer/test_GeoRSS.html
r5828 r6713 9 9 var georss_txt = "./georss.txt"; 10 10 var atom_xml = "./atom-1.0.xml"; 11 12 // if this test is running online, different rules apply 13 if (isMSIE) { 14 georss_txt = "." + georss_txt; 15 atom_xml = "." + atom_xml; 16 } 11 12 // The actual path these files are read from differs: 13 // some browsers treat relative paths from within an iframe 14 // as relative to the parent, some treat them as relative to the child 15 // At this time: 16 // * IE6 + IE7 17 // * Firefox 2.0.0.13+ 18 // read them from relative to the iframe contents, rather than parent, 19 // so these files are in *two* places: one in the "Layer/" subdirectory, 20 // and one in the root. This majorly sucks, but it's a way to keep it 21 // working without hardcoding a version number into the tests. 17 22 18 23 function test_01_Layer_GeoRSS_constructor (t) { sandbox/euzuro/pop/tests/Layer/test_Text.html
r5828 r6713 7 7 var layer; 8 8 9 // The actual path these files are read from differs: 10 // some browsers treat relative paths from within an iframe 11 // as relative to the parent, some treat them as relative to the child 12 // At this time: 13 // * IE6 + IE7 14 // * Firefox 2.0.0.13+ 15 // read them from relative to the iframe contents, rather than parent, 16 // so these files are in *two* places: one in the "Layer/" subdirectory, 17 // and one in the root. This majorly sucks, but it's a way to keep it 18 // working without hardcoding a version number into the tests. 9 19 var datafile = "./data_Layer_Text_textfile.txt"; 10 20 var datafile2 = "./data_Layer_Text_textfile_2.txt"; 11 21 var datafile_overflow = "./data_Layer_Text_textfile_overflow.txt"; 12 13 // if this test is running in IE, different rules apply14 if (isMSIE) {15 datafile = "." + datafile;16 datafile2 = "." + datafile2;17 datafile_overflow = "." + datafile_overflow;18 }19 22 20 23 function test_01_Layer_Text_constructor (t) {
