Closed Bug 383296 Opened 17 years ago Closed 17 years ago

ASSERTION: can't mark frame dirty during reflow: '!mIsReflowing' in nsPresShell.cpp

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 381285

People

(Reporter: jwatt, Unassigned)

References

Details

(Keywords: regression, testcase)

Attachments

(1 file)

Since bug 369827 added a RequestReflow call to nsSVGForeignObjectFrame::NotifyCanvasTMChanged we've been getting the following assertion: ASSERTION: can't mark frame dirty during reflow: '!mIsReflowing' in nsPresShell.cpp due to the following stack. PresShell::FrameNeedsReflow nsSVGForeignObjectFrame::RequestReflow nsSVGForeignObjectFrame::NotifyCanvasTMChanged nsSVGOuterSVGFrame::NotifyViewportChange nsSVGOuterSVGFrame::Reflow I'm not sure how bad this is. Since PresShell::FrameNeedsReflow doesn't seem to return, from a cursory look it would seem the foreignObject's descendants will still be reflowed. I've still to consider this bug in detail though.
Isn't this bug 381285? And it's somewhat bad -- you'll confuse the presshell as to what should be reflowed; things might end up not getting reflowed properly in the future (e.g. if you do another resize).
Depends on: 381285
Oh, and note that bug 381285 has a suggestion for fixing this.
Ah, yeah, you're right. Thanks bz.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: