touchevents.html
branchv1
changeset 189 67417356ff2a
parent 188 3f81fed46a30
child 190 65365cf7ba57
equal deleted inserted replaced
188:3f81fed46a30 189:67417356ff2a
   167 
   167 
   168       <p>
   168       <p>
   169         A conforming implementation is required to implement all fields
   169         A conforming implementation is required to implement all fields
   170         defined in this specification.
   170         defined in this specification.
   171       </p>
   171       </p>
       
   172 
       
   173       <p>
       
   174         WindowProxy is defined in [[!HTML5]].
       
   175       </p>
   172     </section>
   176     </section>
   173 
   177 
   174     <section>
   178     <section>
   175       <h2><a>Touch</a> Interface</h2>
   179       <h2><a>Touch</a> Interface</h2>
   176       <p>
   180       <p>
   190           refer to it must assign it the same <a>identifier</a>.
   194           refer to it must assign it the same <a>identifier</a>.
   191         </dd>
   195         </dd>
   192 
   196 
   193         <dt>readonly attribute EventTarget target</dt>
   197         <dt>readonly attribute EventTarget target</dt>
   194         <dd>
   198         <dd>
   195           The <a>Element</a> on which the <a>touch point</a> started when it
   199           The <a>EventTarget</a> on which the <a>touch point</a> started when it
   196           was first placed on the surface, even if the <a>touch point</a> has
   200           was first placed on the surface, even if the <a>touch point</a> has
   197           since moved outside the interactive area of that element.
   201           since moved outside the interactive area of that element.
   198         </dd>
   202         </dd>
   199 
   203 
   200         <dt>readonly attribute long screenX</dt>
   204         <dt>readonly attribute long screenX</dt>
   241       <dl title='interface TouchList' class='idl'>
   245       <dl title='interface TouchList' class='idl'>
   242         <dt>readonly attribute unsigned long length</dt>
   246         <dt>readonly attribute unsigned long length</dt>
   243         <dd>
   247         <dd>
   244           returns the number of <a>Touch</a>es in the list
   248           returns the number of <a>Touch</a>es in the list
   245         </dd>
   249         </dd>
   246         <dt>getter <a>Touch</a> item (in unsigned long index)</dt>
   250         <dt>getter <a>Touch</a>? item (in unsigned long index)</dt>
   247         <dd>
   251         <dd>
   248           returns the <a>Touch</a> at the specified index in the list
   252           returns the <a>Touch</a> at the specified index in the list.
       
   253           The value of index must be in the range of zero to length-1;
       
   254           otherwise null is returned.
   249         </dd>
   255         </dd>
   250       </dl>
   256       </dl>
   251     </section>
   257     </section>
   252 
   258 
   253     <section>
   259     <section>
   594       <dl title='partial interface Document' class='idl'>
   600       <dl title='partial interface Document' class='idl'>
   595         <dt>Touch createTouch()</dt>
   601         <dt>Touch createTouch()</dt>
   596         <dd>
   602         <dd>
   597           Creates a <a>Touch</a> object with the specified attributes.
   603           Creates a <a>Touch</a> object with the specified attributes.
   598           <dl class='parameters'>
   604           <dl class='parameters'>
   599             <dt>AbstractView view</dt> <dd></dd>
   605             <dt>WindowProxy view</dt> <dd></dd>
   600             <dt>EventTarget target</dt> <dd></dd>
   606             <dt>EventTarget target</dt> <dd></dd>
   601             <dt>long identifier</dt> <dd></dd>
   607             <dt>long identifier</dt> <dd></dd>
   602             <dt>long pageX</dt> <dd></dd>
   608             <dt>long pageX</dt> <dd></dd>
   603             <dt>long pageY</dt> <dd></dd>
   609             <dt>long pageY</dt> <dd></dd>
   604             <dt>long screenX</dt> <dd></dd>
   610             <dt>long screenX</dt> <dd></dd>