Description[DOM4] Doctypes now always have a node document and can be moved across document boundaries
Doctypes now always have a node document and can be moved across document boundaries as per
the latest DOM4 specification:
http://dom.spec.whatwg.org/#dom-domimplementation-createdocumenttype
http://dom.spec.whatwg.org/#dom-node-ownerdocument
This means that DOMImplementation.createDocumentType() now sets the ownerDocument of the
new DocumentType Node to the associated document of the current "context" object. In
DOM4, all nodes have a document at all times. DocumentType nodes can now be moved across
document boundaries so that the node can be added to a Document after being created.
Firefox stable already follows DOM4 here while IE10 does not (yet).
BUG=275600
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156581
Patch Set 1 #Patch Set 2 : Add missing test #
Total comments: 7
Patch Set 3 : Improve tests #Messages
Total messages: 10 (0 generated)
|