Re: [w3c/selection-api] Fixes https://github.com/w3c/selection-api/issues/170. (PR #172)

@rniwa commented on this pull request.



>          </p>
+        <section>
+          <h4>Scheduling <code>selectionhange</code> event</h4>
+          <p>To <dfn>schedule a selectionchange event</dfn> on a node <var>target</var>, run these steps:</p>
+          <ol>
+            <li>
+              If <var>target</var>'s <a>has scheduled selectionchange event</a> flag is true,
+              abort these steps.
+            </li>
+            <li>
+              <a>Queue a task</a> on the <a>user interaction task source</a> to

I don't think that'll work because target can be a document, which isn't an element.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/selection-api/pull/172#discussion_r1526649509
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/selection-api/pull/172/review/1939851006@github.com>

Received on Friday, 15 March 2024 18:02:03 UTC