@@ -65889,7 +65889,7 @@ console.log(plasticButton.outerHTML); // will output '<button is="plastic-but
6588965889
6589065890 this.addEventListener("keydown", e => {
6589165891 if (e.code === "Enter" || e.code === "Space") {
65892- this.dispatchEvent(new MouseEvent ("click", {
65892+ this.dispatchEvent(new PointerEvent ("click", {
6589365893 bubbles: true,
6589465894 cancelable: true
6589565895 }));
@@ -72515,7 +72515,7 @@ END:VCARD</pre>
7251572515 </div>
7251672516
7251772517 <!-- v2 idea: HTMLImageElement.click(x, y); or clickPoint(), if click() can't be done in IE; can
72518- this be emulated in IE by posting a synthetic mouse click event with those X and Y coords?
72518+ this be emulated in IE by posting a synthetic pointer click event with those X and Y coords?
7251972519 (ack Csaba Gabor)
7252072520 -->
7252172521
@@ -72543,8 +72543,8 @@ END:VCARD</pre>
7254372543
7254472544 <li><p>Set this element's <span>click in progress flag</span>.</p></li>
7254572545
72546- <li><p><span>Fire a synthetic mouse event</span> named <code data-x="event-click">click</code> at
72547- this element, with the <var>not trusted flag</var> set.</p></li>
72546+ <li><p><span>Fire a synthetic pointer event</span> named <code data-x="event-click">click</code>
72547+ at this element, with the <var>not trusted flag</var> set.</p></li>
7254872548
7254972549 <li><p>Unset this element's <span>click in progress flag</span>.</p></li>
7255072550 </ol>
@@ -93588,7 +93588,7 @@ interface mixin <dfn>DocumentAndElementEventHandlers</dfn> {
9358893588 data-x="dom-click">click()</code> method on the <code>HTMLElement</code> interface is defined as
9358993589 firing a <code data-x="event-click">click</code> event on the element. <ref spec=UIEVENTS></p>
9359093590
93591- <p><dfn data-x="fire a synthetic mouse event">Firing a synthetic mouse event named
93591+ <p><dfn data-x="fire a synthetic pointer event">Firing a synthetic pointer event named
9359293592 <var>e</var></dfn> at <var>target</var>, with an optional <var>not trusted flag</var>, means
9359393593 running these steps:</p>
9359493594
@@ -93624,8 +93624,8 @@ interface mixin <dfn>DocumentAndElementEventHandlers</dfn> {
9362493624 </ol>
9362593625
9362693626 <p><dfn data-x="fire a click event">Firing a <code data-x="event-click">click</code> event</dfn>
93627- at <var>target</var> means <span data-x="fire a synthetic mouse event">firing a synthetic mouse
93628- event named <code data-x="event-click">click</code></span> at <var>target</var>.</p>
93627+ at <var>target</var> means <span data-x="fire a synthetic pointer event">firing a synthetic
93628+ pointer event named <code data-x="event-click">click</code></span> at <var>target</var>.</p>
9362993629
9363093630 </div>
9363193631
@@ -125054,6 +125054,7 @@ INSERT INTERFACES HERE
125054125054 Lenny Domnitser,
125055125055 Leonard Rosenthol,
125056125056 Leons Petrazickis,
125057+ Liviu Tinta,
125057125058 Lobotom Dysmon,
125058125059 Logan<!-- on moz irc -->,
125059125060 Loune,
0 commit comments