DescriptionEnsure that every Document has a single, distinct template content ownerDocument
This avoids several bugs where templates would erroneously share their content
ownerDocuments with themselves, leading to such badness as custom elements being
instantiated inside templates or template.content.ownerDocument.defaultView being
non-null.
Also cleans up various code in Document: templateDocument() is gone, with its callers
switched to the new isTemplateDocument() method, and setTemplateDocumentHost() has
been removed from Document's public interface, since it should only be set by Document
itself.
Spec bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=23990
Relevant HTML spec change: http://html5.org/tools/web-apps-tracker?from=8350&to=8351
R=rafaelw@chromium.org
BUG=325442, 342601
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166973
Patch Set 1 #Patch Set 2 : Suppress expected w3c test failures #Messages
Total messages: 9 (0 generated)
|