add:  if (document.body.offsetWidth <= 0) {  var element = this; setTimeout(function() { element.updateSelection() }, 0); return; } 
context:     updateSelection: function()    {        var listItemElement = this.listItemElement;        if (!listItemElement)            return;        if (!this.selectionElement) {            this.selectionElement = document.createElement("div");            this.selectionElement.className = "selection selected";            listItemElement.insertBefore(this.selectionElement, listItemElement.firstChild);        }        this.selectionElement.style.height = listItemElement.offsetHeight + "px";    },
meta: 5650	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5650/197340d69554c7b441c3d68bdfdbfd8937ddf75f/DocumentPanel.js/clean/WebCore/page/inspector/DocumentPanel.js