Open Bug 391157 Opened 17 years ago Updated 2 years ago

"ASSERTION: We should have a margin here! (out of memory?)" with SVG and getComputedStyle

Categories

(Core :: SVG, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached image testcase (deleted) —
###!!! ASSERTION: used margin property missing (out of memory?): 'm', file /Users/jruderman/trunk/mozilla/layout/generic/nsFrame.cpp, line 695 This assertion was added by dbaron in bug 332922. I don't know whether this is an SVG bug or a style system bug or a layout bug.
Probably we should just check IsFrameOfType(eSVG) in nsComputedDOMStyle and take the non-Frame codepath in that case.
Bug 542361 changed the assertion to ###!!! ASSERTION: We should have a margin here! (out of memory?): 'hasMargin', file /Users/jruderman/central/layout/generic/nsFrame.cpp, line 616 and this testcase still triggers it.
Summary: "ASSERTION: used margin property missing" with SVG and getComputedStyle → "ASSERTION: We should have a margin here! (out of memory?)" with SVG and getComputedStyle
Still happens on trunk.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: