[Webkit-unassigned] [Bug 22684] New: Creating a range with a boundary node's ancestor not in the DOM throws INVALID_NODE_TYPE_ERR
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 5 10:55:46 PST 2008
https://bugs.webkit.org/show_bug.cgi?id=22684
Summary: Creating a range with a boundary node's ancestor not in
the DOM throws INVALID_NODE_TYPE_ERR
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: marchant at mac.com
Creating a range with boundary a node for which an ancestor is not actually in
the DOM throw an INVALID_NODE_TYPE_ERR exception :
var hiddenDOMRange = window.document.createRange(),
startNode = ... /*a DOM node for which one of it's
ancestor has a parentNode null, although they have the right ownerDocument*/;
hiddenDOMRange.setStartBefore(startNode);//This call will
throw an exception
Works as expected in FireFox
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list