Closed Bug 9407 Opened 26 years ago Closed 26 years ago

iframes don't display at all in xul loaded with CreateTopLevelWindow

Categories

(Core :: XUL, defect, P1)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: slogan, Assigned: hyatt)

Details

We are loading a window using CreateTopLevelWindow from C++, which used to work until this past weekend sometime. The following xul works: <?xml version="1.0"?> <?xml-stylesheet href="resource:/res/samples/xul.css" type="text/css"?> <window xmlns:html="http://www.w3.org/TR/REC-html40" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" align="vertical" style="width:100%;height:100%"> <html:div flex="100%" style="border:2px solid red"> Howdy Doody! </html:div> <!-- <html:iframe src="http://www.yahoo.html" flex="100%"/> --> </window> Commenting out the Howdy Doody! html, and uncommenting the iframe, nothing displays (the window comes up, but no content). Resizing doesn't help. My blockage problem is more complicated, but I am pretty sure if the above can be made to work, mine will work too.
Priority: P3 → P1
Target Milestone: M8
setting p1 for m8, cc danm & evaughan. Dave, are you the right owner?
Status: NEW → ASSIGNED
Just a hunch. Try removing the style="width:100%;height:100%" from your window tag.
No apparent effect
www.yahoo.html isn't a real site, and so nothing will come up. I assume you've tried it with a real URL?
Oh, sorry. Yes, http://www.yahoo.com. Typo. Still doesn't work.
I can't reproduce this.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Got it. An extra repaint on the end document load did the trick.
Status: RESOLVED → REOPENED
Still broken for me after new pull. Reopening. *Also* the box which displayed correctly before (where I displayed "Howdy Doody!) -- the border doesn't display correctly now, so I have regressed.
Resolution: FIXED → ---
Clearing Fixed resolution since this is now re-opened.
Status: REOPENED → RESOLVED
Closed: 26 years ago26 years ago
Resolution: --- → FIXED
Fixed.
Whiteboard: waiting for reporter's response
syd, is this ok for you now? (can i verify this as FIXED?)
Yes, fixed. Sorry, I had this confused with another bug. It works, and thanks to Hyatt for debugging the problem.
Status: RESOLVED → VERIFIED
Whiteboard: waiting for reporter's response
thanks, marking verfied.
You need to log in before you can comment on or make changes to this bug.