[Webkit-unassigned] [Bug 246899] DOM api document.adoptNode doesn't assign ownerDocument correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 2 19:52:58 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=246899

Karl Dubost <karlcow at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #8 from Karl Dubost <karlcow at apple.com> ---
The discussion for the initial breakage is
https://github.com/aurelia/framework/issues/1003

As of today
https://bug-246899-attachments.webkit.org/attachment.cgi?id=463188

# STP 164 
fragment.ownerDocument.documentElement: null
Then document.adoptNode(fragment);
fragment.ownerDocument.documentElement null

# Firefox Nightly 112.0a1 (2023-03-02)
fragment.ownerDocument.documentElement: null
Then document.adoptNode(fragment);
fragment.ownerDocument.documentElement [object HTMLHtmlElement]

# Chrome Canary 113.0.5627.0
fragment.ownerDocument.documentElement: null
Then document.adoptNode(fragment);
fragment.ownerDocument.documentElement [object HTMLHtmlElement]

We probably need to reverse this change and see if there is a path forward in the specification as being discussed in https://github.com/whatwg/dom/pull/819


I'm reopening the bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230303/e035fcc6/attachment.htm>


More information about the webkit-unassigned mailing list