aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/virtualmethods.rs
diff options
context:
space:
mode:
authorJonathan Schuster <jonathan.p.schuster@gmail.com>2016-02-13 14:22:10 -0500
committerJonathan Schuster <jonathan.p.schuster@gmail.com>2016-02-13 14:22:10 -0500
commit4bb5cd1285ebceb9d2baca432995ab8f09648ba3 (patch)
tree74776e46261526c6c02f54d24d2312cd8495c296 /components/script/dom/virtualmethods.rs
parent983e76af87cbc1553eae59b485ba1d9568a6da56 (diff)
downloadservo-4bb5cd1285ebceb9d2baca432995ab8f09648ba3.tar.gz
servo-4bb5cd1285ebceb9d2baca432995ab8f09648ba3.zip
Move comment about removing steps
Diffstat (limited to 'components/script/dom/virtualmethods.rs')
-rw-r--r--components/script/dom/virtualmethods.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/virtualmethods.rs b/components/script/dom/virtualmethods.rs
index 2e8391671a8..e3def582ae4 100644
--- a/components/script/dom/virtualmethods.rs
+++ b/components/script/dom/virtualmethods.rs
@@ -83,6 +83,8 @@ pub trait VirtualMethods {
/// Called when a Node is removed from a tree, where 'tree_in_doc'
/// indicates whether the tree is part of a Document.
+ /// Implements removing steps:
+ /// https://dom.spec.whatwg.org/#concept-node-remove-ext
fn unbind_from_tree(&self, context: &UnbindContext) {
if let Some(ref s) = self.super_type() {
s.unbind_from_tree(context);