WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 99244
120425
[DOM4] Doctypes now always have a node document and can be moved across document boundaries
https://bugs.webkit.org/show_bug.cgi?id=120425
Summary
[DOM4] Doctypes now always have a node document and can be moved across docum...
Chris Dumez
Reported
2013-08-28 10:49:20 PDT
Consider merging the following patch from Blink: 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 and since recently Blink already follow DOM4 here while IE10 does not (yet). Blink revision:
https://src.chromium.org/viewvc/blink?revision=156581&view=revision
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2013-08-28 10:56:46 PDT
It seems sensible to match the spec. I don't think there is any compatibility issue with this.
Theresa O'Connor
Comment 2
2013-08-28 11:26:30 PDT
SGTM.
Alexey Proskuryakov
Comment 3
2013-08-28 11:50:09 PDT
This is just crazy. *** This bug has been marked as a duplicate of
bug 99244
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug