diff options
Diffstat (limited to 'components/script/dom/nodelist.rs')
-rw-r--r-- | components/script/dom/nodelist.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/nodelist.rs b/components/script/dom/nodelist.rs index f879eb57c85..35ed6861459 100644 --- a/components/script/dom/nodelist.rs +++ b/components/script/dom/nodelist.rs @@ -73,6 +73,7 @@ impl<'a> NodeListMethods for &'a NodeList { } } + // https://dom.spec.whatwg.org/#dom-nodelist-item fn IndexedGetter(self, index: u32, found: &mut bool) -> Option<Root<Node>> { let item = self.Item(index); *found = item.is_some(); |