RESOLVED DUPLICATE of bug 222657 68574
adoptNode does not work with shadow dom
https://bugs.webkit.org/show_bug.cgi?id=68574
Summary adoptNode does not work with shadow dom
Erik Arvidsson
Reported 2011-09-21 14:55:53 PDT
My test case uses an audio element created in a different HTMLDocument. When I append it to the current document (with or without adoptNode) the shadow is not created. If I on the other hand do an importNode (which creates a new element) it all works. See URL for test case.
Attachments
Ahmad Saleem
Comment 1 2022-08-01 13:47:49 PDT
If I understand this correctly, I am able to reproduce this behavior in Safari 15.6 on macOS 12.5 using attached test case in URL field. In Safari, there is only one "Media" element or player while all other browsers (Chrome Canary 106 and Firefox Nightly 105) show three similar to JS showing three audio sources. I am not sure but I think this is what this bug is for, it could be duplicate of some other bug explaining that Safari is not able to handle multiple audio sources or not. But just wanted to share latest testing results. Thanks!
Ryosuke Niwa
Comment 2 2022-08-01 21:10:25 PDT
Reverse duping this to the bug 222657 since it has more context. *** This bug has been marked as a duplicate of bug 222657 ***
Note You need to log in before you can comment on or make changes to this bug.