Add spec links

This commit is contained in:
Bogdan Cuza 2015-07-21 18:53:01 +03:00 committed by Bogdan
parent f039827dcd
commit 233a769c67
61 changed files with 284 additions and 87 deletions

View file

@ -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();