OpenLayers OpenLayers

Changeset 6713

Show
Ignore:
Timestamp:
03/30/08 22:49:23 (9 months ago)
Author:
crschmidt
Message:

Bring up r6708 and r6712 from trunk, to put us in line with HEAD (and
let me run the tests in my new firefox again)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/euzuro/pop/lib/OpenLayers/Renderer/VML.js

    r6325 r6713  
    322322            node.setAttribute('id', id); 
    323323        } 
     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         
    324330        return node;     
    325331    }, 
  • sandbox/euzuro/pop/tests/Layer/test_GML.html

    r5846 r6713  
    66    var name = "GML Layer"; 
    77     
     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. 
    818    var gml = "./owls.xml"; 
    919    var gml2 = "./mice.xml"; 
    1020 
    11     // if this test is running online, different rules apply 
    1221    var isMSIE = (navigator.userAgent.indexOf("MSIE") > -1); 
    13     if (isMSIE) { 
    14         gml = "." + gml; 
    15         gml2 = "." + gml2; 
    16     } 
    1722     
    1823    function test_01_Layer_GML_constructor(t) { 
  • sandbox/euzuro/pop/tests/Layer/test_GeoRSS.html

    r5828 r6713  
    99    var georss_txt = "./georss.txt"; 
    1010    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. 
    1722 
    1823    function test_01_Layer_GeoRSS_constructor (t) { 
  • sandbox/euzuro/pop/tests/Layer/test_Text.html

    r5828 r6713  
    77    var layer;  
    88 
     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. 
    919    var datafile  = "./data_Layer_Text_textfile.txt"; 
    1020    var datafile2 = "./data_Layer_Text_textfile_2.txt"; 
    1121    var datafile_overflow = "./data_Layer_Text_textfile_overflow.txt"; 
    12  
    13     // if this test is running in IE, different rules apply 
    14     if (isMSIE) { 
    15         datafile = "." + datafile; 
    16         datafile2 = "." + datafile2; 
    17         datafile_overflow = "." + datafile_overflow; 
    18     } 
    1922 
    2023    function test_01_Layer_Text_constructor (t) {