diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs index 497decca433..b48c29dd635 100644 --- a/components/script/dom/document.rs +++ b/components/script/dom/document.rs @@ -5743,8 +5743,7 @@ impl DocumentMethods for Document { self.window.upcast::().remove_all_listeners(); } - // Step 11 - // TODO: https://github.com/servo/servo/issues/21936 + // Step 11. Replace all with null within document. Node::replace_all(None, self.upcast::()); // Specs and tests are in a state of flux about whether