Closed Bug 1153699 Opened 10 years ago Closed 8 years ago

Assertion failure: "Text run should be transformed!" with display:contents

Categories

(Core :: Layout, defect)

defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox40 --- affected

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

Attached file testcase
Assertion failure: mTextRun->GetFlags() & nsTextFrameUtils::TEXT_IS_TRANSFORMED (Text run should be transformed!), at layout/generic/nsTextFrame.cpp:985
Attached file stack
FTR: we added a wallpaper for this error so it should be harmless in Opt builds.
OS: Mac OS X → All
Hardware: x86_64 → All
If I add this method: void nsTextFrame::DidSetStyleContext(nsStyleContext* aOldStyleContext) { ClearTextRuns(); nsFrame::DidSetStyleContext(aOldStyleContext); } then it's called and the testcase works correctly (it should show a capital "A"). I don't see a call to nsTextFrame::MarkIntrinsicISizesDirty() though, which should've been called I think. So I'm guessing the bug is somewhere in RestyleManager? Cam, any ideas?
Flags: needinfo?(cam)
Assertion no longer occurs.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(cam)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: