Closed Bug 386690 Opened 17 years ago Closed 13 years ago

Negative width attribute and percentage height on <svg:foreignObject> causes "ASSERTION: reflow state made child wrong size" and more

Categories

(Core :: SVG, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached image testcase
This is similar to bug 385246 (which is fixed).  The difference seems to be that the height attribute is a percentage height.

###!!! ASSERTION: reflow state made child wrong size: 'reflowState.ComputedWidth() == size.width', file /Users/jruderman/trunk/mozilla/layout/svg/base/src/nsSVGForeignObjectFrame.cpp, line 609

###!!! ASSERTION: unexpected size: 'size.width == desiredSize.width && size.height == desiredSize.height', file /Users/jruderman/trunk/mozilla/layout/svg/base/src/nsSVGForeignObjectFrame.cpp, line 615
I'm getting an insane number of "cannot call on a dirty frame not currently being reflowed" assertions, but that seems to be fairly normal as of late.

Are you still seeing these other assertions Jesse? I'm not.
Yes, I'm still seeing the assertions in comment 0.
Still happens on trunk.
WFM on trunk. No assertion failures.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Seeing this again (testing with mozilla-central rev 8777ed85c5ac).
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Gone for me now. WFM for you? If so I could you check in the testcase before we screw it up again please Jesse?
WFM. Yes, I'll check in the testcase :)
Status: REOPENED → RESOLVED
Closed: 14 years ago13 years ago
Resolution: --- → WORKSFORME
FWIW, the Comment 5 --> Comment 6 change was almost certainly fixed by the addition of a "NS_MAX" call, mentioned in bug 596765 comment 17.

Updating to indicate this being FIXED by that bug.
Depends on: 596765
Flags: in-testsuite?
Resolution: WORKSFORME → FIXED
Crashtest added:
http://hg.mozilla.org/mozilla-central/rev/d24f0712886d
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: