When inspecting element. Some img node will appear to be gray. And
those imgs can't be displayed.
like this what is showed in this image:

http://www.apoclast.org/Storage.Download.ashx?ID=266&RandomID=SRQOOJ0J6O8030P6627861OSR3784G70

This always occurs when build DOM with javascript like:

<div style="overflow:hidden;width:400px;">
<div><img src="xxxxx.jpg" /></div>
</div>

a div A with div B. B is the parentNode of A. And the overflow of B
set to be "hidden". Sometimes images in A will not be rendered. But
sometimes they appear.

Code to build the DOM is:

with(B = document.createElement("div"))
{
 style.overflow = "hidden";
 style.width = "400px";
 appendChild(A = document.createElement("div"));
 with(A)
 {
  appendChild(document.createElement("img"));
  lastChild.src = "http://storage.apoclast.org/?
ID=261&RandomID=7776BV0O163E0708L6A5LXAI8E867IE8";
 }
}

Any help is appreciated. Thanks!!!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to