[Webkit-unassigned] [Bug 25571] DOM range methods setStartBefore/setEndAfter fails on detached elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 25 02:53:06 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=25571





--- Comment #4 from Bhanu <b.rout at samsung.com>  2014-01-25 02:50:33 PST ---
The reason behind the range methods setStartBefore, setStartAfter, setEndBefore, setEndAfter failing on detached node is, the root container of the node is not an Attribute, Document, or DocumentFragment node.

I am not sure why this restriction is imposed on these methods while the same restriction is not applicable to setStart and setEnd methods.

I would like someone to review on the above range methods' specification before reviewing my patch, since my patch is violating the requirement specified in the documentation. Does the specification require a change here?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list