"Assertion failure: false (should have already reflowed the kid)" with requiredFeatures, getComputedTextLength

RESOLVED FIXED in mozilla25

Status

()

Core
SVG
--
critical
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: Jesse Ruderman, Assigned: heycam)

Tracking

(Blocks: 1 bug, {assertion, testcase})

Trunk
mozilla25
x86_64
Mac OS X
assertion, testcase
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

(Reporter)

Description

4 years ago
Created attachment 782311 [details]
testcase

Assertion failure: false (should have already reflowed the kid), at layout/svg/nsSVGTextFrame2.cpp:4749
(Reporter)

Comment 1

4 years ago
Created attachment 782312 [details]
stack
(Assignee)

Comment 2

4 years ago
Created attachment 782429 [details] [diff] [review]
patch

We need to call ReflowSVGNonDisplayText in nsSVGOuterSVGFrame::Reflow if the nsSVGOuterSVGFrame itself is non-display.  We don't get in to nsSVGDisplayContainerFrame::ReflowSVG, which is where ReflowSVGNonDisplayText is called in other cases.
Assignee: nobody → cam
Status: NEW → ASSIGNED
Attachment #782429 - Flags: review?(jwatt)
(Assignee)

Comment 3

4 years ago
https://tbpl.mozilla.org/?tree=Try&rev=738d9a2197a3
Attachment #782429 - Flags: review?(jwatt) → review+
(Assignee)

Comment 4

4 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/df5c28c3b93e
https://hg.mozilla.org/mozilla-central/rev/df5c28c3b93e
Status: ASSIGNED → RESOLVED
Last Resolved: 4 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.