Auto merge of #9025 - k-cross:master, r=nox

touchlist dom api #8225

Sorry for the wait, I just finished my finals.

Fixes #8225

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9025)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-12-21 01:19:41 +05:30
commit 5b91daa923
3 changed files with 7 additions and 13 deletions

View file

@ -1993,6 +1993,11 @@ impl DocumentMethods for Document {
pageY)
}
// https://w3c.github.io/touch-events/#idl-def-document-createtouchlist(touch...)
fn CreateTouchList(&self, touches: &[&Touch]) -> Root<TouchList> {
TouchList::new(&self.window, &touches)
}
// https://dom.spec.whatwg.org/#dom-document-createtreewalker
fn CreateTreeWalker(&self,
root: &Node,