OpenLayers OpenLayers

Changeset 5488

Show
Ignore:
Timestamp:
12/18/07 08:08:35 (8 months ago)
Author:
fredj
Message:

Remove the 'blinking' phenomenon on IE by setting the display elements to
'absolute'. Thanks to pgiraud for the patch (Closes #965)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Renderer/VML.js

    r5392 r5488  
    4040            var style = document.createStyleSheet(); 
    4141            style.addRule('v\\:*', "behavior: url(#default#VML); " + 
    42                                    "position: relative; display: inline-block;"); 
     42                                   "position: absolute; display: inline-block;"); 
    4343        } 
    4444        OpenLayers.Renderer.Elements.prototype.initialize.apply(this,  
     
    100100        this.rendererRoot.style.height = this.size.h; 
    101101 
    102         this.root.style.width = "100%"
    103         this.root.style.height = "100%"
     102        this.root.style.width = this.size.w
     103        this.root.style.height = this.size.h
    104104    }, 
    105105