Thanks a lot for the reply!
What I do is the following :
rv = mMainDoc->CreateElement(NS_LITERAL_STRING("iframe"),
getter_AddRefs(iFrame));
if (NS_FAILED(rv))
return rv;
iFrame->SetAttribute(NS_LITERAL_STRING("collapsed"),
NS_LITERAL_STRING("true"));
iFrame->SetAttribute(NS_LITERAL_STRING("type"),
NS_LITERAL_STRING("content"));
iFrame->SetAttribute(NS_LITERAL_STRING("src"),
NS_ConvertASCIItoUTF16(url));
How can I configure the iframe not to use display:none style ?
Thanks,
Michael.
"Boris Zbarsky" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>> Then I'm trying to submit a form that exists in the document using
>> Submit() function of nsIDOMHTMLFormElement.
>> The problem is that this function need a presentation shell in order to
>> work.
>
> See https://bugzilla.mozilla.org/show_bug.cgi?id=100533.
>
>> Are there other ways to do this ? How can this issue be resolved ?
>
> Don't use display:none, or use Gecko 1.9 (once that ships).
>
> -Boris
>
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom