Closed Bug 58972 Opened 24 years ago Closed 24 years ago

Range insertNode not implemented

Categories

(Core :: DOM: Core & HTML, defect, P1)

defect

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
Priority: P3 → P5
Attached file testcase
Keywords: testcase
Reporter is this still a problem in the latest nightlies? It seems to work for me in 2000120604.
It is still in the 20001211 nightly... Anthony is working on DOM Range bugs. You will see the error message in tools -> JavaScript console.
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
finishing up range can be pushed off
Target Milestone: mozilla0.9 → mozilla0.9.1
Keywords: dom2
Component: DOM Level 2 → DOM Traversal-Range
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
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
movign to mozilla 0.9 anthonyd
Target Milestone: mozilla0.9.1 → mozilla0.9
Attached file Patch js file
Attached file Test Case
moving to mozilla1.0
Target Milestone: mozilla0.9 → mozilla1.0
OS: Windows 2000 → All
Hardware: PC → All
Target Milestone: mozilla1.0 → mozilla0.9.1
checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
see 58969 for details
catching up on verifications
Status: RESOLVED → VERIFIED
Component: DOM: Traversal-Range → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: