added force attribute; added issues around InkML, units, preventDefau… · w3c/touch-events@303b36e (original) (raw)

`@@ -41,7 +41,7 @@

`

41

41

``

42

42

`// if you want to have extra CSS, append them to this list

`

43

43

`// it is recommended that the respec.css stylesheet be kept

`

44

``

`-

extraCSS: ["http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css"],

`

``

44

`+

extraCSS: ["http://www.w3.org/StyleSheets/TR/W3C-TR.css", "http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css"],

`

45

45

``

46

46

`// editors, add as many as you like

`

47

47

`// only "name" is required

`

`@@ -126,13 +126,17 @@

TouchPoint Interface

`

126

126

``

127

127

`

readonly attribute float radiusX

`

128

128

`

`

129

``

`-

the radius of the ellipse which most closely circumscribes the touching area (e.g. finger, stylus) along the x-axis, in pixels; 1 if no value is known

`

``

129

`+

the radius of the ellipse which most closely circumscribes the touching area (e.g. finger, stylus) along the x-axis, in pixels; 1 if no value is known. This attribute may not be available on all user agents or platforms.

`

130

130

`

`

131

131

`

readonly attribute float radiusY

`

132

132

`

`

133

``

`-

the radius of the ellipse which most closely circumscribes the touching area (e.g. finger, stylus) along the y-axis, in pixels; 1 if no value is known

`

``

133

`+

the radius of the ellipse which most closely circumscribes the touching area (e.g. finger, stylus) along the y-axis, in pixels; 1 if no value is known. This attribute may not be available on all user agents or platforms.

`

134

134

`

`

135

135

``

``

136

`+

readonly attribute float force

`

``

137

`+

`

``

138

`+

a relative value of pressure applied, in the range 0 to 1; 0 if no value is known. This attribute may not be available on all user agents or platforms.

`

``

139

`+

`

136

140

``

137

141

`

readonly attribute boolean ctrlKey

`

138

142

`

`

`@@ -147,6 +151,12 @@

TouchPoint Interface

`

147

151

`true if the alt (Alternate) key modifier is activated; otherwise false

`

148

152

`

`

149

153

`

`

``

154

+

``

155

`+

Issue: Consider aligning with "channels" and values from Ink Markup Language (InkML).

`

``

156

+

``

157

`+

Issue: Should each touchpoint have its own timestamp?

`

``

158

+

``

159

`+

Issue: What are units of radiusX/radiusY?

`

150

160

`

`

151

161

``

152

162

``

`@@ -193,6 +203,9 @@

Touch Interface

`

193

203

` a list of TouchPoints for every point of contact which contributed to the event

`

194

204

`

`

195

205

`

`

``

206

+

``

207

`+

Issue: define behavior of preventDefault() method.

`

``

208

+

196

209

``

197

210

`

`

198

211

`

The touchstart event

`