Skip to content

Commit 330db5f

Browse files
Raise "unsupported operation" error when "pointer" is used as origin for wheel input sources (#1760)
SHA: 35a868a Reason: push, by jgraham Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 7bb8e5f commit 330db5f

File tree

1 file changed

+18
-22
lines changed

1 file changed

+18
-22
lines changed

index.html

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -278,14 +278,14 @@
278278
],
279279
"profile": "web-platform"
280280
},
281-
"publishISODate": "2023-08-24T00:00:00.000Z",
282-
"generatedSubtitle": "W3C Editor's Draft 24 August 2023"
281+
"publishISODate": "2023-09-07T00:00:00.000Z",
282+
"generatedSubtitle": "W3C Editor's Draft 07 September 2023"
283283
}</script>
284284
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED"></head><body data-cite="WEBIDL CSSOM-VIEW GEOMETRY-1 fileapi HTML INFRA URL WEBIDL DOM FETCH" class="h-entry"><div class="head">
285285
<p class="logos"><a class="logo" href="https://www.w3.org/"><img crossorigin="" alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72">
286286
</a></p>
287287
<h1 id="title" class="title">WebDriver</h1>
288-
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">W3C Editor's Draft</a> <time class="dt-published" datetime="2023-08-24">24 August 2023</time></p>
288+
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">W3C Editor's Draft</a> <time class="dt-published" datetime="2023-09-07">07 September 2023</time></p>
289289
<details open="">
290290
<summary>More details about this document</summary>
291291
<dl>
@@ -8690,9 +8690,6 @@ <h1 id="title" class="title">WebDriver</h1>
86908690

86918691
<dt>"<code>pointer</code>"
86928692
</dt><dd>
8693-
<div class="note" role="note" id="issue-container-generatedID-46"><div role="heading" class="note-title marker" id="h-note-46" aria-level="4"><span>Note</span></div><p class="">This is only possible if <var>source</var> is
8694-
a <a href="#dfn-pointer-input-source" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-pointer-input-source-6">pointer input source</a></p></div>
8695-
86968693
<ol>
86978694
<li><p>Let <var>start x</var> be equal to the <code>x</code>
86988695
property of <var>source</var>.
@@ -9089,10 +9086,11 @@ <h1 id="title" class="title">WebDriver</h1>
90899086
If <var>origin</var> is <a href="#dfn-undefined" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-undefined-29">undefined</a> let
90909087
<var>origin</var> equal "<code>viewport</code>".
90919088

9092-
</p></li><li><p> If <var>origin</var> is not equal to "<code>viewport</code>"
9093-
or "<code>pointer</code>", or <var>actions options</var>' <a href="#dfn-is-element-origin" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-is-element-origin-4">is element
9094-
origin</a> steps given <var>origin</var> return false,
9095-
return <a href="#dfn-error" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-error-258">error</a> with <a href="#dfn-error-code" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-error-code-191">error code</a> <a href="#dfn-invalid-argument" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-invalid-argument-71">invalid argument</a>.
9089+
</p></li><li><p>
9090+
If <var>origin</var> is not equal to "<code>viewport</code>",
9091+
or <var>actions options</var>' <a href="#dfn-is-element-origin" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-is-element-origin-4">is element origin</a> steps given
9092+
<var>origin</var> return false, return <a href="#dfn-error" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-error-258">error</a> with
9093+
<a href="#dfn-error-code" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-error-code-191">error code</a> <a href="#dfn-invalid-argument" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-invalid-argument-71">invalid argument</a>.
90969094

90979095
</p></li><li><p>
90989096
Set the <code>origin</code> property of <var>action</var>
@@ -9469,7 +9467,7 @@ <h1 id="title" class="title">WebDriver</h1>
94699467
</p></li><li><p>Wait for <var>token</var> to be the first item
94709468
in <var>input state</var>'s <a href="#dfn-actions-queue" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-actions-queue-2">actions queue</a>.
94719469

9472-
</p><div class="note" role="note" id="issue-container-generatedID-47"><div role="heading" class="note-title marker" id="h-note-47" aria-level="4"><span>Note</span></div><aside class="">
9470+
</p><div class="note" role="note" id="issue-container-generatedID-46"><div role="heading" class="note-title marker" id="h-note-46" aria-level="4"><span>Note</span></div><aside class="">
94739471
<p>This ensures that only one set of actions can be run at a time,
94749472
and therefore different actions commands using the same underlying
94759473
state don't race. In a session that is only a HTTP session only one
@@ -9620,7 +9618,7 @@ <h1 id="title" class="title">WebDriver</h1>
96209618
state</var>, <var>actions</var>, <var>browsing context<var>,
96219619
and <var>actions options</var>:
96229620

9623-
</var></var></p><div class="note" role="note" id="issue-container-generatedID-48"><div role="heading" class="note-title marker" id="h-note-48" aria-level="4"><span>Note</span></div><aside class="">
9621+
</var></var></p><div class="note" role="note" id="issue-container-generatedID-47"><div role="heading" class="note-title marker" id="h-note-47" aria-level="4"><span>Note</span></div><aside class="">
96249622
<p>This is an entry point for other commands that are written in terms
96259623
of a sequence of actions of a single input source in a single
96269624
tick.</p>
@@ -10003,7 +10001,7 @@ <h1 id="title" class="title">WebDriver</h1>
1000310001
</li><li><p>Return <a href="#dfn-success" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-success-103">success</a> with data <a href="#dfn-null" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-null-77"><code>null</code></a>.
1000410002
</p></li></ol>
1000510003

10006-
<div class="note" role="note" id="issue-container-generatedID-49"><div role="heading" class="note-title marker" id="h-note-49" aria-level="5"><span>Note</span></div><aside class="">
10004+
<div class="note" role="note" id="issue-container-generatedID-48"><div role="heading" class="note-title marker" id="h-note-48" aria-level="5"><span>Note</span></div><aside class="">
1000710005
<p>A single <a href="#dfn-keydown" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-keydown-2">keyDown</a> action produces a single key input,
1000810006
irrespective of how long the key is held down; there is no implicit
1000910007
key repetition.
@@ -10368,7 +10366,7 @@ <h1 id="title" class="title">WebDriver</h1>
1036810366

1036910367
</p></li><li><p>Run the following substeps <a data-type="dfn" href="https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel" id="ref-for-index-term-in-parallel-4">in parallel</a>:
1037010368

10371-
</p><div class="note" role="note" id="issue-container-generatedID-50"><div role="heading" class="note-title marker" id="h-note-50" aria-level="5"><span>Note</span></div><aside class="">
10369+
</p><div class="note" role="note" id="issue-container-generatedID-49"><div role="heading" class="note-title marker" id="h-note-49" aria-level="5"><span>Note</span></div><aside class="">
1037210370
<p>This algorithm may trigger multiple events spread across some
1037310371
duration. Parallelism is applied intentionally in order to manage the
1037410372
scheduling of these events relative to the events triggered by other
@@ -10535,7 +10533,7 @@ <h1 id="title" class="title">WebDriver</h1>
1053510533

1053610534
</p></li><li><p>Run the following substeps <a data-type="dfn" href="https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel" id="ref-for-index-term-in-parallel-5">in parallel</a>:
1053710535

10538-
</p><div class="note" role="note" id="issue-container-generatedID-51"><div role="heading" class="note-title marker" id="h-note-51" aria-level="5"><span>Note</span></div><aside class="">
10536+
</p><div class="note" role="note" id="issue-container-generatedID-50"><div role="heading" class="note-title marker" id="h-note-50" aria-level="5"><span>Note</span></div><aside class="">
1053910537
<p>This algorithm may trigger multiple events spread across some
1054010538
duration. Parallelism is applied intentionally in order to manage the
1054110539
scheduling of these events relative to the events triggered by other
@@ -10631,7 +10629,7 @@ <h1 id="title" class="title">WebDriver</h1>
1063110629
</td></tr>
1063210630
</tbody></table>
1063310631

10634-
<div class="note" role="note" id="issue-container-generatedID-52"><div role="heading" class="note-title marker" id="h-note-52" aria-level="4"><span>Note</span></div><p class="">
10632+
<div class="note" role="note" id="issue-container-generatedID-51"><div role="heading" class="note-title marker" id="h-note-51" aria-level="4"><span>Note</span></div><p class="">
1063510633
The <a href="#dfn-release-actions" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-release-actions-2">Release Actions</a> <a href="#dfn-commands" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-commands-59">command</a>
1063610634
is used to release all the keys and pointer buttons
1063710635
that are currently depressed.
@@ -10895,7 +10893,7 @@ <h1 id="title" class="title">WebDriver</h1>
1089510893
</tr>
1089610894
</tbody></table>
1089710895

10898-
<div class="note" role="note" id="issue-container-generatedID-53"><div role="heading" class="note-title marker" id="h-note-53" aria-level="4"><span>Note</span></div><p class="">
10896+
<div class="note" role="note" id="issue-container-generatedID-52"><div role="heading" class="note-title marker" id="h-note-52" aria-level="4"><span>Note</span></div><p class="">
1089910897
The <a href="#dfn-dismiss-alert" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-dismiss-alert-5">Dismiss Alert</a> <a href="#dfn-commands" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-commands-63">command</a>
1090010898
<a href="#dfn-dismissed" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-dismissed-6">dismisses</a> a <a href="#dfn-simple-dialog" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-simple-dialog-7">simple dialog</a>
1090110899
if <a data-lt="current user prompt" href="#dfn-current-user-prompt" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-current-user-prompt-9">present</a>.
@@ -10992,7 +10990,7 @@ <h1 id="title" class="title">WebDriver</h1>
1099210990
</tr>
1099310991
</tbody></table>
1099410992

10995-
<div class="note" role="note" id="issue-container-generatedID-54"><div role="heading" class="note-title marker" id="h-note-54" aria-level="4"><span>Note</span></div><p class="">
10993+
<div class="note" role="note" id="issue-container-generatedID-53"><div role="heading" class="note-title marker" id="h-note-53" aria-level="4"><span>Note</span></div><p class="">
1099610994
The <a href="#dfn-send-alert-text" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-send-alert-text-3">Send Alert Text</a> <a href="#dfn-commands" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-commands-64">command</a>
1099710995
sets the text field of a <a href="#dfn-window-prompt" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-window-prompt-2">window.<code>prompt</code></a>
1099810996
<a href="#dfn-user-prompts" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-user-prompts-12">user prompt</a> to the given value.
@@ -11185,7 +11183,7 @@ <h1 id="title" class="title">WebDriver</h1>
1118511183
</td></tr>
1118611184
</tbody></table>
1118711185

11188-
<div class="note" role="note" id="issue-container-generatedID-55"><div role="heading" class="note-title marker" id="h-note-55" aria-level="4"><span>Note</span></div><p class="">
11186+
<div class="note" role="note" id="issue-container-generatedID-54"><div role="heading" class="note-title marker" id="h-note-54" aria-level="4"><span>Note</span></div><p class="">
1118911187
The <a href="#dfn-take-element-screenshot" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-take-element-screenshot-3">Take Element Screenshot</a> <a href="#dfn-commands" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-commands-67">command</a>
1119011188
takes a screenshot of the visible region encompassed
1119111189
by the <a href="#dfn-bounding-rectangle" class="internalDFN" data-link-type="dfn" id="ref-for-dfn-bounding-rectangle-7">bounding rectangle</a> of an <a data-type="dfn" href="https://dom.spec.whatwg.org/#concept-element" id="ref-for-index-term-element-46">element</a>.
@@ -13614,7 +13612,7 @@ <h1 id="title" class="title">WebDriver</h1>
1361413612
<dl class="bibliography"><dt id="bib-accname-1.1">[accname-1.1]</dt><dd>
1361513613
<a href="https://www.w3.org/TR/accname-1.1/"><cite>Accessible Name and Description Computation 1.1</cite></a>. Joanmarie Diggs; Bryan Garaventa; Michael Cooper. W3C. 18 December 2018. W3C Recommendation. URL: <a href="https://www.w3.org/TR/accname-1.1/">https://www.w3.org/TR/accname-1.1/</a>
1361613614
</dd><dt id="bib-csp3">[CSP3]</dt><dd>
13617-
<a href="https://www.w3.org/TR/CSP3/"><cite>Content Security Policy Level 3</cite></a>. Mike West; Antonio Sartori. W3C. 31 July 2023. W3C Working Draft. URL: <a href="https://www.w3.org/TR/CSP3/">https://www.w3.org/TR/CSP3/</a>
13615+
<a href="https://www.w3.org/TR/CSP3/"><cite>Content Security Policy Level 3</cite></a>. Mike West; Antonio Sartori. W3C. 4 September 2023. W3C Working Draft. URL: <a href="https://www.w3.org/TR/CSP3/">https://www.w3.org/TR/CSP3/</a>
1361813616
</dd><dt id="bib-css-cascade-4">[CSS-CASCADE-4]</dt><dd>
1361913617
<a href="https://www.w3.org/TR/css-cascade-4/"><cite>CSS Cascading and Inheritance Level 4</cite></a>. Elika Etemad; Tab Atkins Jr.. W3C. 13 January 2022. W3C Candidate Recommendation. URL: <a href="https://www.w3.org/TR/css-cascade-4/">https://www.w3.org/TR/css-cascade-4/</a>
1362013618
</dd><dt id="bib-css-device-adapt">[CSS-DEVICE-ADAPT]</dt><dd>
@@ -19374,8 +19372,6 @@ <h1 id="title" class="title">WebDriver</h1>
1937419372
<a href="#ref-for-dfn-pointer-input-source-1" title="§ 15.2.3 Pointer input source">§ 15.2.3 Pointer input source</a> <a href="#ref-for-dfn-pointer-input-source-2" title="Reference 2">(2)</a> <a href="#ref-for-dfn-pointer-input-source-3" title="Reference 3">(3)</a>
1937519373
</li><li>
1937619374
<a href="#ref-for-dfn-pointer-input-source-4" title="§ 15.3 Input state">§ 15.3 Input state</a> <a href="#ref-for-dfn-pointer-input-source-5" title="Reference 2">(2)</a>
19377-
</li><li>
19378-
<a href="#ref-for-dfn-pointer-input-source-6" title="§ 15.5 Processing actions">§ 15.5 Processing actions</a>
1937919375
</li>
1938019376
</ul>
1938119377
</div><div class="dfn-panel" hidden="" role="dialog" aria-modal="true" id="dfn-panel-for-dfn-pointerdown" aria-label="Links in this document to definition: pointerDown">

0 commit comments

Comments
 (0)