aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/documentorshadowroot.rs
diff options
context:
space:
mode:
authorPatrick Shaughnessy <pshaughn@comcast.net>2020-01-22 15:50:21 -0500
committerPatrick Shaughnessy <pshaughn@comcast.net>2020-02-13 15:37:03 -0500
commite48eac6879add4512dd42cbed0216508ace2c31e (patch)
tree1a8af67ee342d8a95c7158255fec0353f676e04a /components/script/dom/documentorshadowroot.rs
parent4b750ca0d09701d84e9790925d63315e90dde24c (diff)
downloadservo-e48eac6879add4512dd42cbed0216508ace2c31e.tar.gz
servo-e48eac6879add4512dd42cbed0216508ace2c31e.zip
Doc named getter improvements
Diffstat (limited to 'components/script/dom/documentorshadowroot.rs')
-rw-r--r--components/script/dom/documentorshadowroot.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/documentorshadowroot.rs b/components/script/dom/documentorshadowroot.rs
index 724ea11da8c..5469287d87c 100644
--- a/components/script/dom/documentorshadowroot.rs
+++ b/components/script/dom/documentorshadowroot.rs
@@ -266,7 +266,7 @@ impl DocumentOrShadowRoot {
}
}
- /// Remove any existing association between the provided id and any elements in this document.
+ /// Remove any existing association between the provided id/name and any elements in this document.
pub fn unregister_named_element(
&self,
id_map: &DomRefCell<HashMap<Atom, Vec<Dom<Element>>>>,
@@ -294,7 +294,7 @@ impl DocumentOrShadowRoot {
}
}
- /// Associate an element present in this document with the provided id.
+ /// Associate an element present in this document with the provided id/name.
pub fn register_named_element(
&self,
id_map: &DomRefCell<HashMap<Atom, Vec<Dom<Element>>>>,