Hi,

I've taken a more indepth look at this issue. Looks like a FF3b2
regression.

Steps to reproduce in pure JS (no need for Prototype):

      var element, range;
      element = document.createElement('div');
      range = element.ownerDocument.createRange();
      range.selectNodeContents(element);

Which throws:

NS_ERROR_DOM_RANGE_INVALID_NODE_TYPE_ERR: The container of an boundary-
point of a range is being set to either a node of an invalid type or a
node with an ancestor of an invalid type.([Exception... "The container
of an boundary-point of a range is being set to either a node of an
invalid type or a node with an ancestor of an invalid type." code: "2"
nsresult: "0x805c0002 (NS_ERROR_DOM_RANGE_INVALID_NODE_TYPE_ERR)"

at:

      range.selectNodeContents(element);

Filed a bug here:

https://bugzilla.mozilla.org/show_bug.cgi?id=409380

Best,

Tobie


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to