Open Bug 1034289 Opened 11 years ago Updated 3 years ago

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

Categories

(Core :: Layout, defect)

x86_64
macOS
defect

Tracking

()

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

Attached file testcase
###!!! ASSERTION: Shouldn't be trying to restyle non-elements directly: '!aContent || aContent->IsElement()', file layout/base/nsStyleChangeList.cpp, line 62
Attached file stack+
aContent is an nsTextNode.
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
###!!! 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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: