- From: Rakina Zata Amni <notifications@github.com>
- Date: Wed, 23 Sep 2020 17:32:35 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 24 September 2020 00:32:47 UTC
The [adopt](https://dom.spec.whatwg.org/#concept-node-adopt) actually has `node` and `document` as its parameters - where `document` is the new document that we intend to adopt `node` into. We get `oldDocument` in that algorithm from `node`. However, the [adopting steps](https://dom.spec.whatwg.org/#concept-node-adopt-ext) is passed `node` and `oldDocument` - I wonder if we meant `document` instead of `oldDocument` here? Otherwise, I'm not sure how we can get the new document from within adopting steps. Noticed this while looking into [an issue](https://github.com/WICG/construct-stylesheets/issues/133#issuecomment-686429386) with constructed stylesheets. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/896
Received on Thursday, 24 September 2020 00:32:47 UTC