Closed
Bug 122580
Opened 23 years ago
Closed 13 years ago
No documentation for selection object
Categories
(Documentation Graveyard :: Web Developer, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: robert, Assigned: doronr)
References
Details
There's no documentation for the selection object. Specific questions to answer: - What do I get when I call window.getSelection()? (What's the API?) - How do I get the html of the current selection? (ala IE's document.selection.createRange().htmlText) - How do I set the HTML for the selection? (ala IE's document.selection.createRange().pasteHTML()) See http://lxr.mozilla.org/seamonkey/source/content/base/public/nsISelection.idl Note that the JavaDoc in the IDL file for getRangeAt() aren't clear enough? Index? Index of what? See also IE's http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_selection.asp See also IE's
Reassigning to oeschger. Ian, is this covered in the DOM documentation? Could you provide a pointer? Thanks.
Assignee: rudman → oeschger
Updated•22 years ago
|
Status: NEW → ASSIGNED
Comment 2•22 years ago
|
||
Dylan is working on Selection interface descriptions. Dylan--hope you don't mind me assigning this to you. Trying to clean up my bug list a little
Assignee: oeschger → dylans
Status: ASSIGNED → NEW
Comment 3•22 years ago
|
||
Accepted. I'll be able to start on this once I finish the Range docs, likely within two weeks.
Comment 4•21 years ago
|
||
Dylan, Have you done anything with this?
Comment 6•21 years ago
|
||
Sorry for the late reply... was travelling for much of the past two months. There was talk of redoing the format and structure of the domref, so I had been holding off until that had been decided, and never got back to it. I can help with this now if wanted/needed.
Comment 7•13 years ago
|
||
https://developer.mozilla.org/en/DOM/window.getSelection https://developer.mozilla.org/en/DOM/Selection https://developer.mozilla.org/en/DOM/range
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•