Closed
Bug 302538
Opened 19 years ago
Closed 19 years ago
The example code is invalid. document.createTextNode() can not create element nodes.
Categories
(www.mozilla.org :: General, defect, P3)
www.mozilla.org
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kravvitz, Assigned: bugzilla)
References
()
Details
Attachments
(1 file)
1.43 KB,
patch
|
Details | Diff | Splinter Review |
The example code is invalid. document.createTextNode() can not create element nodes. I suggest this change: var frag = document.createDocumentFragment(); frag.appendChild( document.createTextNode('Some sample text') );
Assignee | ||
Comment 1•19 years ago
|
||
I will upgrade the whole page at the same time: - HTML 4.01 strict conversion - remove parameters section and create a description section - etc. The upgraded page's content will be transferred afterwards to http://developer.mozilla.org/en/docs/DOM:document.createDocumentFragment CONFIRMING Target: Before December 1st
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P3
Comment 3•19 years ago
|
||
Please do not update individual pages of the DOM reference. They are generated. See the larger bug about updating the DOM reference.
Assignee | ||
Comment 4•19 years ago
|
||
This fix the reported bug: I corrected the example with the proposed correction and updated the date.
Assignee | ||
Updated•19 years ago
|
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: mozilla.org → Websites
Updated•12 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•