diff --git a/index.html b/index.html index 1daa6b3e..2d0f05f8 100644 --- a/index.html +++ b/index.html @@ -8402,220 +8402,173 @@
Set the button
property of action
to button.
+
-
Set the width
property of action
- to 1.
+
touch
"
+ Set the button
property of action
+ to 0.
+
Let width be the result
+ of getting the property width
+ from action item.
+
+
If width is not undefined + and width is not a Number greater than or + equal to 0 return error with error code + invalid argument. + +
Set the width
property of action
+ to width.
+
+
Let height be the result
+ of getting the property height
+ from action item.
+
+
If height is not undefined + and height is not a Number greater than or + equal to 0 return error with error code + invalid argument. +
Set the height
property of action
- to 1.
-
-
If action's subtype
property is
- "pointerDown
", set the pressure
property of
- action to 0.5. Otherwise, set the pressure
property of
- action to 0.
+ to height.
-
Set the tangentialPressure
property of action
- to 0.
+
Let pressure be the result
+ of getting the property pressure
+ from action item.
+
+
If pressure is not undefined + and pressure is not a Number greater than or + equal to 0 and less than or equal to 1 return error with + error code invalid argument. + +
Set the pressure
property of action
+ to pressure.
+
pen
"
+ Let button be the result
+ of getting the property button
+ from action item.
+
+
If button is not an Integer greater than or + equal to 0 return error with error code + invalid argument. + +
Set the button
property of action
+ to button.
+
+
Let width be the result
+ of getting the property width
+ from action item.
+
+
If width is not undefined + and width is not a Number greater than or + equal to 0 return error with error code + invalid argument. + +
Set the width
property of action
+ to width.
+
+
Let height be the result
+ of getting the property height
+ from action item.
+
+
If height is not undefined + and height is not a Number greater than or + equal to 0 return error with error code + invalid argument. + +
Set the height
property of action
+ to height.
+
+
Let pressure be the result
+ of getting the property pressure
+ from action item.
+
+
If pressure is not undefined + and pressure is not a Number greater than or + equal to 0 and less than or equal to 1 return error with + error code invalid argument. + +
Set the pressure
property of action
+ to pressure.
+
+
Let tangentialPressure be the result
+ of getting the property tangentialPressure
+ from action item.
+
+
If tangentialPressure is not undefined + and tangentialPressure is not a Number greater + than or equal to -1 and less than or equal to 1 return error + with error code invalid argument. + +
Set the tangentialPressure
property of action
+ to tangentialPressure.
+
+
Let tiltX be the result
+ of getting the property tiltX
+ from action item.
+
+
If tiltX is not undefined + and tiltX is not an Integer greater than or + equal to -90 and less than or equal to 90 return error with + error code invalid argument. +
Set the tiltX
property of action
- to 0.
-
+ to tiltX.
+
+
Let tiltY be the result
+ of getting the property tiltY
+ from action item.
+
+
If tiltY is not undefined + and tiltY is not an Integer greater than or + equal to -90 and less than or equal to 90 return error with + error code invalid argument. +
Set the tiltY
property of action
- to 0.
-
+ to tiltY.
+
+
Let twist be the result
+ of getting the property twist
+ from action item.
+
+
If twist is not undefined + and twist is not an Integer greater than or + equal to 0 and less than or equal to 359 return error with + error code invalid argument. +
Set the twist
property of action
- to 0.
-
+ to twist.
+
+
Let altitudeAngle be the result
+ of getting the property altitudeAngle
+ from action item.
+
+
If altitudeAngle is not undefined + and altitudeAngle is not a Number greater than + or equal to 0 and less than or equal to π/2 return error with + error code invalid argument. +
Set the altitudeAngle
property of action
- to π/2.
-
+ to altitudeAngle.
+
+
Let azimuthAngle be the result
+ of getting the property azimuthAngle
+ from action item.
+
+
If azimuthAngle is not undefined + and azimuthAngle is not a Number greater than + or equal to 0 and less than or equal to 2π return error with + error code invalid argument. +
Set the azimuthAngle
property of action
- to 0.
+ to azimuthAngle.
touch
"
- Set the button
property of action
- to 0.
-
-
Let width be the result
- of getting the property width
- from action item.
-
-
If width is not undefined - and width is not a Number greater than or - equal to 0 return error with error code - invalid argument. - -
Set the width
property of action
- to width.
-
-
Let height be the result
- of getting the property height
- from action item.
-
-
If height is not undefined - and height is not a Number greater than or - equal to 0 return error with error code - invalid argument. - -
Set the height
property of action
- to height.
-
-
Let pressure be the result
- of getting the property pressure
- from action item.
-
-
If pressure is not undefined - and pressure is not a Number greater than or - equal to 0 and less than or equal to 1 return error with - error code invalid argument. - -
Set the pressure
property of action
- to pressure.
-
-
Set the tangentialPressure
property of action
- to 0.
-
-
Set the tiltX
property of action
- to 90.
-
-
Set the tiltY
property of action
- to 0.
-
-
Set the twist
property of action
- to 0.
-
-
Set the altitudeAngle
property of action
- to 0.
-
-
Set the azimuthAngle
property of action
- to 0.
-
pen
"
- Let button be the result
- of getting the property button
- from action item.
-
-
If button is not an Integer greater than or - equal to 0 return error with error code - invalid argument. - -
Set the button
property of action
- to button.
-
-
Let width be the result
- of getting the property width
- from action item.
-
-
If width is not undefined - and width is not a Number greater than or - equal to 0 return error with error code - invalid argument. - -
Set the width
property of action
- to width.
-
-
Let height be the result
- of getting the property height
- from action item.
-
-
If height is not undefined - and height is not a Number greater than or - equal to 0 return error with error code - invalid argument. - -
Set the height
property of action
- to height.
-
-
Let pressure be the result
- of getting the property pressure
- from action item.
-
-
If pressure is not undefined - and pressure is not a Number greater than or - equal to 0 and less than or equal to 1 return error with - error code invalid argument. - -
Set the pressure
property of action
- to pressure.
-
-
Let tangentialPressure be the result
- of getting the property tangentialPressure
- from action item.
-
-
If tangentialPressure is not undefined - and tangentialPressure is not a Number greater - than or equal to -1 and less than or equal to 1 return error - with error code invalid argument. - -
Set the tangentialPressure
property of action
- to tangentialPressure.
-
-
Let tiltX be the result
- of getting the property tiltX
- from action item.
-
-
If tiltX is not undefined - and tiltX is not an Integer greater than or - equal to -90 and less than or equal to 90 return error with - error code invalid argument. - -
Set the tiltX
property of action
- to tiltX.
-
-
Let tiltY be the result
- of getting the property tiltY
- from action item.
-
-
If tiltY is not undefined - and tiltY is not an Integer greater than or - equal to -90 and less than or equal to 90 return error with - error code invalid argument. - -
Set the tiltY
property of action
- to tiltY.
-
-
Let twist be the result
- of getting the property twist
- from action item.
-
-
If twist is not undefined - and twist is not an Integer greater than or - equal to 0 and less than or equal to 359 return error with - error code invalid argument. - -
Set the twist
property of action
- to twist.
-
-
Let altitudeAngle be the result
- of getting the property altitudeAngle
- from action item.
-
-
If altitudeAngle is not undefined - and altitudeAngle is not a Number greater than - or equal to 0 and less than or equal to π/2 return error with - error code invalid argument. - -
Set the altitudeAngle
property of action
- to altitudeAngle.
-
-
Let azimuthAngle be the result
- of getting the property azimuthAngle
- from action item.
-
-
If azimuthAngle is not undefined - and azimuthAngle is not a Number greater than - or equal to 0 and less than or equal to 2π return error with - error code invalid argument. - -
Set the azimuthAngle
property of action
- to azimuthAngle.
-
Return success with data null
.
@@ -8677,233 +8630,157 @@
Run the substeps of the first matching value of pointerType
mouse
"
+ touch
"
Let button be the result
- of getting the property button
+
Let width be the result
+ of getting the property width
from action item.
-
If button is not an Integer greater than or +
If width is not undefined + and width is not a Number greater than or equal to 0 return error with error code invalid argument. -
Set the button
property of action
- to button.
-
Set the width
property of action
- to 1.
-
+ to width.
+
+
Let height be the result
+ of getting the property height
+ from action item.
+
+
If height is not undefined + and height is not a Number greater than or + equal to 0 return error with error code + invalid argument. +
Set the height
property of action
- to 1.
-
-
If action's subtype
property is
- "pointerDown
", set the pressure
property of
- action to 0.5. Otherwise, set the pressure
property of
- action to 0.
+ to height.
-
Set the tangentialPressure
property of action
- to 0.
+
Let pressure be the result
+ of getting the property pressure
+ from action item.
+
+
If pressure is not undefined + and pressure is not a Number greater than or + equal to 0 and less than or equal to 1 return error with + error code invalid argument. + +
Set the pressure
property of action
+ to pressure.
+
pen
"
+ Let width be the result
+ of getting the property width
+ from action item.
+
+
If width is not undefined + and width is not a Number greater than or + equal to 0 return error with error code + invalid argument. + +
Set the width
property of action
+ to width.
+
+
Let height be the result
+ of getting the property height
+ from action item.
+
+
If height is not undefined + and height is not a Number greater than or + equal to 0 return error with error code + invalid argument. + +
Set the height
property of action
+ to height.
+
+
Let pressure be the result
+ of getting the property pressure
+ from action item.
+
+
If pressure is not undefined + and pressure is not a Number greater than or + equal to 0 and less than or equal to 1 return error with + error code invalid argument. + +
Set the pressure
property of action
+ to pressure.
+
+
Let tangentialPressure be the result
+ of getting the property tangentialPressure
+ from action item.
+
+
If tangentialPressure is not undefined + and tangentialPressure is not a Number greater + than or equal to -1 and less than or equal to 1 return error + with error code invalid argument. + +
Set the tangentialPressure
property of action
+ to tangentialPressure.
+
+
Let tiltX be the result
+ of getting the property tiltX
+ from action item.
+
+
If tiltX is not undefined + and tiltX is not an Integer greater than or + equal to -90 and less than or equal to 90 return error with + error code invalid argument. +
Set the tiltX
property of action
- to 0.
-
+ to tiltX.
+
+
Let tiltY be the result
+ of getting the property tiltY
+ from action item.
+
+
If tiltY is not undefined + and tiltY is not an Integer greater than or + equal to -90 and less than or equal to 90 return error with + error code invalid argument. +
Set the tiltY
property of action
- to 0.
-
+ to tiltY.
+
+
Let twist be the result
+ of getting the property twist
+ from action item.
+
+
If twist is not undefined + and twist is not an Integer greater than or + equal to 0 and less than or equal to 359 return error with + error code invalid argument. +
Set the twist
property of action
- to 0.
-
+ to twist.
+
+
Let altitudeAngle be the result
+ of getting the property altitudeAngle
+ from action item.
+
+
If altitudeAngle is not undefined + and altitudeAngle is not a Number greater than + or equal to 0 and less than or equal to π/2 return error with + error code invalid argument. +
Set the altitudeAngle
property of action
- to π/2.
-
+ to altitudeAngle.
+
+
Let azimuthAngle be the result
+ of getting the property azimuthAngle
+ from action item.
+
+
If azimuthAngle is not undefined + and azimuthAngle is not a Number greater than + or equal to 0 and less than or equal to 2π return error with + error code invalid argument. +
Set the azimuthAngle
property of action
- to 0.
+ to azimuthAngle.
touch
"
- Set the button
property of action
- to 0.
-
-
Let width be the result
- of getting the property width
- from action item.
-
-
If width is not undefined - and width is not a Number greater than or - equal to 0 return error with error code - invalid argument. - -
Set the width
property of action
- to width.
-
-
Let height be the result
- of getting the property height
- from action item.
-
-
If height is not undefined - and height is not a Number greater than or - equal to 0 return error with error code - invalid argument. - -
Set the height
property of action
- to height.
-
-
Let pressure be the result
- of getting the property pressure
- from action item.
-
-
If pressure is not undefined - and pressure is not a Number greater than or - equal to 0 and less than or equal to 1 return error with - error code invalid argument. - -
Set the pressure
property of action
- to pressure.
-
-
Set the tangentialPressure
property of action
- to 0.
-
-
Set the tiltX
property of action
- to 90.
-
-
Set the tiltY
property of action
- to 0.
-
-
Set the twist
property of action
- to 0.
-
-
Set the altitudeAngle
property of action
- to 0.
-
-
Set the azimuthAngle
property of action
- to 0.
-
pen
"
- Let button be the result
- of getting the property button
- from action item.
-
-
If button is not an Integer greater than or - equal to 0 return error with error code - invalid argument. - -
Set the button
property of action
- to button.
-
-
Let width be the result
- of getting the property width
- from action item.
-
-
If width is not undefined - and width is not a Number greater than or - equal to 0 return error with error code - invalid argument. - -
Set the width
property of action
- to width.
-
-
Let height be the result
- of getting the property height
- from action item.
-
-
If height is not undefined - and height is not a Number greater than or - equal to 0 return error with error code - invalid argument. - -
Set the height
property of action
- to height.
-
-
Let pressure be the result
- of getting the property pressure
- from action item.
-
-
If pressure is not undefined - and pressure is not a Number greater than or - equal to 0 and less than or equal to 1 return error with - error code invalid argument. - -
Set the pressure
property of action
- to pressure.
-
-
Let tangentialPressure be the result
- of getting the property tangentialPressure
- from action item.
-
-
If tangentialPressure is not undefined - and tangentialPressure is not a Number greater - than or equal to -1 and less than or equal to 1 return error - with error code invalid argument. - -
Set the tangentialPressure
property of action
- to tangentialPressure.
-
-
Let tiltX be the result
- of getting the property tiltX
- from action item.
-
-
If tiltX is not undefined - and tiltX is not an Integer greater than or - equal to -90 and less than or equal to 90 return error with - error code invalid argument. - -
Set the tiltX
property of action
- to tiltX.
-
-
Let tiltY be the result
- of getting the property tiltY
- from action item.
-
-
If tiltY is not undefined - and tiltY is not an Integer greater than or - equal to -90 and less than or equal to 90 return error with - error code invalid argument. - -
Set the tiltY
property of action
- to tiltY.
-
-
Let twist be the result
- of getting the property twist
- from action item.
-
-
If twist is not undefined - and twist is not an Integer greater than or - equal to 0 and less than or equal to 359 return error with - error code invalid argument. - -
Set the twist
property of action
- to twist.
-
-
Let altitudeAngle be the result
- of getting the property altitudeAngle
- from action item.
-
-
If altitudeAngle is not undefined - and altitudeAngle is not a Number greater than - or equal to 0 and less than or equal to π/2 return error with - error code invalid argument. - -
Set the altitudeAngle
property of action
- to altitudeAngle.
-
-
Let azimuthAngle be the result
- of getting the property azimuthAngle
- from action item.
-
-
If azimuthAngle is not undefined - and azimuthAngle is not a Number greater than - or equal to 0 and less than or equal to 2π return error with - error code invalid argument. - -
Set the azimuthAngle
property of action
- to azimuthAngle.
-
Return success with data null
.