createRange doesn't exist
Reported by siannopollo | November 14th, 2009 @ 05:41 PM | in 1.2.x
I've been using Blue Ridge, which uses env.rhino.js, and the document object doesn't have the createRange method on it. This is probably only a problem with Prototype, as I don't think jQuery makes use of the createRange function. But currently Prototype 1.6.1 uses it in Element#replace. I'm thinking it should be there, but I may be wrong :-)
Comments and changes to this ticket
-
Thatcher February 3rd, 2010 @ 04:48 PM
- State changed from new to open
- Assigned user set to Thatcher
- Milestone set to 1.2.x
I looked into the DOM specs and I think we can provide the implementation. Is there a small test you know of that would help verify we did it?
Thatcher
-
Thatcher February 12th, 2010 @ 07:44 PM
- Tag changed from createrange, document, dom to createrange, document, dom, prototype, range
I did stub this out and did some reading in the dom specs to get a feel for it since I had never used this directly before. I should have this done soon and will add the tests as I go.
-
Roland Swingler March 28th, 2010 @ 06:10 AM
I should have this done soon and will add the tests as I go.
Was wondering if you have stuff done for this, just not committed to github? I'd be happy to do some work to fix this, but I don't want to waste effort if you've already got a real implementation underway (I've seen the stubs in the source).
-
Thatcher March 28th, 2010 @ 09:50 AM
I didnt get much past the research phase to be honest. It's a complex DOM
interface and because I hadnt used it directly much it took me a couple
reads of the spec. I'm actually circling back on some back logs for other
projects before I'll have a chance to work on Envjs so if you have the
cycles go for it.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
a javascript browser environment