Bug 745788. Work around imagemap bustage by forcing the test image to repaint in order to find its imagemap. r=tbsaunders

This commit is contained in:
Robert O'Callahan 2012-09-28 23:19:38 +12:00
parent 7ee7ed7374
commit 4c8fd0b349

View File

@ -324,6 +324,10 @@
map.appendChild(area);
this.containerNode.appendChild(map);
// force repainting of the image
// XXX this is a hack. Fix bug 745788.
document.getElementById(aImageID).style.opacity = 0.8;
}
this.finalCheck = function insertMap_finalCheck()