Closed
Bug 411882
Opened 17 years ago
Closed 15 years ago
"ASSERTION: No first node!" with <textarea> after <body>
Categories
(Core :: DOM: Editor, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: assertion, testcase)
Attachments
(1 file)
|
84 bytes,
application/xhtml+xml
|
Details |
Loading the testcase triggers:
###!!! ASSERTION: No first node!: 'mFirst', file /Users/jruderman/trunk/mozilla/content/base/src/nsContentIterator.cpp, line 971
Comment 1•17 years ago
|
||
This is an editor bug. nsTextServicesDocument::InitWithEditor (called by nsEditorSpellCheck::InitSpellChecker when we set up the textarea) calls nsTextServicesDocument::CreateDocumentContentIterator which calls nsTextServicesDocument::CreateDocumentContentRange which calls nsTextServicesDocument::GetDocumentContentRootNode, which uses the body for "html" documents (including XHTML), and the document element for others. Then the iterator looks for the first node in the root node, and asserts when there isn't one.
Component: Layout: Form Controls → Editor
QA Contact: layout.form-controls → editor
| Reporter | ||
Comment 2•16 years ago
|
||
FWIW, bug 328412 fixed an instance of this assertion involving Find, but did not fix this one.
| Reporter | ||
Comment 3•15 years ago
|
||
WFM
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•