Closed Bug 428138 Opened 16 years ago Closed 15 years ago

"ASSERTION: reflow state computed incorrect width" with <svg:foreignObject>, padding

Categories

(Core :: SVG, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file testcase
Loading the testcase triggers:

###!!! ASSERTION: reflow state computed incorrect width: 'reflowState.ComputedWidth() == size.width - reflowState.mComputedBorderPadding.LeftRight()', file /Users/jruderman/trunk/mozilla/layout/base/nsPresShell.cpp, line 6312
size.width == 0
reflowState.ComputedWidth() == 0
reflowState.mComputedBorderPadding.LeftRight() == 19200

Given that nsSVGForeignObjectFrame::Reflow always sets its desired size to the computed width and computed height (so ignores any border/padding styling), should we have some svg.css !important rules setting those to have size 0 or something?
WFM on trunk.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Crashtest: http://hg.mozilla.org/mozilla-central/rev/f4622261cce8
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: