Skip to content

Commit

Permalink
Remove type union for tilt and angle properties (#562)
Browse files Browse the repository at this point in the history
SHA: e0ac302
Reason: push, by jrandolf

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
jrandolf-2 and github-actions[bot] committed Oct 5, 2023
1 parent 1fd53aa commit 0d4c36c
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
<meta content="Bikeshed version 82ce88815, updated Thu Sep 7 16:33:55 2023 -0700" name="generator">
<link href="https://w3c.github.io/webdriver-bidi/" rel="canonical">
<meta content="5a6087e86087c7593a8a1bd5bb64b4eaaeb69a2d" name="document-revision">
<meta content="e0ac30288a61d3bcefac5b0baa054a954d58e054" name="document-revision">
<style>
var {
color: #cd5c5c
Expand Down Expand Up @@ -544,7 +544,7 @@
<div class="head">
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72"> </a> </p>
<h1 class="p-name no-ref" id="title">WebDriver BiDi</h1>
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2023-10-04">4 October 2023</time></p>
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2023-10-05">5 October 2023</time></p>
<details open>
<summary>More details about this document</summary>
<div data-fill-with="spec-metadata">
Expand Down Expand Up @@ -8400,17 +8400,10 @@ <h5 class="heading settled" data-level="6.7.3.1" id="command-input-performAction
? pressure: float .default 0.0,
? tangentialPressure: float .default 0.0,
? twist: (0..359) .default 0,
(input.TiltProperties // input.AngleProperties)
)

input.AngleProperties = (
? altitudeAngle: float .default 0.0,
? azimuthAngle: float .default 0.0,
)

input.TiltProperties = (
? tiltX: js-int .default 0,
? tiltY: js-int .default 0,
; 0 .. Math.PI / 2
? altitudeAngle: (0.0..1.5707963267948966) .default 0.0,
; 0 .. 2 * Math.PI
? azimuthAngle: (0.0..6.283185307179586) .default 0.0,
)

input.Origin = "viewport" / "pointer" / input.ElementOrigin
Expand Down

0 comments on commit 0d4c36c

Please sign in to comment.