touchevents.html
author Art Barstow <art.barstow@nokia.com>
Tue, 22 Jan 2013 14:19:34 -0500
branchwd
changeset 181 06545e9398a1
parent 89 e67b0a0fba5e
child 204 18427612773e
permissions -rw-r--r--
24-Jan-2013 LCWD with respec references resolved
4
dda9bf4072d0 testing hg with Murky
shepazu <schepers@w3.org>
parents:
diff changeset
     1
<!DOCTYPE html>
74
b1920268c222 Add language and viewport metadata.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 73
diff changeset
     2
<html lang="en">
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
     3
<head>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
     4
    <title>Touch Events version 1</title>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
     5
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
74
b1920268c222 Add language and viewport metadata.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 73
diff changeset
     6
    <meta name="viewport" content="width=device-width">
20
3a04fe9b8ef2 Clean up some trailing whitespace and old comments.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 19
diff changeset
     7
    <!--
4
dda9bf4072d0 testing hg with Murky
shepazu <schepers@w3.org>
parents:
diff changeset
     8
      === NOTA BENE ===
dda9bf4072d0 testing hg with Murky
shepazu <schepers@w3.org>
parents:
diff changeset
     9
      For the three scripts below, if your spec resides on dev.w3 you can check them
dda9bf4072d0 testing hg with Murky
shepazu <schepers@w3.org>
parents:
diff changeset
    10
      out in the same tree and use relative links so that they'll work offline,
dda9bf4072d0 testing hg with Murky
shepazu <schepers@w3.org>
parents:
diff changeset
    11
     -->
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    12
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    13
    
20
3a04fe9b8ef2 Clean up some trailing whitespace and old comments.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 19
diff changeset
    14
66
9555f231576e Fix another validation error.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 61
diff changeset
    15
    <style type="text/css">
9
8171bbe11ccc changed floats to longs; clarified definitions; added editors Moon, Brubeck; tidied ReSpec code; fixed credits; revised touchcancel event
shepazu <schepers@w3.org>
parents: 8
diff changeset
    16
      .event {
8171bbe11ccc changed floats to longs; clarified definitions; added editors Moon, Brubeck; tidied ReSpec code; fixed credits; revised touchcancel event
shepazu <schepers@w3.org>
parents: 8
diff changeset
    17
        font-family: monospace;
8171bbe11ccc changed floats to longs; clarified definitions; added editors Moon, Brubeck; tidied ReSpec code; fixed credits; revised touchcancel event
shepazu <schepers@w3.org>
parents: 8
diff changeset
    18
        color: #459900;
8171bbe11ccc changed floats to longs; clarified definitions; added editors Moon, Brubeck; tidied ReSpec code; fixed credits; revised touchcancel event
shepazu <schepers@w3.org>
parents: 8
diff changeset
    19
      }
23
4958878564b1 ISSUE-8: Add an initTouchEvent method.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 22
diff changeset
    20
4958878564b1 ISSUE-8: Add an initTouchEvent method.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 22
diff changeset
    21
      pre.idl {
4958878564b1 ISSUE-8: Add an initTouchEvent method.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 22
diff changeset
    22
        white-space: pre-wrap;
4958878564b1 ISSUE-8: Add an initTouchEvent method.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 22
diff changeset
    23
      }
9
8171bbe11ccc changed floats to longs; clarified definitions; added editors Moon, Brubeck; tidied ReSpec code; fixed credits; revised touchcancel event
shepazu <schepers@w3.org>
parents: 8
diff changeset
    24
    </style>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    25
  <style>/*****************************************************************
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    26
 * ReSpec 3 CSS
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    27
 * Robin Berjon - http://berjon.com/
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    28
 *****************************************************************/
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    29
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    30
/* --- INLINES --- */
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    31
em.rfc2119 { 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    32
    text-transform:     lowercase;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    33
    font-variant:       small-caps;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    34
    font-style:         normal;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    35
    color:              #900;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    36
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    37
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    38
h1 acronym, h2 acronym, h3 acronym, h4 acronym, h5 acronym, h6 acronym, a acronym,
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    39
h1 abbr, h2 abbr, h3 abbr, h4 abbr, h5 abbr, h6 abbr, a abbr {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    40
    border: none;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    41
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    42
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    43
dfn {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    44
    font-weight:    bold;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    45
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    46
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    47
a.internalDFN {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    48
    color:  inherit;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    49
    border-bottom:  1px solid #99c;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    50
    text-decoration:    none;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    51
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    52
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    53
a.externalDFN {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    54
    color:  inherit;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    55
    border-bottom:  1px dotted #ccc;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    56
    text-decoration:    none;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    57
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    58
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    59
a.bibref {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    60
    text-decoration:    none;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    61
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    62
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    63
cite .bibref {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    64
    font-style: normal;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    65
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    66
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    67
code {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    68
    color:  #ff4500;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    69
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    70
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    71
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    72
/* --- --- */
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    73
ol.algorithm { counter-reset:numsection; list-style-type: none; }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    74
ol.algorithm li { margin: 0.5em 0; }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    75
ol.algorithm li:before { font-weight: bold; counter-increment: numsection; content: counters(numsection, ".") ") "; }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    76
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    77
/* --- TOC --- */
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    78
.toc a, .tof a {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    79
    text-decoration:    none;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    80
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    81
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    82
a .secno, a .figno {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    83
    color:  #000;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    84
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    85
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    86
ul.tof, ol.tof {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    87
    list-style: none outside none;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    88
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    89
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    90
.caption {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    91
    margin-top: 0.5em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    92
    font-style:   italic;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    93
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    94
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    95
/* --- TABLE --- */
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    96
table.simple {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    97
    border-spacing: 0;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    98
    border-collapse:    collapse;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
    99
    border-bottom:  3px solid #005a9c;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   100
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   101
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   102
.simple th {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   103
    background: #005a9c;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   104
    color:  #fff;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   105
    padding:    3px 5px;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   106
    text-align: left;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   107
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   108
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   109
.simple th[scope="row"] {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   110
    background: inherit;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   111
    color:  inherit;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   112
    border-top: 1px solid #ddd;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   113
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   114
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   115
.simple td {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   116
    padding:    3px 10px;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   117
    border-top: 1px solid #ddd;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   118
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   119
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   120
.simple tr:nth-child(even) {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   121
    background: #f0f6ff;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   122
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   123
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   124
/* --- DL --- */
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   125
.section dd > p:first-child {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   126
    margin-top: 0;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   127
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   128
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   129
.section dd > p:last-child {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   130
    margin-bottom: 0;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   131
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   132
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   133
.section dd {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   134
    margin-bottom:  1em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   135
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   136
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   137
.section dl.attrs dd, .section dl.eldef dd {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   138
    margin-bottom:  0;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   139
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   140
</style><style>/* --- EXAMPLES --- */
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   141
div.example-title {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   142
    min-width: 7.5em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   143
    color: #b9ab2d;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   144
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   145
div.example-title span {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   146
    text-transform: uppercase;   
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   147
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   148
aside.example, div.example, div.illegal-example {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   149
    padding: 0.5em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   150
    margin: 1em 0;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   151
    position: relative;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   152
    clear: both;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   153
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   154
div.illegal-example { color: red }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   155
div.illegal-example p { color: black }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   156
aside.example, div.example {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   157
    padding: .5em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   158
    border-left-width: .5em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   159
    border-left-style: solid;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   160
    border-color: #e0cb52;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   161
    background: #fcfaee;    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   162
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   163
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   164
aside.example div.example {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   165
    border-left-width: .1em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   166
    border-color: #999;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   167
    background: #fff;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   168
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   169
aside.example div.example div.example-title {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   170
    color: #999;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   171
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   172
</style><style>/* --- ISSUES/NOTES --- */
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   173
div.issue-title, div.note-title {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   174
    padding-right:  1em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   175
    min-width: 7.5em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   176
    color: #b9ab2d;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   177
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   178
div.issue-title { color: #e05252; }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   179
div.note-title { color: #52e052; }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   180
div.issue-title span, div.note-title span {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   181
    text-transform: uppercase;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   182
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   183
div.note, div.issue {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   184
    margin-top: 1em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   185
    margin-bottom: 1em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   186
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   187
.note > p:first-child, .issue > p:first-child { margin-top: 0 }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   188
.issue, .note {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   189
    padding: .5em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   190
    border-left-width: .5em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   191
    border-left-style: solid;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   192
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   193
div.issue, div.note {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   194
    padding: 0.5em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   195
    margin: 1em 0;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   196
    position: relative;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   197
    clear: both;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   198
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   199
span.note, span.issue { padding: .1em .5em .15em; }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   200
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   201
.issue {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   202
    border-color: #e05252;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   203
    background: #fbe9e9;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   204
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   205
.note {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   206
    border-color: #52e052;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   207
    background: #e9fbe9;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   208
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   209
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   210
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   211
</style><style>/* --- WEB IDL --- */
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   212
pre.idl {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   213
    border-top: 1px solid #90b8de;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   214
    border-bottom: 1px solid #90b8de;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   215
    padding:    1em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   216
    line-height:    120%;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   217
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   218
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   219
pre.idl::before {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   220
    content:    "WebIDL";
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   221
    display:    block;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   222
    width:      150px;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   223
    background: #90b8de;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   224
    color:  #fff;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   225
    font-family:    initial;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   226
    padding:    3px;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   227
    font-weight:    bold;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   228
    margin: -1em 0 1em -1em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   229
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   230
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   231
.idlType {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   232
    color:  #ff4500;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   233
    font-weight:    bold;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   234
    text-decoration:    none;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   235
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   236
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   237
/*.idlModule*/
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   238
/*.idlModuleID*/
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   239
/*.idlInterface*/
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   240
.idlInterfaceID, .idlDictionaryID, .idlCallbackID, .idlEnumID {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   241
    font-weight:    bold;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   242
    color:  #005a9c;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   243
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   244
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   245
.idlSuperclass {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   246
    font-style: italic;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   247
    color:  #005a9c;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   248
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   249
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   250
/*.idlAttribute*/
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   251
.idlAttrType, .idlFieldType, .idlMemberType {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   252
    color:  #005a9c;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   253
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   254
.idlAttrName, .idlFieldName, .idlMemberName {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   255
    color:  #ff4500;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   256
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   257
.idlAttrName a, .idlFieldName a, .idlMemberName a {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   258
    color:  #ff4500;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   259
    border-bottom:  1px dotted #ff4500;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   260
    text-decoration: none;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   261
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   262
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   263
/*.idlMethod*/
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   264
.idlMethType, .idlCallbackType {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   265
    color:  #005a9c;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   266
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   267
.idlMethName {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   268
    color:  #ff4500;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   269
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   270
.idlMethName a {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   271
    color:  #ff4500;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   272
    border-bottom:  1px dotted #ff4500;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   273
    text-decoration: none;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   274
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   275
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   276
/*.idlParam*/
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   277
.idlParamType {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   278
    color:  #005a9c;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   279
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   280
.idlParamName, .idlDefaultValue {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   281
    font-style: italic;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   282
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   283
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   284
.extAttr {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   285
    color:  #666;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   286
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   287
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   288
/*.idlConst*/
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   289
.idlConstType {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   290
    color:  #005a9c;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   291
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   292
.idlConstName {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   293
    color:  #ff4500;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   294
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   295
.idlConstName a {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   296
    color:  #ff4500;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   297
    border-bottom:  1px dotted #ff4500;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   298
    text-decoration: none;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   299
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   300
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   301
/*.idlException*/
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   302
.idlExceptionID {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   303
    font-weight:    bold;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   304
    color:  #c00;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   305
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   306
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   307
.idlTypedefID, .idlTypedefType {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   308
    color:  #005a9c;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   309
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   310
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   311
.idlRaises, .idlRaises a.idlType, .idlRaises a.idlType code, .excName a, .excName a code {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   312
    color:  #c00;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   313
    font-weight:    normal;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   314
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   315
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   316
.excName a {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   317
    font-family:    monospace;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   318
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   319
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   320
.idlRaises a.idlType, .excName a.idlType {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   321
    border-bottom:  1px dotted #c00;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   322
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   323
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   324
.excGetSetTrue, .excGetSetFalse, .prmNullTrue, .prmNullFalse, .prmOptTrue, .prmOptFalse {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   325
    width:  45px;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   326
    text-align: center;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   327
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   328
.excGetSetTrue, .prmNullTrue, .prmOptTrue { color:  #0c0; }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   329
.excGetSetFalse, .prmNullFalse, .prmOptFalse { color:  #c00; }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   330
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   331
.idlImplements a {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   332
    font-weight:    bold;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   333
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   334
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   335
dl.attributes, dl.methods, dl.constants, dl.fields, dl.dictionary-members {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   336
    margin-left:    2em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   337
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   338
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   339
.attributes dt, .methods dt, .constants dt, .fields dt, .dictionary-members dt {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   340
    font-weight:    normal;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   341
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   342
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   343
.attributes dt code, .methods dt code, .constants dt code, .fields dt code, .dictionary-members dt code {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   344
    font-weight:    bold;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   345
    color:  #000;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   346
    font-family:    monospace;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   347
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   348
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   349
.attributes dt code, .fields dt code, .dictionary-members dt code {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   350
    background:  #ffffd2;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   351
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   352
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   353
.attributes dt .idlAttrType code, .fields dt .idlFieldType code, .dictionary-members dt .idlMemberType code {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   354
    color:  #005a9c;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   355
    background:  transparent;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   356
    font-family:    inherit;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   357
    font-weight:    normal;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   358
    font-style: italic;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   359
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   360
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   361
.methods dt code {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   362
    background:  #d9e6f8;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   363
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   364
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   365
.constants dt code {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   366
    background:  #ddffd2;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   367
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   368
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   369
.attributes dd, .methods dd, .constants dd, .fields dd, .dictionary-members dd {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   370
    margin-bottom:  1em;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   371
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   372
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   373
table.parameters, table.exceptions {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   374
    border-spacing: 0;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   375
    border-collapse:    collapse;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   376
    margin: 0.5em 0;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   377
    width:  100%;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   378
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   379
table.parameters { border-bottom:  1px solid #90b8de; }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   380
table.exceptions { border-bottom:  1px solid #deb890; }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   381
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   382
.parameters th, .exceptions th {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   383
    color:  #fff;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   384
    padding:    3px 5px;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   385
    text-align: left;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   386
    font-family:    initial;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   387
    font-weight:    normal;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   388
    text-shadow:    #666 1px 1px 0;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   389
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   390
.parameters th { background: #90b8de; }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   391
.exceptions th { background: #deb890; }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   392
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   393
.parameters td, .exceptions td {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   394
    padding:    3px 10px;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   395
    border-top: 1px solid #ddd;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   396
    vertical-align: top;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   397
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   398
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   399
.parameters tr:first-child td, .exceptions tr:first-child td {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   400
    border-top: none;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   401
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   402
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   403
.parameters td.prmName, .exceptions td.excName, .exceptions td.excCodeName {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   404
    width:  100px;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   405
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   406
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   407
.parameters td.prmType {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   408
    width:  120px;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   409
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   410
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   411
table.exceptions table {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   412
    border-spacing: 0;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   413
    border-collapse:    collapse;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   414
    width:  100%;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   415
}
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   416
</style><link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/W3C-WD"><!--[if lt IE 9]><script src='https://www.w3.org/2008/site/js/html5shiv.js'></script><![endif]--><!--[if lt IE 9]><script src='https://www.w3.org/2008/site/js/html5shiv.js'></script><![endif]--></head>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   417
  <body><div class="head">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   418
  <p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   419
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   420
      <a href="http://www.w3.org/"><img width="72" height="48" src="https://www.w3.org/Icons/w3c_home" alt="W3C"></a>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   421
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   422
  </p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   423
  <h1 class="title" id="title">Touch Events version 1</h1>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   424
  
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   425
  <h2 id="w3c-working-draft-24-january-2013"><abbr title="World Wide Web Consortium">W3C</abbr> Working Draft 24 January 2013</h2>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   426
  <dl>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   427
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   428
      <dt>This version:</dt>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   429
      <dd><a href="http://www.w3.org/TR/2013/WD-touch-events-20130124/">http://www.w3.org/TR/2013/WD-touch-events-20130124/</a></dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   430
      <dt>Latest published version:</dt>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   431
      <dd><a href="http://www.w3.org/TR/touch-events/">http://www.w3.org/TR/touch-events/</a></dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   432
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   433
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   434
      <dt>Latest editor's draft:</dt>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   435
      <dd><a href="http://dvcs.w3.org/hg/webevents/raw-file/v1/touchevents.html">http://dvcs.w3.org/hg/webevents/raw-file/v1/touchevents.html</a></dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   436
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   437
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   438
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   439
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   440
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   441
      <dt>Previous version:</dt>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   442
      <dd><a href="http://www.w3.org/TR/2011/CR-touch-events-20111215/">http://www.w3.org/TR/2011/CR-touch-events-20111215/</a></dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   443
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   444
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   445
    <dt>Editors:</dt>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   446
    <dd><a href="http://schepers.cc/">Doug Schepers</a>, <a href="http://w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a></dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   447
<dd><span>Sangwhan Moon</span>, <a href="http://www.opera.com/">Opera Software ASA</a></dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   448
<dd><a href="http://limpet.net/mbrubeck/">Matt Brubeck</a>, <a href="http://www.mozilla.org/">Mozilla</a></dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   449
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   450
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   451
  </dl>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   452
  
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   453
  
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   454
  
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   455
  
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   456
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   457
      <p class="copyright">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   458
        <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   459
        2013
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   460
        
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   461
        <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   462
        (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>,
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   463
        <a href="http://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>,
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   464
        <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   465
        <abbr title="World Wide Web Consortium">W3C</abbr> <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   466
        <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   467
        <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   468
      </p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   469
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   470
  
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   471
  <hr>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   472
</div>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   473
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   474
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   475
    <section id="abstract" class="introductory"><h2>Abstract</h2><p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   476
      The Touch Events specification defines a set of low-level events that
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   477
      represent one or more points of contact with a touch-sensitive surface,
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   478
      and changes of those points with respect to the surface and any DOM
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   479
      elements displayed upon it (e.g. for touch screens) or associated with it
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   480
      (e.g. for drawing tablets without displays).  It also addresses
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   481
      pen-tablet devices, such as drawing tablets, with consideration toward
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   482
      stylus capabilities.
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   483
    </p></section><section id="sotd" class="introductory"><h2>Status of This Document</h2>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   484
  
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   485
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   486
      
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   487
        <p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   488
          <em>This section describes the status of this document at the time of its publication. Other
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   489
          documents may supersede this document. A list of current <abbr title="World Wide Web Consortium">W3C</abbr> publications and the latest revision
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   490
          of this technical report can be found in the <a href="http://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> technical reports
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   491
          index</a> at http://www.w3.org/TR/.</em>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   492
        </p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   493
        
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   494
     This specification is the 24 January 2013 Last Call Working Draft. 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   495
     The comment period for this Last Call Working Draft ends 14 February 2013.
5
e4446bce8960 First draft, using WebKit model
shepazu <schepers@w3.org>
parents: 4
diff changeset
   496
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   497
     The <a href="http://www.w3.org/TR/2011/CR-touch-events-20111215/"> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   498
     15 December 2011 Candidate Recommendation</a> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   499
     was returned to Last Call Working Draft because of 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   500
     <a href="https://www.w3.org/2010/webevents/track/">issues</a> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   501
     found during the implementation and interoperability testing phases.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   502
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   503
     The WG will complete its
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   504
     <a href="http://w3c-test.org/webevents/tests/touch-events-v1/">test suite</a> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   505
     and two or more independent implementations must pass each test before 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   506
     the specification is published as a Proposed Recommendation. 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   507
     The group will also create an Implementation Report.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   508
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   509
        <p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   510
          This document was published by the <a href="http://www.w3.org/2010/webevents/">Web Events Working Group</a> as a Last Call Working Draft.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   511
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   512
            This document is intended to become a <abbr title="World Wide Web Consortium">W3C</abbr> Recommendation.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   513
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   514
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   515
          If you wish to make comments regarding this document, please send them to 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   516
          <a href="mailto:public-webevents@w3.org">public-webevents@w3.org</a> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   517
          (<a href="mailto:public-webevents-request@w3.org?subject=subscribe">subscribe</a>,
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   518
          <a href="http://lists.w3.org/Archives/Public/public-webevents/">archives</a>).
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   519
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   520
          The Last Call period ends 14 February 2013.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   521
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   522
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   523
        All comments are welcome.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   524
        
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   525
        
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   526
          </p><p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   527
            Publication as a Working Draft does not imply endorsement by the <abbr title="World Wide Web Consortium">W3C</abbr> Membership.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   528
            This is a draft document and may be updated, replaced or obsoleted by other documents at 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   529
            any time. It is inappropriate to cite this document as other than work in progress.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   530
          </p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   531
        
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   532
        
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   533
          <p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   534
            This is a Last Call Working Draft and thus the Working Group has determined that this document has satisfied the
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   535
            relevant technical requirements and is sufficiently stable to advance through the Technical Recommendation process.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   536
          </p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   537
        
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   538
        <p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   539
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   540
            This document was produced by a group operating under the 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   541
            <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 <abbr title="World Wide Web Consortium">W3C</abbr> Patent Policy</a>.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   542
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   543
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   544
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   545
            
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   546
              <abbr title="World Wide Web Consortium">W3C</abbr> maintains a <a href="http://www.w3.org/2004/01/pp-impl/45559/status" rel="disclosure">public list of any patent disclosures</a> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   547
            
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   548
            made in connection with the deliverables of the group; that page also includes instructions for 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   549
            disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   550
            <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   551
            information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   552
            6 of the <abbr title="World Wide Web Consortium">W3C</abbr> Patent Policy</a>.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   553
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   554
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   555
        </p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   556
        
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   557
      
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   558
    
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   559
  
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   560
</section><section id="toc"><h2 class="introductory">Table of Contents</h2><ul class="toc"><li class="tocline"><a href="#introduction" class="tocxref"><span class="secno">1. </span>Introduction</a></li><li class="tocline"><a href="#conformance" class="tocxref"><span class="secno">2. </span>Conformance</a></li><li class="tocline"><a href="#touch-interface" class="tocxref"><span class="secno">3. </span><span class="formerLink"><code>Touch</code></span> Interface</a><ul class="toc"><li class="tocline"><a href="#attributes" class="tocxref"><span class="secno">3.1 </span>Attributes</a></li></ul></li><li class="tocline"><a href="#touchlist-interface" class="tocxref"><span class="secno">4. </span><span class="formerLink"><code>TouchList</code></span> Interface</a><ul class="toc"><li class="tocline"><a href="#attributes-1" class="tocxref"><span class="secno">4.1 </span>Attributes</a></li><li class="tocline"><a href="#methods" class="tocxref"><span class="secno">4.2 </span>Methods</a></li></ul></li><li class="tocline"><a href="#touchevent-interface" class="tocxref"><span class="secno">5. </span><span class="formerLink"><code>TouchEvent</code></span> Interface</a><ul class="toc"><li class="tocline"><a href="#attributes-2" class="tocxref"><span class="secno">5.1 </span>Attributes</a></li><li class="tocline"><a href="#usage-examples" class="tocxref"><span class="secno">5.2 </span>Usage Examples</a><ul class="toc"><li class="tocline"><a href="#touches-and-targettouches-of-a-touchevent" class="tocxref"><span class="secno">5.2.1 </span>touches and targetTouches of a <span class="formerLink"><code>TouchEvent</code></span></a></li><li class="tocline"><a href="#changedtouches-of-a-touchevent" class="tocxref"><span class="secno">5.2.2 </span>changedTouches of a <span class="formerLink"><code>TouchEvent</code></span></a></li></ul></li><li class="tocline"><a href="#list-of-touchevent-types" class="tocxref"><span class="secno">5.3 </span>List of <span class="formerLink"><code>TouchEvent</code></span> types</a></li><li class="tocline"><a href="#the-touchstart-event" class="tocxref"><span class="secno">5.4 </span>The <span class="event">touchstart</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   561
        event</a></li><li class="tocline"><a href="#the-touchend-event" class="tocxref"><span class="secno">5.5 </span>The <span class="event">touchend</span> event</a></li><li class="tocline"><a href="#the-touchmove-event" class="tocxref"><span class="secno">5.6 </span>The <span class="event">touchmove</span> event</a></li><li class="tocline"><a href="#the-touchcancel-event" class="tocxref"><span class="secno">5.7 </span>The <span class="event">touchcancel</span> event</a></li></ul></li><li class="tocline"><a href="#extensions-to-the-document-interface" class="tocxref"><span class="secno">6. </span>Extensions to the <span class="formerLink"><code>Document</code></span> Interface</a><ul class="toc"><li class="tocline"><a href="#methods-1" class="tocxref"><span class="secno">6.1 </span>Methods</a></li></ul></li><li class="tocline"><a href="#mouse-events" class="tocxref"><span class="secno">7. </span>Interaction with Mouse Events</a></li><li class="tocline"><a href="#glossary" class="tocxref"><span class="secno">8. </span>Glossary</a></li><li class="tocline"><a href="#issues" class="tocxref"><span class="secno">9. </span>Issues</a></li><li class="tocline"><a href="#acknowledgements" class="tocxref"><span class="secno">A. </span>Acknowledgements</a></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">B. </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">B.1 </span>Normative references</a></li></ul></li></ul></section>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   562
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   563
    <section id="introduction" class="informative">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   564
      <!--OddPage--><h2><span class="secno">1. </span>Introduction</h2><p><em>This section is non-normative.</em></p>
81
e5b2d26a6892 Corrected changes clobbered due to mistake
Sangwhan Moon <smoon@opera.com>
parents: 80
diff changeset
   565
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   566
      <p>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   567
        User Agents that run on terminals which provide touch input to use web
87
4b363819e79b Edits to the introduction
Josh Soref <josh.soref@nokia.com>
parents: 86
diff changeset
   568
        applications typically use interpreted mouse events to allow users
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   569
        to access interactive web applications. However, these interpreted
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   570
        events, being normalized data based on the physical touch input, tend
87
4b363819e79b Edits to the introduction
Josh Soref <josh.soref@nokia.com>
parents: 86
diff changeset
   571
        to have limitations on delivering the intended user experience.
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   572
        Additionally, it is not possible to handle concurrent input regardless
87
4b363819e79b Edits to the introduction
Josh Soref <josh.soref@nokia.com>
parents: 86
diff changeset
   573
        of device capability, due to constraints of mouse events: both
4b363819e79b Edits to the introduction
Josh Soref <josh.soref@nokia.com>
parents: 86
diff changeset
   574
        system level limitations and legacy compatibility.
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   575
      </p>
81
e5b2d26a6892 Corrected changes clobbered due to mistake
Sangwhan Moon <smoon@opera.com>
parents: 80
diff changeset
   576
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   577
      <p>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   578
        Meanwhile, native applications are capable of handling both cases with
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   579
        the provided system APIs.
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   580
      </p>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   581
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   582
      <p>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   583
        The Touch Events specification provides a solution to this problem by
86
653218ffd9c4 spelling fixes
Josh Soref <josh.soref@nokia.com>
parents: 85
diff changeset
   584
        specifying interfaces to allow web applications to directly handle touch
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   585
        events, and multiple touch points for capable devices.
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   586
      </p>
81
e5b2d26a6892 Corrected changes clobbered due to mistake
Sangwhan Moon <smoon@opera.com>
parents: 80
diff changeset
   587
    </section>
e5b2d26a6892 Corrected changes clobbered due to mistake
Sangwhan Moon <smoon@opera.com>
parents: 80
diff changeset
   588
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   589
    <section id="conformance"><!--OddPage--><h2><span class="secno">2. </span>Conformance</h2>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   590
<p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   591
  As well as sections marked as non-normative, all authoring guidelines, diagrams, examples,
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   592
  and notes in this specification are non-normative. Everything else in this specification is
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   593
  normative.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   594
</p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   595
<p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   596
  The key words <em class="rfc2119" title="must">must</em>, <em class="rfc2119" title="must not">must not</em>, <em class="rfc2119" title="required">required</em>, <em class="rfc2119" title="should">should</em>, <em class="rfc2119" title="should not">should not</em>, <em class="rfc2119" title="recommended">recommended</em>, <em class="rfc2119" title="may">may</em>,
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   597
  and <em class="rfc2119" title="optional">optional</em> in this specification are to be interpreted as described in [<cite><a class="bibref" href="#bib-RFC2119">RFC2119</a></cite>].
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   598
</p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   599
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   600
      <p>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   601
        This specification defines conformance criteria that apply to a single
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   602
        product: the <dfn id="dfn-user-agent">user agent</dfn> that implements
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   603
        the interfaces that it contains.
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   604
      </p>
28
4cbcb68446b5 First draft of a Conformance section based on the DAP WG's Contacts API:
Art Barstow <art.barstow@nokia.com>
parents: 27
diff changeset
   605
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   606
      <p>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   607
        Implementations that use ECMAScript to implement the APIs defined in
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   608
        this specification must implement them in a manner consistent with the
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   609
        ECMAScript Bindings defined in the Web IDL specification [<cite><a class="bibref" href="#bib-WEBIDL">WEBIDL</a></cite>] as
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   610
        this specification uses that specification and terminology.
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   611
      </p>
28
4cbcb68446b5 First draft of a Conformance section based on the DAP WG's Contacts API:
Art Barstow <art.barstow@nokia.com>
parents: 27
diff changeset
   612
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   613
      <p>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   614
        A conforming implementation is required to implement all fields
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   615
        defined in this specification.
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   616
      </p>
28
4cbcb68446b5 First draft of a Conformance section based on the DAP WG's Contacts API:
Art Barstow <art.barstow@nokia.com>
parents: 27
diff changeset
   617
    </section>
20
3a04fe9b8ef2 Clean up some trailing whitespace and old comments.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 19
diff changeset
   618
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   619
    <section id="touch-interface">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   620
      <!--OddPage--><h2><span class="secno">3. </span><a href="#idl-def-Touch" class="idlType"><code>Touch</code></a> Interface</h2>
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   621
      <p>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   622
        This interface describes an individual <a href="#dfn-touch-point" class="internalDFN">touch point</a> for a touch
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   623
        event.  <a href="#idl-def-Touch" class="idlType"><code>Touch</code></a> objects are immutable; after one is created, its
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   624
        attributes must not change.
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   625
      </p>
20
3a04fe9b8ef2 Clean up some trailing whitespace and old comments.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 19
diff changeset
   626
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   627
      <pre class="idl"><span class="idlInterface" id="idl-def-Touch">interface <span class="idlInterfaceID">Touch</span> {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   628
<span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a>long</a></span>        <span class="idlAttrName"><a href="#widl-Touch-identifier">identifier</a></span>;</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   629
<span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a>EventTarget</a></span> <span class="idlAttrName"><a href="#widl-Touch-target">target</a></span>;</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   630
<span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a>long</a></span>        <span class="idlAttrName"><a href="#widl-Touch-screenX">screenX</a></span>;</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   631
<span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a>long</a></span>        <span class="idlAttrName"><a href="#widl-Touch-screenY">screenY</a></span>;</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   632
<span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a>long</a></span>        <span class="idlAttrName"><a href="#widl-Touch-clientX">clientX</a></span>;</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   633
<span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a>long</a></span>        <span class="idlAttrName"><a href="#widl-Touch-clientY">clientY</a></span>;</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   634
<span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a>long</a></span>        <span class="idlAttrName"><a href="#widl-Touch-pageX">pageX</a></span>;</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   635
<span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a>long</a></span>        <span class="idlAttrName"><a href="#widl-Touch-pageY">pageY</a></span>;</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   636
};</span></pre><section id="attributes"><h3><span class="secno">3.1 </span>Attributes</h3><dl class="attributes"><dt id="widl-Touch-clientX"><code>clientX</code> of type <span class="idlAttrType"><a>long</a></span>, readonly</dt><dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   637
          The horizontal coordinate of point relative to the viewport in pixels,
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   638
          excluding any scroll offset
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   639
        </dd><dt id="widl-Touch-clientY"><code>clientY</code> of type <span class="idlAttrType"><a>long</a></span>, readonly</dt><dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   640
          The vertical coordinate of point relative to the viewport in pixels,
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   641
          excluding any scroll offset
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   642
        </dd><dt id="widl-Touch-identifier"><code>identifier</code> of type <span class="idlAttrType"><a>long</a></span>, readonly</dt><dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   643
          An identification number for each <a href="#dfn-touch-point" class="internalDFN">touch point</a>.
4
dda9bf4072d0 testing hg with Murky
shepazu <schepers@w3.org>
parents:
diff changeset
   644
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   645
          When a touch point becomes active, it must be assigned an
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   646
          <a>identifier</a> that is distinct from any other <a href="#dfn-active-touch-point" class="internalDFN">active touch
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   647
          point</a>.  While the touch point remains active, all events that
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   648
          refer to it must assign it the same <a>identifier</a>.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   649
        </dd><dt id="widl-Touch-pageX"><code>pageX</code> of type <span class="idlAttrType"><a>long</a></span>, readonly</dt><dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   650
          The horizontal coordinate of point relative to the viewport in pixels,
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   651
          including any scroll offset
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   652
        </dd><dt id="widl-Touch-pageY"><code>pageY</code> of type <span class="idlAttrType"><a>long</a></span>, readonly</dt><dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   653
          The vertical coordinate of point relative to the viewport in pixels,
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   654
          including any scroll offset
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   655
        </dd><dt id="widl-Touch-screenX"><code>screenX</code> of type <span class="idlAttrType"><a>long</a></span>, readonly</dt><dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   656
          The horizontal coordinate of point relative to the screen in pixels
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   657
        </dd><dt id="widl-Touch-screenY"><code>screenY</code> of type <span class="idlAttrType"><a>long</a></span>, readonly</dt><dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   658
          The vertical coordinate of point relative to the screen in pixels
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   659
        </dd><dt id="widl-Touch-target"><code>target</code> of type <span class="idlAttrType"><a>EventTarget</a></span>, readonly</dt><dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   660
          The <a>Element</a> on which the <a href="#dfn-touch-point" class="internalDFN">touch point</a> started when it
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   661
          was first placed on the surface, even if the <a href="#dfn-touch-point" class="internalDFN">touch point</a> has
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   662
          since moved outside the interactive area of that element.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   663
        </dd></dl></section>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   664
    </section>
5
e4446bce8960 First draft, using WebKit model
shepazu <schepers@w3.org>
parents: 4
diff changeset
   665
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   666
    <section id="touchlist-interface">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   667
      <!--OddPage--><h2><span class="secno">4. </span><a href="#idl-def-TouchList" class="idlType"><code>TouchList</code></a> Interface</h2>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   668
      <p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   669
        This interface defines a list of individual points of contact for a
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   670
        touch event.  <a href="#idl-def-TouchList" class="idlType"><code>TouchList</code></a> objects are immutable; after one is
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   671
        created, its contents must not change.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   672
      </p>
6
83ce29dff849 changed cx/cy to rx/ry, defined units for both; added key modifier attributes; changed identifier to float
shepazu <schepers@w3.org>
parents: 5
diff changeset
   673
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   674
      <pre class="idl"><span class="idlInterface" id="idl-def-TouchList">interface <span class="idlInterfaceID">TouchList</span> {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   675
<span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a>unsigned long</a></span> <span class="idlAttrName"><a href="#widl-TouchList-length">length</a></span>;</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   676
<span class="idlMethod">    <span class="idlMethType"><a>getter Touch</a></span> <span class="idlMethName"><a href="#widl-TouchList-item-getter-Touch-unsigned-long-index">item</a></span> (<span class="idlParam"><span class="idlParamType"><a>unsigned long</a></span> <span class="idlParamName">index</span></span>);</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   677
};</span></pre><section id="attributes-1"><h3><span class="secno">4.1 </span>Attributes</h3><dl class="attributes"><dt id="widl-TouchList-length"><code>length</code> of type <span class="idlAttrType"><a>unsigned long</a></span>, readonly</dt><dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   678
          returns the number of <a href="#idl-def-Touch" class="idlType"><code>Touch</code></a>es in the list
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   679
        </dd></dl></section><section id="methods"><h3><span class="secno">4.2 </span>Methods</h3><dl class="methods"><dt id="widl-TouchList-item-getter-Touch-unsigned-long-index"><code>item</code></dt><dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   680
          returns the <a href="#idl-def-Touch" class="idlType"><code>Touch</code></a> at the specified index in the list
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   681
        <table class="parameters"><tr><th>Parameter</th><th>Type</th><th>Nullable</th><th>Optional</th><th>Description</th></tr><tr><td class="prmName">index</td><td class="prmType"><code><a>unsigned long</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr></table><div><em>Return type: </em><code><a>getter Touch</a></code></div></dd></dl></section>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   682
    </section>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   683
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   684
    <section id="touchevent-interface">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   685
      <!--OddPage--><h2><span class="secno">5. </span><a href="#idl-def-TouchEvent" class="idlType"><code>TouchEvent</code></a> Interface</h2>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   686
      <p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   687
        This interface defines the <a href="#dfn-touchstart" class="internalDFN">touchstart</a>, <a href="#dfn-touchend" class="internalDFN">touchend</a>,
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   688
        <a href="#dfn-touchmove" class="internalDFN">touchmove</a>, and <a href="#dfn-touchcancel" class="internalDFN">touchcancel</a> event types.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   689
        <a href="#idl-def-TouchEvent" class="idlType"><code>TouchEvent</code></a> objects are immutable; after one is created and
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   690
        initialized, its attributes must not change.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   691
      </p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   692
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   693
      <pre class="idl"><span class="idlInterface" id="idl-def-TouchEvent">interface <span class="idlInterfaceID">TouchEvent</span> : <span class="idlSuperclass"><a>UIEvent</a></span> {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   694
<span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a href="#idl-def-TouchList" class="idlType"><code>TouchList</code></a></span> <span class="idlAttrName"><a href="#widl-TouchEvent-touches">touches</a></span>;</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   695
<span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a href="#idl-def-TouchList" class="idlType"><code>TouchList</code></a></span> <span class="idlAttrName"><a href="#widl-TouchEvent-targetTouches">targetTouches</a></span>;</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   696
<span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a href="#idl-def-TouchList" class="idlType"><code>TouchList</code></a></span> <span class="idlAttrName"><a href="#widl-TouchEvent-changedTouches">changedTouches</a></span>;</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   697
<span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a>boolean</a></span>   <span class="idlAttrName"><a href="#widl-TouchEvent-altKey">altKey</a></span>;</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   698
<span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a>boolean</a></span>   <span class="idlAttrName"><a href="#widl-TouchEvent-metaKey">metaKey</a></span>;</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   699
<span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a>boolean</a></span>   <span class="idlAttrName"><a href="#widl-TouchEvent-ctrlKey">ctrlKey</a></span>;</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   700
<span class="idlAttribute">    readonly attribute <span class="idlAttrType"><a>boolean</a></span>   <span class="idlAttrName"><a href="#widl-TouchEvent-shiftKey">shiftKey</a></span>;</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   701
};</span></pre><section id="attributes-2"><h3><span class="secno">5.1 </span>Attributes</h3><dl class="attributes"><dt id="widl-TouchEvent-altKey"><code>altKey</code> of type <span class="idlAttrType"><a>boolean</a></span>, readonly</dt><dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   702
          <code>true</code> if the alt (Alternate) key modifier is activated;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   703
          otherwise <code>false</code>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   704
        </dd><dt id="widl-TouchEvent-changedTouches"><code>changedTouches</code> of type <span class="idlAttrType"><a href="#idl-def-TouchList" class="idlType"><code>TouchList</code></a></span>, readonly</dt><dd>
32
f1cd4dbbd6f8 Wrap these lines to 80 characters.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 31
diff changeset
   705
          <p>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   706
            a list of <a href="#idl-def-Touch" class="idlType"><code>Touch</code></a>es for every point of contact which contributed
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   707
            to the event.
32
f1cd4dbbd6f8 Wrap these lines to 80 characters.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 31
diff changeset
   708
          </p>
f1cd4dbbd6f8 Wrap these lines to 80 characters.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 31
diff changeset
   709
          <p>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   710
            For the <a href="#dfn-touchstart" class="internalDFN">touchstart</a> event this must be a list of the touch
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   711
            points that just became active with the current event.  For the
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   712
            <a href="#dfn-touchmove" class="internalDFN">touchmove</a> event this must be a list of the touch points that
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   713
            have moved since the last event.  For the <a href="#dfn-touchend" class="internalDFN">touchend</a> and 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   714
			<a href="#dfn-touchcancel" class="internalDFN">touchcancel</a> events this must be a list of the touch points 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   715
			that have just been removed from the surface.
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   716
          </p>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   717
        </dd><dt id="widl-TouchEvent-ctrlKey"><code>ctrlKey</code> of type <span class="idlAttrType"><a>boolean</a></span>, readonly</dt><dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   718
          <code>true</code> if the ctrl (Control) key modifier is activated;
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   719
          otherwise <code>false</code>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   720
        </dd><dt id="widl-TouchEvent-metaKey"><code>metaKey</code> of type <span class="idlAttrType"><a>boolean</a></span>, readonly</dt><dd>
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   721
          <code>true</code> if the meta (Meta) key modifier is activated;
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   722
          otherwise <code>false</code>.  On some platforms this attribute may
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   723
          map to a differently-named key modifier.
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   724
        </dd><dt id="widl-TouchEvent-shiftKey"><code>shiftKey</code> of type <span class="idlAttrType"><a>boolean</a></span>, readonly</dt><dd>
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   725
          <code>true</code> if the shift (Shift) key modifier is activated;
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   726
          otherwise <code>false</code>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   727
        </dd><dt id="widl-TouchEvent-targetTouches"><code>targetTouches</code> of type <span class="idlAttrType"><a href="#idl-def-TouchList" class="idlType"><code>TouchList</code></a></span>, readonly</dt><dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   728
          a list of <a href="#idl-def-Touch" class="idlType"><code>Touch</code></a>es for every point of contact that is touching
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   729
          the surface <em>and</em> started on the element that is the
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   730
          <a>target</a> of the current event.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   731
        </dd><dt id="widl-TouchEvent-touches"><code>touches</code> of type <span class="idlAttrType"><a href="#idl-def-TouchList" class="idlType"><code>TouchList</code></a></span>, readonly</dt><dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   732
          a list of <a href="#idl-def-Touch" class="idlType"><code>Touch</code></a>es for every point of contact currently
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   733
          touching the surface.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   734
        </dd></dl></section>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   735
      
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   736
      <section class="informative" id="usage-examples">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   737
          <h3><span class="secno">5.2 </span>Usage Examples</h3><p><em>This section is non-normative.</em></p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   738
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   739
          <p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   740
            The examples below demonstrate the relations between the different
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   741
            <a href="#idl-def-TouchList" class="idlType"><code>TouchList</code></a> members defined in a <a href="#idl-def-TouchEvent" class="idlType"><code>TouchEvent</code></a>.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   742
          </p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   743
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   744
          <section id="touches-and-targettouches-of-a-touchevent">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   745
              <h4><span class="secno">5.2.1 </span>touches and targetTouches of a <a href="#idl-def-TouchEvent" class="idlType"><code>TouchEvent</code></a></h4><p><em>This section is non-normative.</em></p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   746
              
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   747
              <p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   748
                This example demonstrates the utility and relations between the
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   749
                touches and targetTouches members defined in the <a href="#idl-def-TouchEvent" class="idlType"><code>TouchEvent</code></a>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   750
                interface. The following code will generate different output based
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   751
                on the number of touch points on the touchable element and the document:
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   752
              </p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   753
      
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   754
              <div class="example"><div class="example-title"><span>Example 1</span></div><pre class="example">&lt;div id='touchable'&gt;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   755
    This element is touchable.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   756
&lt;/div&gt;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   757
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   758
document.getElementById('touchable').addEventListener('touchstart', function(ev) {
30
795c0f6c44e7 ISSUE-12: altKey/ctrlKey/etc. should be attributes of TouchEvent, not TouchPoint
Matt Brubeck <mbrubeck@mozilla.com>
parents: 29
diff changeset
   759
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   760
    if (ev.touches.item(0) == ev.targetTouches.item(0))
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   761
    {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   762
        /**
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   763
         * If the first touch on the surface is also targeting the
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   764
         * "touchable" element, the code below should execute.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   765
         * Since targetTouches is a subset of touches which covers the
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   766
         * entire surface, TouchEvent.touches &gt;= TouchEvents.targetTouches
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   767
         * is always true.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   768
         */
8
3349d49e5f46 added force attribute; added issues around InkML, units, preventDefault(), timestamp
shepazu <schepers@w3.org>
parents: 7
diff changeset
   769
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   770
        document.write('Hello Touch Events!');
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   771
    }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   772
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   773
    if (ev.touches.length == ev.targetTouches.length)
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   774
    {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   775
        /**
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   776
         * If all of the active touch points are on the "touchable"
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   777
         * element, the length properties should be the same.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   778
         */
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   779
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   780
        document.write('All points are on target element')
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   781
    }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   782
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   783
    if (ev.touches.length &gt; 1)
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   784
    {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   785
        /**
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   786
         * On a single touch input device, there can only be one point
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   787
         * of contact on the surface, so the following code can only
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   788
         * execute when the terminal supports multiple touches.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   789
         */
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   790
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   791
        document.write('Hello Multiple Touch!');
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   792
    }
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   793
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   794
}, false);</pre></div>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   795
          </section>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   796
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   797
          <section id="changedtouches-of-a-touchevent">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   798
              <h4><span class="secno">5.2.2 </span>changedTouches of a <a href="#idl-def-TouchEvent" class="idlType"><code>TouchEvent</code></a></h4>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   799
              
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   800
              <p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   801
                This example demonstrates the utility of changedTouches and it's relation
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   802
                with the other <a href="#idl-def-TouchList" class="idlType"><code>TouchList</code></a> members of the <a href="#idl-def-TouchEvent" class="idlType"><code>TouchEvent</code></a> interface.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   803
                The code is a example which triggers whenever a touch point is removed
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   804
                from the defined touchable element:
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   805
              </p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   806
              
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   807
              <div class="example"><div class="example-title"><span>Example 2</span></div><pre class="example">&lt;div id='touchable'&gt;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   808
    This element is touchable.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   809
&lt;/div&gt;
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   810
              
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   811
document.getElementById('touchable').addEventListener('touchend', function(ev) {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   812
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   813
    /**
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   814
     * Example output when three touch points are on the surface,
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   815
     * two of them being on the "touchable" element and one point
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   816
     * in the "touchable" element is lifted from the surface:
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   817
     *
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   818
     * Touch points removed: 1
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   819
     * Touch points left on element: 1
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   820
     * Touch points left on document: 2
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   821
     */
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   822
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   823
    document.write('Removed: ' + ev.changedTouches.length);
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   824
    document.write('Remaining on element: ' + ev.targetTouches.length);
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   825
    document.write('Remaining on document: ' + ev.touches.length);
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   826
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   827
}, false);</pre></div>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   828
          </section>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   829
              
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   830
      </section>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   831
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   832
      <section class="informative" id="list-of-touchevent-types">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   833
          <h3><span class="secno">5.3 </span>List of <a href="#idl-def-TouchEvent" class="idlType"><code>TouchEvent</code></a> types</h3><p><em>This section is non-normative.</em></p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   834
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   835
          <p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   836
            The following table provides a summary of the types of possible
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   837
            <a href="#idl-def-TouchEvent" class="idlType"><code>TouchEvent</code></a> types defined in this specification. All events
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   838
            should accomplish the bubbling phase. Some events are not cancelable
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   839
            (see <a href="#dfn-preventdefault" class="internalDFN">preventDefault</a>).
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   840
          </p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   841
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   842
          <!--
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   843
          // FIXME: As of the time of writing, respec.js doesn't have support for
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   844
          // tables like this - we're just piggybacking on a existing class, with
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   845
          // raw markup as a quick and dirty workaround.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   846
          -->
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   847
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   848
          <table class="parameters" id="table-event-summary">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   849
          <tbody><tr>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   850
              <th>Event Type</th>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   851
              <th>Sync / Async</th>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   852
              <th>Bubbling phase</th>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   853
              <th>Trusted proximal event target types</th>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   854
              <th>DOM interface</th>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   855
              <th>Cancelable</th>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   856
              <th>Default Action</th>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   857
          </tr>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   858
          <tr> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   859
              <td><a href="#dfn-touchstart" class="internalDFN">touchstart</a></td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   860
              <td>Sync</td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   861
              <td>Yes</td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   862
              <td><code>Document, Element</code></td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   863
              <td><a href="#idl-def-TouchEvent" class="idlType"><code>TouchEvent</code></a></td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   864
              <td>Yes</td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   865
              <td>undefined</td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   866
          </tr>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   867
          <tr> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   868
              <td><a href="#dfn-touchend" class="internalDFN">touchend</a></td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   869
              <td>Sync</td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   870
              <td>Yes</td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   871
              <td><code>Document, Element</code></td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   872
              <td><a href="#idl-def-TouchEvent" class="idlType"><code>TouchEvent</code></a></td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   873
              <td>Yes</td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   874
              <td>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   875
                Varies: mousemove (If point has been moved), mousedown, 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   876
                mouseup, click
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   877
              </td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   878
          </tr>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   879
          <tr> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   880
              <td><a href="#dfn-touchmove" class="internalDFN">touchmove</a></td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   881
              <td>Sync</td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   882
              <td>Yes</td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   883
              <td><code>Document, Element</code></td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   884
              <td><a href="#idl-def-TouchEvent" class="idlType"><code>TouchEvent</code></a></td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   885
              <td>Yes</td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   886
              <td>undefined</td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   887
          </tr>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   888
          <tr> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   889
              <td><a href="#dfn-touchcancel" class="internalDFN">touchcancel</a></td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   890
              <td>Sync</td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   891
              <td>Yes</td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   892
              <td><code>Document, Element</code></td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   893
              <td><a href="#idl-def-TouchEvent" class="idlType"><code>TouchEvent</code></a></td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   894
              <td>No</td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   895
              <td>none</td> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   896
          </tr>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   897
          </tbody></table>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   898
      </section>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   899
 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   900
      <section id="the-touchstart-event">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   901
        <h3 id="event-touchstart"><span class="secno">5.4 </span>The <dfn class="event" id="dfn-touchstart">touchstart</dfn>
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   902
        event</h3>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   903
        <p>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   904
          A user agent must dispatch this event type to indicate when the user
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   905
          places a <a href="#dfn-touch-point" class="internalDFN">touch point</a> on the touch surface.
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   906
        </p>
55
7df98116715b Clarify targeting of touchmove and touchend events, and add tests.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 54
diff changeset
   907
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   908
        <p>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   909
          The target of this event must be an <a>Element</a>.  If the touch
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   910
          point is within a frame, the event should be dispatched to an element
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   911
          in the <a>child browsing context</a> of that frame.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   912
        </p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   913
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   914
        <p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   915
          If the <a href="#dfn-preventdefault" class="internalDFN">preventDefault</a> method is called on this event, it
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   916
          should prevent any default actions caused by any touch events
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   917
          associated with the same <a href="#dfn-active-touch-point" class="internalDFN">active touch point</a>, including mouse
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   918
          events or scrolling.
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   919
        </p>
5
e4446bce8960 First draft, using WebKit model
shepazu <schepers@w3.org>
parents: 4
diff changeset
   920
      </section>
20
3a04fe9b8ef2 Clean up some trailing whitespace and old comments.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 19
diff changeset
   921
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   922
      <section id="the-touchend-event">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   923
        <h3 id="event-touchend"><span class="secno">5.5 </span>The <dfn class="event" id="dfn-touchend">touchend</dfn> event</h3>
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   924
        <p>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   925
          A user agent must dispatch this event type to indicate when the user
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   926
          removes a <a href="#dfn-touch-point" class="internalDFN">touch point</a> from the touch surface, also including
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   927
          cases where the touch point physically leaves the touch surface, such
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   928
          as being dragged off of the screen.
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   929
        </p>
54
be35b766b5ef Wrap some text to 80 characters.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 53
diff changeset
   930
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   931
        <p>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   932
          The <a>target</a> of this event must be the same <a>Element</a> on 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   933
		  which the <a href="#dfn-touch-point" class="internalDFN">touch point</a> started when it was first
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   934
          placed on the surface, even if the <a href="#dfn-touch-point" class="internalDFN">touch point</a> has since moved
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   935
          outside the interactive area of the <a>target</a> element.
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   936
        </p>
55
7df98116715b Clarify targeting of touchmove and touchend events, and add tests.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 54
diff changeset
   937
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   938
        <p>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   939
          The <a href="#dfn-touch-point" class="internalDFN">touch point</a> or points that were removed must be included
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   940
          in the <a>changedTouches</a> attribute of the <a href="#idl-def-TouchEvent" class="idlType"><code>TouchEvent</code></a>, and
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   941
          must not be included in the <a>touches</a> and <a>targetTouches</a>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   942
          attributes.
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   943
        </p>
5
e4446bce8960 First draft, using WebKit model
shepazu <schepers@w3.org>
parents: 4
diff changeset
   944
      </section>
20
3a04fe9b8ef2 Clean up some trailing whitespace and old comments.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 19
diff changeset
   945
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   946
      <section id="the-touchmove-event">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   947
        <h3 id="event-touchmove"><span class="secno">5.6 </span>The <dfn class="event" id="dfn-touchmove">touchmove</dfn> event</h3>
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   948
        <p>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   949
          A user agent must dispatch this event type to indicate when the user
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   950
          moves a <a href="#dfn-touch-point" class="internalDFN">touch point</a> along the touch surface.
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   951
        </p>
54
be35b766b5ef Wrap some text to 80 characters.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 53
diff changeset
   952
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   953
        <p>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   954
          The <a>target</a> of this event must be the same <a>Element</a> on 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   955
		  which the <a href="#dfn-touch-point" class="internalDFN">touch point</a> started when it was first
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   956
          placed on the surface, even if the <a href="#dfn-touch-point" class="internalDFN">touch point</a> has since moved
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   957
          outside the interactive area of the <a>target</a> element.
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   958
        </p>
54
be35b766b5ef Wrap some text to 80 characters.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 53
diff changeset
   959
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   960
        <p>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   961
          Note that the rate at which the user agent sends <a href="#dfn-touchmove" class="internalDFN">touchmove</a>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   962
          events is implementation-defined, and may depend on hardware
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   963
          capabilities and other implementation details.
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   964
        </p>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   965
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   966
        <p>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   967
          If the <a href="#dfn-preventdefault" class="internalDFN">preventDefault</a> method is called on the <em>first</em>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   968
          <a href="#dfn-touchmove" class="internalDFN">touchmove</a> event of an <a href="#dfn-active-touch-point" class="internalDFN">active touch point</a>, it should
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   969
          prevent any default action caused by any <a href="#dfn-touchmove" class="internalDFN">touchmove</a> event
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   970
          associated with the same <a href="#dfn-active-touch-point" class="internalDFN">active touch point</a>, such as scrolling.
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   971
        </p>
5
e4446bce8960 First draft, using WebKit model
shepazu <schepers@w3.org>
parents: 4
diff changeset
   972
      </section>
20
3a04fe9b8ef2 Clean up some trailing whitespace and old comments.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 19
diff changeset
   973
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   974
      <section id="the-touchcancel-event">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   975
        <h3 id="event-touchcancel"><span class="secno">5.7 </span>The <dfn class="event" id="dfn-touchcancel">touchcancel</dfn> event</h3>
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   976
        <p>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   977
          A user agent must dispatch this event type to indicate when a touch
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   978
          point has been disrupted in an implementation-specific manner, such as
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   979
          a synchronous event or action originating from the UA canceling the
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   980
          touch, or the touch point leaving the document window into a
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   981
          non-document area which is capable of handling user interactions.
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   982
          (e.g. The UA's native user interface, plug-ins)  A user agent may
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   983
          also dispatch this event type when the user places more <a href="#dfn-touch-point" class="internalDFN">touch
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
   984
          point</a>s on the touch surface than the device or implementation is
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   985
          configured to store, in which case the earliest <a href="#idl-def-Touch" class="idlType"><code>Touch</code></a> object
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   986
          in the <a href="#idl-def-TouchList" class="idlType"><code>TouchList</code></a> should be removed.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   987
        </p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   988
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   989
        <p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   990
          The <a>target</a> of this event must be the same <a>Element</a> on 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   991
		  which the <a href="#dfn-touch-point" class="internalDFN">touch point</a> started when it was first
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   992
          placed on the surface, even if the <a href="#dfn-touch-point" class="internalDFN">touch point</a> has since moved
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   993
          outside the interactive area of the <a>target</a> element.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   994
        </p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   995
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   996
        <p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   997
          The <a href="#dfn-touch-point" class="internalDFN">touch point</a> or points that were removed must be included
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   998
          in the <a>changedTouches</a> attribute of the <a href="#idl-def-TouchEvent" class="idlType"><code>TouchEvent</code></a>, and
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
   999
          must not be included in the <a>touches</a> and <a>targetTouches</a>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1000
          attributes.
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1001
        </p>
5
e4446bce8960 First draft, using WebKit model
shepazu <schepers@w3.org>
parents: 4
diff changeset
  1002
      </section>
4
dda9bf4072d0 testing hg with Murky
shepazu <schepers@w3.org>
parents:
diff changeset
  1003
    </section>
20
3a04fe9b8ef2 Clean up some trailing whitespace and old comments.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 19
diff changeset
  1004
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1005
    <section id="extensions-to-the-document-interface">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1006
      <!--OddPage--><h2><span class="secno">6. </span>Extensions to the <a href="#idl-def-Document" class="idlType"><code>Document</code></a> Interface</h2>
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1007
      <p>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1008
        The <a href="#idl-def-Document" class="idlType"><code>Document</code></a> interface [<cite><a class="bibref" href="#bib-DOM-LEVEL-3-CORE">DOM-LEVEL-3-CORE</a></cite>] contains methods
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1009
        by which the user can create <a href="#idl-def-Touch" class="idlType"><code>Touch</code></a> and <a href="#idl-def-TouchList" class="idlType"><code>TouchList</code></a>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1010
        objects.
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1011
      </p>
68
e8bb9dc16d4e Specify createTouch and createTouchList interfaces.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 66
diff changeset
  1012
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1013
      <pre class="idl"><span class="idlInterface" id="idl-def-Document">partial interface <span class="idlInterfaceID">Document</span> {
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1014
<span class="idlMethod">    <span class="idlMethType"><a href="#idl-def-Touch" class="idlType"><code>Touch</code></a></span>     <span class="idlMethName"><a href="#widl-Document-createTouch-Touch-AbstractView-view-EventTarget-target-long-identifier-long-pageX-long-pageY-long-screenX-long-screenY">createTouch</a></span> (<span class="idlParam"><span class="idlParamType"><a>AbstractView</a></span> <span class="idlParamName">view</span></span>, <span class="idlParam"><span class="idlParamType"><a>EventTarget</a></span> <span class="idlParamName">target</span></span>, <span class="idlParam"><span class="idlParamType"><a>long</a></span> <span class="idlParamName">identifier</span></span>, <span class="idlParam"><span class="idlParamType"><a>long</a></span> <span class="idlParamName">pageX</span></span>, <span class="idlParam"><span class="idlParamType"><a>long</a></span> <span class="idlParamName">pageY</span></span>, <span class="idlParam"><span class="idlParamType"><a>long</a></span> <span class="idlParamName">screenX</span></span>, <span class="idlParam"><span class="idlParamType"><a>long</a></span> <span class="idlParamName">screenY</span></span>);</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1015
<span class="idlMethod">    <span class="idlMethType"><a href="#idl-def-TouchList" class="idlType"><code>TouchList</code></a></span> <span class="idlMethName"><a href="#widl-Document-createTouchList-TouchList-Touch-touches">createTouchList</a></span> (<span class="idlParam">optional <span class="idlParamType"><a href="#idl-def-Touch" class="idlType"><code>Touch</code></a>...</span> <span class="idlParamName">touches</span></span>);</span>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1016
};</span></pre><section id="methods-1"><h3><span class="secno">6.1 </span>Methods</h3><dl class="methods"><dt id="widl-Document-createTouch-Touch-AbstractView-view-EventTarget-target-long-identifier-long-pageX-long-pageY-long-screenX-long-screenY"><code>createTouch</code></dt><dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1017
          Creates a <a href="#idl-def-Touch" class="idlType"><code>Touch</code></a> object with the specified attributes.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1018
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1019
        <table class="parameters"><tr><th>Parameter</th><th>Type</th><th>Nullable</th><th>Optional</th><th>Description</th></tr><tr><td class="prmName">view</td><td class="prmType"><code><a>AbstractView</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr><tr><td class="prmName">target</td><td class="prmType"><code><a>EventTarget</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr><tr><td class="prmName">identifier</td><td class="prmType"><code><a>long</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr><tr><td class="prmName">pageX</td><td class="prmType"><code><a>long</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr><tr><td class="prmName">pageY</td><td class="prmType"><code><a>long</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr><tr><td class="prmName">screenX</td><td class="prmType"><code><a>long</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr><tr><td class="prmName">screenY</td><td class="prmType"><code><a>long</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr></table><div><em>Return type: </em><code><a href="#idl-def-Touch" class="idlType"><code>Touch</code></a></code></div></dd><dt id="widl-Document-createTouchList-TouchList-Touch-touches"><code>createTouchList</code></dt><dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1020
          Creates a <a href="#idl-def-TouchList" class="idlType"><code>TouchList</code></a> object consisting of zero or more <a href="#idl-def-Touch" class="idlType"><code>Touch</code></a> objects.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1021
          Calling this method with no arguments creates a <a href="#idl-def-TouchList" class="idlType"><code>TouchList</code></a> with no objects in it 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1022
          and length 0 (zero). 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1023
          
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1024
        <table class="parameters"><tr><th>Parameter</th><th>Type</th><th>Nullable</th><th>Optional</th><th>Description</th></tr><tr><td class="prmName">touches</td><td class="prmType"><code><a href="#idl-def-Touch" class="idlType"><code>Touch</code></a></code></td><td class="prmNullFalse">✘</td><td class="prmOptTrue">✔</td><td class="prmDesc"></td></tr></table><div><em>Return type: </em><code><a href="#idl-def-TouchList" class="idlType"><code>TouchList</code></a></code></div></dd></dl></section>
68
e8bb9dc16d4e Specify createTouch and createTouchList interfaces.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 66
diff changeset
  1025
    </section>
e8bb9dc16d4e Specify createTouch and createTouchList interfaces.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 66
diff changeset
  1026
35
8624a3d5cbd7 ISSUE-9: Interaction of touch events and mouse events
Matt Brubeck <mbrubeck@mozilla.com>
parents: 34
diff changeset
  1027
    <section id="mouse-events">
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1028
      <!--OddPage--><h2><span class="secno">7. </span>Interaction with Mouse Events</h2>
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1029
      <p>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1030
        The user agent may dispatch both touch events and mouse events
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1031
        [<cite><a class="bibref" href="#bib-DOM-LEVEL-2-EVENTS">DOM-LEVEL-2-EVENTS</a></cite>] in response to the same user input.  If the
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1032
        user agent dispatches both touch events and mouse events in response to
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1033
        a single user action, then the <a href="#dfn-touchstart" class="internalDFN">touchstart</a> event type must be
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1034
        dispatched before any mouse event types for that action.  If the
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1035
        <a href="#dfn-preventdefault" class="internalDFN">preventDefault</a> method of <a href="#dfn-touchstart" class="internalDFN">touchstart</a> or <a href="#dfn-touchmove" class="internalDFN">touchmove</a>
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1036
        is called, the user agent should not dispatch any mouse event that
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1037
        would be a consequential result of the the prevented touch event.
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1038
      </p>
58
22e39e76033e Specify basic preventDefault behavior.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 57
diff changeset
  1039
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1040
      <div class="note"><div class="note-title"><span>Note</span></div><p class="">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1041
        If a Web application can process touch events, it can intercept them, 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1042
        and no corresponding mouse events would need to be dispatched by the 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1043
        user agent. If the Web application is not specifically written for 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1044
        touch input devices, it can react to the subsequent mouse events instead.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1045
      </p></div>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1046
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1047
      <p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1048
        If the user agent intreprets a sequence of touch events as a click,
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1049
        then it should dispatch <a>mousemove</a>, <a>mousedown</a>,
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1050
        <a>mouseup</a>, and <a>click</a> events (in that order) at the location
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1051
        of the <a href="#dfn-touchend" class="internalDFN">touchend</a> event for the corresponding touch input.  If the
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1052
        contents of the document have changed during processing of the touch
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1053
        events, then the user agent may dispatch the mouse events to a
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1054
        different target than the touch events.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1055
      </p>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1056
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1057
      <p>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1058
        The default actions and ordering of any further touch and mouse events
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1059
        are implementation-defined, except as specified elsewhere.
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1060
      </p>
35
8624a3d5cbd7 ISSUE-9: Interaction of touch events and mouse events
Matt Brubeck <mbrubeck@mozilla.com>
parents: 34
diff changeset
  1061
    </section>
8624a3d5cbd7 ISSUE-9: Interaction of touch events and mouse events
Matt Brubeck <mbrubeck@mozilla.com>
parents: 34
diff changeset
  1062
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1063
    <section id="glossary">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1064
      <!--OddPage--><h2><span class="secno">8. </span>Glossary</h2>
20
3a04fe9b8ef2 Clean up some trailing whitespace and old comments.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 19
diff changeset
  1065
10
bad00fb0d663 added identifier algorithm; added glossary; added timestamp to TouchPoint
shepazu <schepers@w3.org>
parents: 9
diff changeset
  1066
      <dl>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1067
        <dt><dfn id="dfn-active-touch-point">active touch point</dfn></dt>
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1068
        <dd>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1069
          A <a href="#dfn-touch-point" class="internalDFN">touch point</a> which is currently on the screen and is being
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1070
          tracked by the user agent.  The touch point becomes active when the
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1071
          user agent first dispatches a <a href="#dfn-touchstart" class="internalDFN">touchstart</a> event indicating its
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1072
          appearance.  It ceases to be active after the user agent dispatches a
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1073
          <a href="#dfn-touchend" class="internalDFN">touchend</a> or <a href="#dfn-touchcancel" class="internalDFN">touchcancel</a> event indicating that the touch
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1074
          point is removed from the surface or no longer tracked.
10
bad00fb0d663 added identifier algorithm; added glossary; added timestamp to TouchPoint
shepazu <schepers@w3.org>
parents: 9
diff changeset
  1075
        </dd>
20
3a04fe9b8ef2 Clean up some trailing whitespace and old comments.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 19
diff changeset
  1076
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1077
        <dt><dfn id="dfn-touch-point">touch point</dfn></dt>
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1078
        <dd>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1079
          The coordinate point at which a pointer (e.g finger or stylus)
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1080
          intersects the target surface of an interface.  This may apply to a
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1081
          finger touching a touch-screen, or an digital pen writing on a piece
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1082
          of paper.
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1083
        </dd>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1084
        
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1085
        <dt><dfn id="dfn-preventdefault">preventDefault</dfn></dt>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1086
        <dd>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1087
          If a event is cancelable, the preventDefault method is used to signify
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1088
          that the event is to be canceled, and any default actions defined in the
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1089
          user agent as a result of this event, or consequential events from the
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1090
          canceled event will not occur. Calling this method on non-cancelable
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1091
          events will have no effect.
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1092
        </dd>        
10
bad00fb0d663 added identifier algorithm; added glossary; added timestamp to TouchPoint
shepazu <schepers@w3.org>
parents: 9
diff changeset
  1093
      </dl>
bad00fb0d663 added identifier algorithm; added glossary; added timestamp to TouchPoint
shepazu <schepers@w3.org>
parents: 9
diff changeset
  1094
    </section>
20
3a04fe9b8ef2 Clean up some trailing whitespace and old comments.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 19
diff changeset
  1095
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1096
    <section id="issues" class="informative">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1097
      <!--OddPage--><h2><span class="secno">9. </span>Issues</h2><p><em>This section is non-normative.</em></p>
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1098
      <p>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1099
        The working group maintains <a href="http://www.w3.org/2010/webevents/track/products/2">a list of open issues in this specification</a>.  These issues may be
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1100
        addressed in future revisions of the specification.
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1101
      </p>
71
4c4b691aab2a Add a link to the issue tracker.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 69
diff changeset
  1102
    </section>
4c4b691aab2a Add a link to the issue tracker.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 69
diff changeset
  1103
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1104
    <section class="appendix informative" id="acknowledgements">
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1105
      <!--OddPage--><h2><span class="secno">A. </span>Acknowledgements</h2><p><em>This section is non-normative.</em></p>
4
dda9bf4072d0 testing hg with Murky
shepazu <schepers@w3.org>
parents:
diff changeset
  1106
      <p>
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1107
        Many thanks to the WebKit engineers for developing the model used as a
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1108
        basis for this spec, Neil Roberts (SitePen) for his summary of WebKit
86
653218ffd9c4 spelling fixes
Josh Soref <josh.soref@nokia.com>
parents: 85
diff changeset
  1109
        touch events, Peter-Paul Koch (PPK) for his write-ups and suggestions,
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1110
        Robin Berjon for developing the <a href="http://dev.w3.org/2009/dap/ReSpec.js/documentation.html">ReSpec.js spec authoring tool</a>, and the WebEvents WG for their many
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1111
        contributions.
4
dda9bf4072d0 testing hg with Murky
shepazu <schepers@w3.org>
parents:
diff changeset
  1112
      </p>
20
3a04fe9b8ef2 Clean up some trailing whitespace and old comments.
Matt Brubeck <mbrubeck@mozilla.com>
parents: 19
diff changeset
  1113
85
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1114
      <p>
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1115
        Many others have made additional comments as the spec developed, which
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1116
        have led to steady improvements.  Among them are Matthew Schinckel,
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1117
        Andrew Grieve, and Cathy Chan. If I inadvertently omitted your name,
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1118
        please let me know.
5c770b2dd992 Rewrapping whitespace
Josh Soref <josh.soref@nokia.com>
parents: 84
diff changeset
  1119
      </p>
4
dda9bf4072d0 testing hg with Murky
shepazu <schepers@w3.org>
parents:
diff changeset
  1120
    </section>
181
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1121
  
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1122
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1123
<section id="references" class="appendix"><!--OddPage--><h2><span class="secno">B. </span>References</h2><section id="normative-references"><h3><span class="secno">B.1 </span>Normative references</h3><dl class="bibliography"><dt id="bib-DOM-LEVEL-2-EVENTS">[DOM-LEVEL-2-EVENTS]</dt><dd>Tom Pixley. <a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113"><cite>Document Object Model (DOM) Level 2 Events Specification.</cite></a> 13 November 2000. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113">http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113</a> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1124
</dd><dt id="bib-DOM-LEVEL-3-CORE">[DOM-LEVEL-3-CORE]</dt><dd>Gavin Nicol; et al. <a href="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407"><cite>Document Object Model (DOM) Level 3 Core Specification.</cite></a> 7 April 2004. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407">http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407</a> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1125
</dd><dt id="bib-RFC2119">[RFC2119]</dt><dd>S. Bradner. <a href="http://www.ietf.org/rfc/rfc2119.txt"><cite>Key words for use in RFCs to Indicate Requirement Levels.</cite></a> March 1997. Internet RFC 2119.  URL: <a href="http://www.ietf.org/rfc/rfc2119.txt">http://www.ietf.org/rfc/rfc2119.txt</a> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1126
</dd><dt id="bib-WEBIDL">[WEBIDL]</dt><dd>Cameron McCormack. <a href="http://www.w3.org/TR/2011/WD-WebIDL-20110927/"><cite>Web IDL.</cite></a> 27 September 2011. W3C Working Draft. (Work in progress.) URL: <a href="http://www.w3.org/TR/2011/WD-WebIDL-20110927/">http://www.w3.org/TR/2011/WD-WebIDL-20110927/</a> 
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1127
</dd></dl></section></section></body></html>
06545e9398a1 24-Jan-2013 LCWD with respec references resolved
Art Barstow <art.barstow@nokia.com>
parents: 89
diff changeset
  1128