mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
touchlist dom api #8225
This commit is contained in:
parent
f9141ef2db
commit
ae8d3f67c8
3 changed files with 7 additions and 13 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue