Skip to content

Commit aa42b9b

Browse files
saschanazsandersn
authored andcommitted
remove createTouch* APIs (#690)
1 parent da1f4df commit aa42b9b

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

baselines/dom.generated.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4630,8 +4630,6 @@ interface Document extends Node, NonElementParentNode, DocumentOrShadowRoot, Par
46304630
* @param data String that specifies the nodeValue property of the text node.
46314631
*/
46324632
createTextNode(data: string): Text;
4633-
createTouch(view: WindowProxy, target: EventTarget, identifier: number, pageX: number, pageY: number, screenX: number, screenY: number): Touch;
4634-
createTouchList(...touches: Touch[]): TouchList;
46354633
/**
46364634
* Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.
46374635
* @param root The root element or node to start traversing on.

inputfiles/idl/Touch Events.widl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,9 @@ interface TouchEvent : UIEvent {
6262
readonly attribute boolean shiftKey;
6363
};
6464

65-
partial interface GlobalEventHandlers {
65+
partial interface mixin GlobalEventHandlers {
6666
attribute EventHandler ontouchstart;
6767
attribute EventHandler ontouchend;
6868
attribute EventHandler ontouchmove;
6969
attribute EventHandler ontouchcancel;
7070
};
71-
72-
partial interface Document {
73-
// Deprecated in this specification
74-
Touch createTouch (WindowProxy view, EventTarget target, long identifier, double pageX, double pageY, double screenX, double screenY);
75-
// Deprecated in this specification
76-
TouchList createTouchList (Touch... touches);
77-
};

0 commit comments

Comments
 (0)