You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 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 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 with constructed stylesheets.
The text was updated successfully, but these errors were encountered:
By the time step 3.3 of adopt runs (that invokes adopting steps) the node's node document is the new document, right? I.e., you can obtain that from node.
The adopt actually has
node
anddocument
as its parameters - wheredocument
is the new document that we intend to adoptnode
into. We getoldDocument
in that algorithm fromnode
. However, the adopting steps is passednode
andoldDocument
- I wonder if we meantdocument
instead ofoldDocument
here? Otherwise, I'm not sure how we can get the new document from within adopting steps.Noticed this while looking into an issue with constructed stylesheets.
The text was updated successfully, but these errors were encountered: