nsHTMLImageElement::OnStartContainer(imgIRequest *request, nsISupports *cx,
nsHTMLImageElement::OnStartContainer(imgIRequest *request,
nsHTMLImageElement::OnStartContainer(imgIRequest *request, nsISupports *cx,                                     imgIContainer *image){  nsCOMPtr<nsIPresContext> pc(do_QueryInterface(cx));  NS_ASSERTION(pc, "not a prescontext!");  float t2p;  pc->GetTwipsToPixels(&t2p);  nsSize size;  image->GetWidth(&size.width);  image->GetHeight(&size.height);  nsAutoString tmpStr;  tmpStr.AppendInt(size.width);  SetAttr(kNameSpaceID_None, nsHTMLAtoms::width, tmpStr, PR_FALSE);  tmpStr.Truncate();  tmpStr.AppendInt(size.height);  SetAttr(kNameSpaceID_None, nsHTMLAtoms::height, tmpStr, PR_FALSE);  return NS_OK;}