Closed Bug 395469 Opened 18 years ago Closed 17 years ago

"ASSERTION: should contain only text nodes" (and crash [@ nsTextFragment::GetLength]) with CSS counters, :before, :first-letter, XBL

Categories

(Core :: Layout, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, crash, testcase)

Crash Data

Attachments

(2 files)

###!!! ASSERTION: should contain only text nodes: 'kidContent->IsNodeOfType(nsINode::eTEXT)', file /Users/jruderman/trunk/mozilla/layout/generic/nsFirstLetterFrame.cpp, line 390 This can lead to more assertions and a crash, but the testcase doesn't demonstrate these. ###!!! ASSERTION: Bogus content!: 'aContent->IsNodeOfType(nsINode::eTEXT)', file /Users/jruderman/trunk/mozilla/layout/generic/nsTextFrameThebes.cpp, line 3239 ###!!! ASSERTION: called nsGenericElement::TextLength: 'Not Reached', file /Users/jruderman/trunk/mozilla/content/base/src/nsGenericElement.cpp, line 3934 Crash [@ nsTextFragment::GetLength]
Summary: "ASSERTION: should contain only text nodes" with CSS counters, :before, :first-letter, XBL → "ASSERTION: should contain only text nodes" (and crash [@ nsTextFragment::GetLength]) with CSS counters, :before, :first-letter, XBL
WFM, Mac trunk debug. No assertions or crash with either testcase.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Crashtests checked in.
Flags: in-testsuite+
Crash Signature: [@ nsTextFragment::GetLength]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: