Added legacy interface initTouchEvent · w3c/touch-events@50f51cc (original) (raw)
`@@ -803,16 +803,6 @@
Extensions to the Document
Interface
`
803
803
`
`
804
804
`
`
805
805
`
`
806
``
-
807
``
`-
`
808
``
`-
Some user agents implement an initTouchEvent
method as part of the
`
809
``
`-
TouchEvent
interface. When this method is available, scripts
`
810
``
`-
can use it to initialize the properties of a TouchEvent
object,
`
811
``
`-
including its TouchList
properties (which can be initialized
`
812
``
`-
with values returned from createTouchList
). The
`
813
``
`-
initTouchEvent
method is not standardized and is
`
814
``
`-
superseded by the TouchEvent
constructor.
`
815
``
`-
`
816
806
`
`
817
807
``
818
808
`
`
`@@ -949,6 +939,29 @@
Issues
`
949
939
`
`
950
940
`
`
951
941
``
``
942
`+
`
``
943
`+
Legacy Event Initializers
`
``
944
`+
`
``
945
`+
The following features are obsolete and should only be implemented by user agents that require compatibility with legacy software.
`
``
946
`+
`
``
947
+
``
948
`+
`
``
949
`+
Initializers for interface TouchEvent
`
``
950
`+
`
``
951
`+
The argument list to this legacy TouchEvent initializer includes 6 unused arguments
`
``
952
`+
which have no defined semantics and are only for compatibility with existing implementations.
`
``
953
`+
The initTouchEvent
method is superseded by the TouchEvent
constructor.
`
``
954
`+
`
``
955
`+
` `` `956` `+ partial interface TouchEvent { ` `` `957` `+ // Deprecated in this specification ` `` `958` `+ void initTouchEvent (DOMString type, boolean bubbles, boolean cancelable, Window? view, long detail, long unused1, long unused2, long unused3, long unused4, boolean ctrlKey, boolean altKey, boolean shiftKey, boolean metaKey, TouchList touches, TouchList targetTouches, TouchList changedTouches, float unused5, float unused6); ` `` `959` `+ }; ` `` `960` `+
`
``
961
`+
`
``
962
+
``
963
`+
`
``
964
+
952
965
`
`
953
966
`
Acknowledgements
`
954
967
`
`