From b6b26962f08a89ea9bae3a85d977a5d1508a7dfb Mon Sep 17 00:00:00 2001 From: Christoph Schwering Date: Thu, 25 May 2023 05:03:35 +0200 Subject: [PATCH] Add note with examples for ignoring eligibility/shared-autofill --- source | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/source b/source index 2b4c41e1c38..3d60ae15b4a 100644 --- a/source +++ b/source @@ -55618,7 +55618,7 @@ form.method === input; // => true origin.

-
+

Consider the following page https://pizza.example.com/:

<form method=post>
@@ -55648,6 +55648,26 @@ form.method === input; // => true
feature; this prevents leaking information to the ad server.

+
+

The user agent does not have to fill in all eligible form controls, and it can fill + in form controls that are not eligible. In particular, it can ignore + shared-autofill depending on the type of data + to be filled and the relationships of the controls' node navigables. For example:

+ +
    +
  • The user agent can ignore shared-autofill + when filling in usernames and passwords which are associated to a specific + origin.

  • +
  • The user agent can ignore shared-autofill + in Documents whose navigable is not a descendant + of the fully active descendant of a top-level traversible with user attention + because payment form controls are frequently hosted in cross-origin iframes + like in the example above. +

  • The user agent can fill in cross-origin form controls because the user + consented.

  • +
+
+
The autocomplete attribute