Closed Bug 893510 Opened 11 years ago Closed 11 years ago

Assertion failure: "do not call ScheduleReflowSVGNonDisplayText when the outer SVG frame is under ReflowSVG"

Categories

(Core :: SVG, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: jruderman, Assigned: heycam)

References

Details

(Keywords: assertion, testcase)

Attachments

(3 files)

Attached image testcase
Assertion failure: !nsSVGUtils::OuterSVGIsCallingReflowSVG(this) (do not call ScheduleReflowSVGNonDisplayText when the outer SVG frame is under ReflowSVG), at layout/svg/nsSVGTextFrame2.cpp:3142
Attached file stack
This is due to the changes in bug 890783 that schedule a reflow of non-display SVG text when a child text content frame gets a new style context.  In this case, we're constructing a new frame due to bidi resolution under ReflowSVG.  The frame will be reflowed, so there's no need to do this.  I think we can just check NS_FRAME_FIRST_REFLOW to avoid this.
Attached patch patchSplinter Review
Assignee: nobody → cam
Status: NEW → ASSIGNED
Attachment #775491 - Flags: review?(roc)
Attachment #775491 - Flags: review?(roc) → review+
https://hg.mozilla.org/mozilla-central/rev/e1b30d2fafcb
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: