Issue-16: Specify that Touch/TouchList/TouchEvent objects are immutable. v1
authorMatt Brubeck <mbrubeck@mozilla.com>
Fri, 02 Sep 2011 16:05:23 -0700
branchv1
changeset 106 ede041c4799e
parent 104 01190a01b4cf
child 107 923f5ba58a22
Issue-16: Specify that Touch/TouchList/TouchEvent objects are immutable.
touchevents.html
--- a/touchevents.html	Fri Aug 12 13:53:33 2011 -0700
+++ b/touchevents.html	Fri Sep 02 16:05:23 2011 -0700
@@ -23,7 +23,7 @@
           // subtitle   :  "an excellent document",
 
           // if you wish the publication date to be other than today, set this
-          publishDate:  "2011-08-12",
+          publishDate:  "2011-09-02",
 
           // if the specification's copyright date is a range of years, specify
           // the start date here:
@@ -154,7 +154,8 @@
       <h2><a>Touch</a> Interface</h2>
       <p>
         This interface defines an individual point of contact for a touch
-        event.
+        event.  <a>Touch</a> objects are immutable; after one is created, its
+        attributes must not change.
       </p>
 
       <dl title='interface Touch' class='idl'>
@@ -205,7 +206,8 @@
       <h2><a>TouchList</a> Interface</h2>
       <p>
         This interface defines a list of individual points of contact for a
-        touch event.
+        touch event.  <a>TouchList</a> objects are immutable; after one is
+        created, its contents must not change.
       </p>
 
       <dl title='interface TouchList' class='idl'>
@@ -229,6 +231,8 @@
       <p>
         This interface defines the <a>touchstart</a>, <a>touchend</a>,
         <a>touchmove</a>, and <a>touchcancel</a> event types.
+        <a>TouchEvent</a> objects are immutable; after one is created and
+        initialized, its attributes must not change.
       </p>
 
       <dl title='interface TouchEvent : UIEvent' class='idl'>