Open Bug 985834 Opened 7 years ago Updated 7 years ago

SVGTextFrame is calling FrameNeedsReflow in a suboptimal manner

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

People

(Reporter: jtd, Unassigned)

References

Details

SVGTextFrame::ScheduleReflowSVGNonDisplayText calls FrameNeedsReflow:

  PresContext()->PresShell()->FrameNeedsReflow(
    f, nsIPresShell::eStyleChange, NS_FRAME_IS_DIRTY);

http://mxr.mozilla.org/mozilla-central/source/layout/svg/SVGTextFrame.cpp#3314

FrameNeedsReflow asserts if eStyleChange is passed without NS_FRAME_IS_DIRTY but in bug 950526, comment 3 dbaron thinks using this combination in this situation is suboptimal.
Blocks: 950526
You need to log in before you can comment on or make changes to this bug.