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

RESOLVED WORKSFORME

Status

()

--
critical
RESOLVED WORKSFORME
4 years ago
7 months ago

People

(Reporter: jruderman, Unassigned)

Tracking

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

Trunk
assertion, testcase
Points:
---

Firefox Tracking Flags

(firefox40 affected)

Details

Attachments

(2 attachments)

(Reporter)

Description

4 years ago
Created attachment 8591446 [details]
testcase

Assertion failure: mTextRun->GetFlags() & nsTextFrameUtils::TEXT_IS_TRANSFORMED (Text run should be transformed!), at layout/generic/nsTextFrame.cpp:985
(Reporter)

Comment 1

4 years ago
Created attachment 8591447 [details]
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
Last Resolved: 7 months ago
Flags: needinfo?(cam)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.