From 08583ec8401b063beff6fe6297c1644c03937c90 Mon Sep 17 00:00:00 2001 From: Johannes Wilm Date: Fri, 10 Sep 2021 17:26:45 +0200 Subject: [PATCH 1/3] Add note about paste event related to insertFromPaste, fixes #117 --- index.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/index.html b/index.html index bbe46f5..c1c9642 100644 --- a/index.html +++ b/index.html @@ -1336,6 +1336,15 @@
Other specifications may expand on this definition.
+
+

+ This note is not normative. +

+ When an "insertFromPaste" beforeinput + event is dispatched, it should be preceded by a + paste + [[CLIPBOARD-APIS]] event. +
The existence of the above mentioned inputTypes does not mean that any given implementation will support all of these. From 30aa3445318256c7eaa63fa3c2aa76a99ebb4a56 Mon Sep 17 00:00:00 2001 From: Johannes Wilm Date: Fri, 24 Sep 2021 18:28:31 +0200 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: Kagami Sascha Rosylight --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index c1c9642..b9e8494 100644 --- a/index.html +++ b/index.html @@ -1340,7 +1340,7 @@

This note is not normative.

- When an "insertFromPaste" beforeinput + When an "insertFromPaste" {{beforeinput}} event is dispatched, it should be preceded by a paste [[CLIPBOARD-APIS]] event. From 87535825272f71668e8418e28320650af75bb110 Mon Sep 17 00:00:00 2001 From: Johannes Wilm Date: Tue, 5 Oct 2021 18:05:17 +0200 Subject: [PATCH 3/3] turn note on paste event into section --- index.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index b9e8494..60321fc 100644 --- a/index.html +++ b/index.html @@ -1336,15 +1336,6 @@
Other specifications may expand on this definition.
-
-

- This note is not normative. -

- When an "insertFromPaste" {{beforeinput}} - event is dispatched, it should be preceded by a - paste - [[CLIPBOARD-APIS]] event. -
The existence of the above mentioned inputTypes does not mean that any given implementation will support all of these. @@ -2048,6 +2039,15 @@

+
+

Event order when using "insertFromPaste"

+

+ When an "insertFromPaste" {{beforeinput}} + event is dispatched, it MUST be preceded by a + paste + [[CLIPBOARD-APIS]] event. +

+

Privacy and security considerations