touchevents.html
branchv1
changeset 214 351dffeaeb4c
parent 212 4f579e1b7f99
child 221 ce06504ff2f5
equal deleted inserted replaced
212:4f579e1b7f99 214:351dffeaeb4c
    21           // if your specification has a subtitle that goes below the main
    21           // if your specification has a subtitle that goes below the main
    22           // formal title, define it here
    22           // formal title, define it here
    23           // subtitle   :  "an excellent document",
    23           // subtitle   :  "an excellent document",
    24 
    24 
    25           // if you wish the publication date to be other than today, set this
    25           // if you wish the publication date to be other than today, set this
    26           publishDate:  "2013-09-26",
    26           publishDate:  "2013-10-10",
    27 
    27 
    28           // if the specification's copyright date is a range of years, specify
    28           // if the specification's copyright date is a range of years, specify
    29           // the start date here:
    29           // the start date here:
    30           // copyrightStart: "2005"
    30           // copyrightStart: "2005"
    31 
    31 
   195         product: the <dfn id="dfn-user-agent">user agent</dfn> that implements
   195         product: the <dfn id="dfn-user-agent">user agent</dfn> that implements
   196         the interfaces that it contains.
   196         the interfaces that it contains.
   197       </p>
   197       </p>
   198 
   198 
   199       <p>
   199       <p>
   200         The IDL blocks in this specification are conforming IDL 
       
   201         fragments as defined by the WebIDL specification [[!WEBIDL]].
       
   202       </p>
       
   203 
       
   204       <p>
       
   205         A conforming implementation is required to implement all fields
       
   206         defined in this specification.
       
   207       </p>
       
   208 
       
   209       <p>
       
   210         WindowProxy is defined in [[!HTML5]].
   200         WindowProxy is defined in [[!HTML5]].
       
   201       </p>
       
   202 
       
   203 
       
   204         <h3 id="webidl-conform">WebIDL Conformance</h3>
       
   205         <p>
       
   206           The IDL blocks in this specification are conforming IDL 
       
   207           fragments as defined by the WebIDL specification [[!WEBIDL]].
       
   208         </p>
       
   209 
       
   210         <p>
       
   211           A conforming Web Events user agent must also be a <a href="http://www.w3.org/TR/WebIDL/#dfn-conforming-ECMAScript-implementation">conforming ECMAScript implementation</a> of this IDL fragments in this specification, with the following exception:</p>
       
   212 
       
   213         <ul>
       
   214           <li>
       
   215             <a href="http://www.w3.org/TR/WebIDL/#es-attributes">section 4.4.6
       
   216             of Web IDL</a> requires that IDL attributes are reflected as
       
   217             accessor properties on interface prototype objects.  Instead of
       
   218             this, the user agent may reflect IDL attributes as data properties
       
   219             on the platform objects that implement the relevant interface.
       
   220             These data properties must have the same behavior when getting and
       
   221             setting as would be exhibited when invoking the getter and setter
       
   222             of the accessor properties on the platform object.
       
   223           </li>
       
   224         </ul>
       
   225       <p>
       
   226         <strong>Note:</strong> Both ways of reflecting IDL attributes allow for simply getting and setting the property on the platform object to work.  For example, given a Touch object aTouch, evaluating aTouch.target would return the EventTarget for the Touch object.  If the user agent implements IDL attributes as accessor properties, then the property access invokes the getter which returns the EventTarget.  If the user agent implements IDL attributes as data properties on the platform object with the same behavior as would be found with the accessor properties, then the object would appear to have an own property named "target" whose value is an EventTarget object, and the property access would return this value.
   211       </p>
   227       </p>
   212     </section>
   228     </section>
   213 
   229 
   214     <section>
   230     <section>
   215       <h2><a>Touch</a> Interface</h2>
   231       <h2><a>Touch</a> Interface</h2>