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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 12 06:54:51 PDT 2014


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





--- Comment #30 from Bhanu <b.rout at samsung.com>  2014-03-12 06:54:21 PST ---
Hi Ryosuke,

Let me know you have any more comments on the patch. 

Just kept my last reply in this comment in case you have missed to read, to your question on "InvalidNodetypeError to be thrown while setting start and end if the refNode is a doctype".

> doctype check for the node resides in Range::checkNodeWOffset() which is invoked inside setStart/setEnd.
> 
> > The spec says "set the start or end" should throw InvalidNodeTypeError if refNode->parentNode() is a doctype.
> > Where are we checking that now that the call to checkNodeBA has been removed?

Thanks,
Bhanu

-- 
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