script: remove non-actionable todo from script/dom/document.rs (#35472)

Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
shanehandley 2025-02-15 14:55:53 +11:00 committed by GitHub
parent 453e4a81df
commit 3421185737
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5743,8 +5743,7 @@ impl DocumentMethods<crate::DomTypeHolder> for Document {
self.window.upcast::<EventTarget>().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::<Node>());
// Specs and tests are in a state of flux about whether