Closed
Bug 58973
Opened 24 years ago
Closed 24 years ago
Range surroundContents not implemented
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
People
(Reporter: mail, Assigned: anthonyd)
Details
Attachments
(1 file)
1.49 KB,
application/octet-stream
|
Details |
BuildID: 20001031 surroundContents DOM 2 Range method not yet implemented Reproducible: Always Steps to Reproduce: 1. attempt to surroundContents of a Range returns not implemented error Actual Results: NS_ERROR_NOT_IMPLEMENTED testcase to follow
Comment 1•24 years ago
|
||
*** This bug has been marked as a duplicate of 58974 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Updated•24 years ago
|
Component: DOM Level 2 → DOM Traversal-Range
Comment 3•23 years ago
|
||
Comment 4•23 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
Updated•11 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
•