Closed
Bug 58972
Opened 24 years ago
Closed 24 years ago
Range insertNode not implemented
Categories
(Core :: DOM: Core & HTML, defect, P1)
Core
DOM: Core & HTML
Tracking
()
VERIFIED
FIXED
mozilla0.9.1
People
(Reporter: mail, Assigned: anthonyd)
Details
(Keywords: dom2, testcase)
Attachments
(5 files)
BuildID: 20001031
insertNode DOM 2 Range method not yet implemented
Reproducible: Always
Steps to Reproduce:
1. attempt to insertNode in a Range returns not implemented error
Actual Results: NS_ERROR_NOT_IMPLEMENTED
testcase to follow
Reporter | ||
Updated•24 years ago
|
Priority: P3 → P5
Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
Reporter is this still a problem in the latest nightlies? It seems to work for
me in 2000120604.
Reporter | ||
Comment 3•24 years ago
|
||
It is still in the 20001211 nightly... Anthony is working on DOM Range bugs.
You will see the error message in tools -> JavaScript console.
Comment 4•24 years ago
|
||
Marking NEW as per reporters comments.
Status: UNCONFIRMED → NEW
Ever confirmed: true
setting milestone, and priority.
anthonyd
Status: NEW → ASSIGNED
Priority: P5 → P1
Target Milestone: --- → mozilla0.9
Comment 6•24 years ago
|
||
finishing up range can be pushed off
Target Milestone: mozilla0.9 → mozilla0.9.1
Updated•24 years ago
|
Component: DOM Level 2 → DOM Traversal-Range
Comment 7•24 years ago
|
||
I am attaching a JavaScript "Patch" that can be used as a work around for the
range object. This patch adds support for the following:
Range.innerHTML - read only
Range.extractContents - as per W3C specs
Range.cloneContents - as per W3C specs
Range.insertNode - as per W3C specs
Range.surroundContents - as per W3C specs
Range.deleteContents - as per W3C specs - fixes buggy support from Mozilla
Range.jmyCompareNode - extends Mozilla's compareNode to include
the following 2 constants
Range.NODE_BEFORE_AND_INSIDE = -1;
Range.NODE_INSIDE_AND_AFTER = -2;
I would like a C++ programmer to implement these in C if possible.
Jeff Yates
Comment 8•24 years ago
|
||
Comment 9•24 years ago
|
||
Assignee | ||
Comment 10•24 years ago
|
||
Jeff Yates,
It looks like you didnt specify the mime type for this patch you attached. It
just looks like garbage, can yuo reattach with mime type text please? Thanks.
anthonyd
Assignee | ||
Comment 11•24 years ago
|
||
movign to mozilla 0.9
anthonyd
Target Milestone: mozilla0.9.1 → mozilla0.9
Comment 12•24 years ago
|
||
Comment 13•24 years ago
|
||
Updated•24 years ago
|
OS: Windows 2000 → All
Hardware: PC → All
Target Milestone: mozilla1.0 → mozilla0.9.1
Assignee | ||
Comment 15•24 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 16•24 years ago
|
||
see 58969 for details
Updated•12 years ago
|
Component: DOM: Traversal-Range → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•