Closed Bug 725535 Opened 13 years ago Closed 13 years ago

"ASSERTION: Only transformed frames should have UpdateTransformLayer hint"

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: jruderman, Assigned: MatsPalmgren_bugz)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, regression, testcase)

Attachments

(4 files)

Attached file testcase
###!!! ASSERTION: Only transformed frames should have UpdateTransformLayer hint: '!(aChange & nsChangeHint_UpdateTransformLayer) || aFrame->IsTransformed()', file layout/base/nsCSSFrameConstructor.cpp, line 7678 This assertion was added in mozilla-central rev 6784eefe33a6 (bug 722923).
Attached file stack trace
Attached file the frames involved
Attached patch fix+testSplinter Review
The assert needs to be first in ApplyRenderingChangeToTree() because it sometimes "adjusts" aFrame to an ancestor: // If the frame's background is propagated to an ancestor, walk up to // that ancestor. nsStyleContext *bgSC; while (!nsCSSRendering::FindBackground(aPresContext, aFrame, &bgSC)) { aFrame = aFrame->GetParent(); NS_ASSERTION(aFrame, "root frame must paint"); }
Assignee: nobody → matspal
Attachment #595777 - Flags: review?(roc)
Flags: in-testsuite+
OS: Mac OS X → All
Hardware: x86_64 → All
Whiteboard: [inbound]
Target Milestone: --- → mozilla13
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/0c1fdf386ac1 since I wasn't sure which reftest failures and which crashtest assertion count failures went with which cset in the push.
Whiteboard: [inbound]
Target Milestone: mozilla13 → ---
Whiteboard: [inbound]
Target Milestone: --- → mozilla13
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: