Closed Bug 842909 Opened 7 years ago Closed 7 years ago
"ASSERTION: expected a Text
Node Correspondence Property on ns Text Frame used for SVG text"
With: user_pref("svg.text.css-frames.enabled", true); ###!!! ASSERTION: expected a TextNodeCorrespondenceProperty on nsTextFrame used for SVG text: 'Not Reached', file layout/svg/nsSVGTextFrame2.cpp, line 1226
UpdateGlyphPositioning ensures that everything is set up correctly. It's normally called whenever we reflow/redraw but in the case of text in <defs>, we never do directly so we have to ensure that all dom functions call it. Check out http://mxr.mozilla.org/mozilla-central/source/layout/svg/nsSVGTextFrame.cpp#91 for the methods that get called if svg.text.css-frames.enabled is false and the missing function call becomes more obvious in the svg.text.css-frames.enabled case.
Attachment #720420 - Flags: review?(dholbert) → review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in before you can comment on or make changes to this bug.