This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
level3/core/nodeinsertbefore04 Tries to insert the doctype before the doc instead of the doc before the doctype. Because the doc is not its own parent, can raise NOT_FOUND_ERR as well as HIERARCHY_REQUEST_ERR.
Created attachment 92 [details] Fix for nodeinsertbefore04 Swaps the newChild and refChild around so that HIERARCHY_REQUEST_ERR is the only possible exception.
Created attachment 114 [details] Also changes copyright, description, metadata and eliminates namespace req