Re: [w3c/clipboard-apis] Link to the HTML spec's "has focus steps". (#143)

@domenic requested changes on this pull request.



> @@ -1171,7 +1171,7 @@ urlPrefix: https://w3c.github.io/FileAPI/#dfn-; type: dfn;
   handlers) and data can be accessed in the absence of a user provided gesture.
 
   To help prevent abuse, this API <em>must not</em> be available unless the script
-  is executing in the context of the currently focused document.
+  is executing in the context of a document that [=has focus steps|has focus=].

Documents don't have focus. Specific elements inside them, or focusable areas, have focus.

Is this supposed to be about the browsing context having system focus?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/pull/143#pullrequestreview-664547751

Received on Thursday, 20 May 2021 15:41:34 UTC