|
42 | 42 | "rationale": "if",
|
43 | 43 | "steps": [
|
44 | 44 | {
|
45 |
| - "html": "If the <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/pointerevents4/#dom-pointerevent-pointerid\" class=\"internalDFN\" id=\"ref-for-dom-pointerevent-pointerid-25\"><code>pointerId</code></a> provided as the method's argument does not match any of the <a href=\"https://www.w3.org/TR/pointerevents4/#dfn-active-pointer\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-active-pointer-5\">active pointers</a>, then <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\">throw</a> a \"<a data-link-type=\"exception\" href=\"https://webidl.spec.whatwg.org/#notfounderror\"><code>NotFoundError</code></a>\" <a data-link-type=\"interface\" data-lt=\"DOMException\" href=\"https://webidl.spec.whatwg.org/#idl-DOMException\"><code>DOMException</code></a>." |
| 45 | + "html": "If the <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/pointerevents4/#dom-pointerevent-pointerid\" class=\"internalDFN\" id=\"ref-for-dom-pointerevent-pointerid-26\"><code>pointerId</code></a> provided as the method's argument does not match any of the <a href=\"https://www.w3.org/TR/pointerevents4/#dfn-active-pointer\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-active-pointer-5\">active pointers</a>, then <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\">throw</a> a \"<a data-link-type=\"exception\" href=\"https://webidl.spec.whatwg.org/#notfounderror\"><code>NotFoundError</code></a>\" <a data-link-type=\"interface\" data-lt=\"DOMException\" href=\"https://webidl.spec.whatwg.org/#idl-DOMException\"><code>DOMException</code></a>." |
46 | 46 | },
|
47 | 47 | {
|
48 |
| - "html": "Let the <var>pointer</var> be the <a href=\"https://www.w3.org/TR/pointerevents4/#dfn-active-pointer\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-active-pointer-6\">active pointer</a> specified by the given <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/pointerevents4/#dom-pointerevent-pointerid\" class=\"internalDFN\" id=\"ref-for-dom-pointerevent-pointerid-26\"><code>pointerId</code></a>." |
| 48 | + "html": "Let the <var>pointer</var> be the <a href=\"https://www.w3.org/TR/pointerevents4/#dfn-active-pointer\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-active-pointer-6\">active pointer</a> specified by the given <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/pointerevents4/#dom-pointerevent-pointerid\" class=\"internalDFN\" id=\"ref-for-dom-pointerevent-pointerid-27\"><code>pointerId</code></a>." |
49 | 49 | },
|
50 | 50 | {
|
51 | 51 | "html": "If the <var>element</var> is not <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#connected\">connected</a> [<cite><a class=\"bibref\" data-link-type=\"biblio\" href=\"https://www.w3.org/TR/pointerevents4/#bib-dom\" title=\"DOM Standard\">DOM</a></cite>], <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\">throw</a> an \"<a data-link-type=\"exception\" href=\"https://webidl.spec.whatwg.org/#invalidstateerror\"><code>InvalidStateError</code></a>\" <a data-link-type=\"interface\" data-lt=\"DOMException\" href=\"https://webidl.spec.whatwg.org/#idl-DOMException\"><code>DOMException</code></a>."
|
|
57 | 57 | "html": "If the <var>pointer</var> is not in the <a href=\"https://www.w3.org/TR/pointerevents4/#dfn-active-buttons-state\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-active-buttons-state-5\">active buttons state</a> or\n the <var>element</var>'s <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-node-document\">node document</a> is not the <a href=\"https://www.w3.org/TR/pointerevents4/#dfn-active-document\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-active-document-2\">active document</a> of the <var>pointer</var>, then terminate these steps."
|
58 | 58 | },
|
59 | 59 | {
|
60 |
| - "html": "For the specified <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/pointerevents4/#dom-pointerevent-pointerid\" class=\"internalDFN\" id=\"ref-for-dom-pointerevent-pointerid-27\"><code>pointerId</code></a>, set the <dfn id=\"dfn-pending-pointer-capture-target-override\" tabindex=\"0\" aria-haspopup=\"dialog\" data-dfn-type=\"dfn\">pending pointer capture target override</dfn> to the <a data-link-type=\"interface\" data-lt=\"Element\" href=\"https://dom.spec.whatwg.org/#element\"><code>Element</code></a> on which this method was invoked." |
| 60 | + "html": "For the specified <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/pointerevents4/#dom-pointerevent-pointerid\" class=\"internalDFN\" id=\"ref-for-dom-pointerevent-pointerid-28\"><code>pointerId</code></a>, set the <dfn id=\"dfn-pending-pointer-capture-target-override\" tabindex=\"0\" aria-haspopup=\"dialog\" data-dfn-type=\"dfn\">pending pointer capture target override</dfn> to the <a data-link-type=\"interface\" data-lt=\"Element\" href=\"https://dom.spec.whatwg.org/#element\"><code>Element</code></a> on which this method was invoked." |
61 | 61 | }
|
62 | 62 | ]
|
63 | 63 | },
|
|
66 | 66 | "rationale": "if",
|
67 | 67 | "steps": [
|
68 | 68 | {
|
69 |
| - "html": "If the <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/pointerevents4/#dom-pointerevent-pointerid\" class=\"internalDFN\" id=\"ref-for-dom-pointerevent-pointerid-28\"><code>pointerId</code></a> provided as the method's argument does not match any of the <a href=\"https://www.w3.org/TR/pointerevents4/#dfn-active-pointer\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-active-pointer-7\">active pointers</a> and these steps are not being invoked as a result of the <a href=\"https://www.w3.org/TR/pointerevents4/#dfn-implicitly-release-the-pointer-capture\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-implicitly-release-the-pointer-capture-5\">implicit release of pointer capture</a>, then <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\">throw</a> a \"<a data-link-type=\"exception\" href=\"https://webidl.spec.whatwg.org/#notfounderror\"><code>NotFoundError</code></a>\" <a data-link-type=\"interface\" data-lt=\"DOMException\" href=\"https://webidl.spec.whatwg.org/#idl-DOMException\"><code>DOMException</code></a>." |
| 69 | + "html": "If the <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/pointerevents4/#dom-pointerevent-pointerid\" class=\"internalDFN\" id=\"ref-for-dom-pointerevent-pointerid-29\"><code>pointerId</code></a> provided as the method's argument does not match any of the <a href=\"https://www.w3.org/TR/pointerevents4/#dfn-active-pointer\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-active-pointer-7\">active pointers</a> and these steps are not being invoked as a result of the <a href=\"https://www.w3.org/TR/pointerevents4/#dfn-implicitly-release-the-pointer-capture\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-implicitly-release-the-pointer-capture-5\">implicit release of pointer capture</a>, then <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\">throw</a> a \"<a data-link-type=\"exception\" href=\"https://webidl.spec.whatwg.org/#notfounderror\"><code>NotFoundError</code></a>\" <a data-link-type=\"interface\" data-lt=\"DOMException\" href=\"https://webidl.spec.whatwg.org/#idl-DOMException\"><code>DOMException</code></a>." |
70 | 70 | },
|
71 | 71 | {
|
72 |
| - "html": "If <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/pointerevents4/#dom-element-haspointercapture\" class=\"internalDFN\" id=\"ref-for-dom-element-haspointercapture-2\"><code>hasPointerCapture</code></a> is false for the <a data-link-type=\"interface\" data-lt=\"Element\" href=\"https://dom.spec.whatwg.org/#element\"><code>Element</code></a> with the specified <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/pointerevents4/#dom-pointerevent-pointerid\" class=\"internalDFN\" id=\"ref-for-dom-pointerevent-pointerid-29\"><code>pointerId</code></a>, then terminate these steps." |
| 72 | + "html": "If <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/pointerevents4/#dom-element-haspointercapture\" class=\"internalDFN\" id=\"ref-for-dom-element-haspointercapture-2\"><code>hasPointerCapture</code></a> is false for the <a data-link-type=\"interface\" data-lt=\"Element\" href=\"https://dom.spec.whatwg.org/#element\"><code>Element</code></a> with the specified <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/pointerevents4/#dom-pointerevent-pointerid\" class=\"internalDFN\" id=\"ref-for-dom-pointerevent-pointerid-30\"><code>pointerId</code></a>, then terminate these steps." |
73 | 73 | },
|
74 | 74 | {
|
75 |
| - "html": "For the specified <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/pointerevents4/#dom-pointerevent-pointerid\" class=\"internalDFN\" id=\"ref-for-dom-pointerevent-pointerid-30\"><code>pointerId</code></a>, clear the <a href=\"https://www.w3.org/TR/pointerevents4/#dfn-pending-pointer-capture-target-override\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-pending-pointer-capture-target-override-6\">pending pointer capture target override</a>, if set." |
| 75 | + "html": "For the specified <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/pointerevents4/#dom-pointerevent-pointerid\" class=\"internalDFN\" id=\"ref-for-dom-pointerevent-pointerid-31\"><code>pointerId</code></a>, clear the <a href=\"https://www.w3.org/TR/pointerevents4/#dfn-pending-pointer-capture-target-override\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-pending-pointer-capture-target-override-6\">pending pointer capture target override</a>, if set." |
76 | 76 | }
|
77 | 77 | ]
|
78 | 78 | },
|
|
81 | 81 | "rationale": "set",
|
82 | 82 | "steps": [
|
83 | 83 | {
|
84 |
| - "html": "Set the event's <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/pointerevents4/#dom-pointerevent-pointerid\" class=\"internalDFN\" id=\"ref-for-dom-pointerevent-pointerid-58\"><code>pointerId</code></a>, <code> pointerType</code>,\n <code>isPrimary</code> and <a data-link-type=\"attribute\" href=\"https://dom.spec.whatwg.org/#dom-event-istrusted\"><code>isTrusted</code></a> to match the respective properties of the \"parent\" pointer event." |
| 84 | + "html": "Set the event's <a data-link-type=\"idl\" href=\"https://www.w3.org/TR/pointerevents4/#dom-pointerevent-pointerid\" class=\"internalDFN\" id=\"ref-for-dom-pointerevent-pointerid-59\"><code>pointerId</code></a>, <code> pointerType</code>,\n <code>isPrimary</code> and <a data-link-type=\"attribute\" href=\"https://dom.spec.whatwg.org/#dom-event-istrusted\"><code>isTrusted</code></a> to match the respective properties of the \"parent\" pointer event." |
85 | 85 | },
|
86 | 86 | {
|
87 | 87 | "html": "Set the event's <a data-link-type=\"attribute\" href=\"https://dom.spec.whatwg.org/#dom-event-cancelable\"><code>cancelable</code></a> and <a data-link-type=\"attribute\" href=\"https://dom.spec.whatwg.org/#dom-event-bubbles\"><code>bubbles</code></a> to false (as these events will never\n be dispatched in isolation)."
|
|
0 commit comments