If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

"ASSERTION: Shouldn't be trying to restyle non-elements directly"

NEW
Unassigned

Status

()

Core
Layout
3 years ago
2 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

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

Trunk
x86_64
Mac OS X
assertion, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

3 years ago
Created attachment 8450524 [details]
testcase

###!!! ASSERTION: Shouldn't be trying to restyle non-elements directly: '!aContent || aContent->IsElement()', file layout/base/nsStyleChangeList.cpp, line 62
(Reporter)

Comment 1

3 years ago
Created attachment 8450526 [details]
stack+

aContent is an nsTextNode.
(Reporter)

Comment 2

3 years ago
Still happens, even though the assertion has become more complex:

###!!! ASSERTION: Shouldn't be trying to restyle non-elements directly, except if it's a display:contents child: '!aContent || aContent->IsElement() || (aFrame && aContent->GetParent() && aFrame->PresContext()->FrameManager()-> GetDisplayContentsStyleFor(aContent->GetParent()))', file layout/base/nsStyleChangeList.cpp, line 69

Comment 3

2 years ago
###!!! ASSERTION: Shouldn't be trying to restyle non-elements directly, except if it's a display:contents child: '!aContent || aContent->IsElement() || (aFrame && aContent->GetParent() && aFrame->PresContext()->FrameM
anager()-> GetDisplayContentsStyleFor(aContent->GetParent()))', file /var/tmp/portage/www-client/seamonkey-2.39/work/seamonkey-2.39/mozilla/layout/base/nsStyleChangeList.cpp, line 69
You need to log in before you can comment on or make changes to this bug.