Closed Bug 387835 Opened 13 years ago Closed 12 years ago

Iframe not visible anymore when wrapping svg content around it during page load


(Core :: SVG, defect)

Windows XP
Not set





(Reporter: martijn.martijn, Unassigned)



(Keywords: regression, testcase)


(1 file, 1 obsolete file)

Attached file testcase (obsolete) —
See testcase, you should see a green iframe.
That doesn't happen anymore. Only if I remove the svg element and reinsert it again, the iframe gets displayed.

This regressed between 2007-05-21 and 2007-05-22:
I guess this is somehow a regression from bug 380590.
Attached file testcase
Attachment #271942 - Attachment is obsolete: true
I don't think that this can be a regression from bug 380590. I put a breakpoint in the newly-added function, and it doesn't get hit. On the other hand, when I load this testcase, I do see:

###!!! ASSERTION: XXX. We shouldn't get here. Viewbox width/height is set to 0. Need to disable display of element as per specs.: 'Error', file /home/mrbkap/src/3mozbuild/mozilla/content/svg/content/src/nsSVGSVGElement.cpp, line 1258

but the content model looks right (as far as I can tell, anyway). Perhaps this is an SVG reflow bug?
Yeah, probably an SVG reflow bug, I guess.
The thing is, I am relying on this to work in a script of mine. I found a workaround by removing and adding the svg element to the document again, but that suddenly seems to have stopped working also in the latest trunk build for me.
This is WFM with my patch for bug 294086.
Depends on: 294086
Great, thanks!
I really would like to see this fixed.
This bug was just fixed by the fix for bug 294086. I'll add a reftest for this shortly.
No longer blocks: 380590
Closed: 12 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Yes, thanks for fixing.
Verified fixed, using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007111905 Minefield/3.0b2pre
You need to log in before you can comment on or make changes to this bug.