diff --git a/source b/source index 668ebeb674a..c5a741dc6c1 100644 --- a/source +++ b/source @@ -55353,11 +55353,11 @@ form.method === input; // => true following.

<form method=post action="https://pizza.exampe.com/order.cgi">
-  <label> Name:        <input name=name></textarea> </label>
-  <label> Address:     <input name=address></textarea> </label>
-  <label> City:        <input name=city> </label>
-  <label> Postal Code: <input name=postal> </label>
-  <label> Country:     <select name=country>...</select> </label>
+  <label> Name:        <input></textarea> </label>
+  <label> Address:     <input></textarea> </label>
+  <label> City:        <input> </label>
+  <label> Postal Code: <input> </label>
+  <label> Country:     <select>...</select> </label>
 </form>

For example, the user agent could suggest values to fill when the user focuses or types in @@ -55389,28 +55389,34 @@ form.method === input; // => true

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

<form method=post>
-  <p> Cardholder name:    <input name=name>
+  <p> Cardholder name:    <input>
   <p> Credit card number: <iframe src="https://pay.example.com/number.html" allow=shared-autofill></iframe>
-  <p> Expiration date:    <input name=expiration-date>
+  <p> Expiration date:    <input>
   <p> CVC:                <iframe src="https://pay.example.com/cvc.html" allow=shared-autofill></iframe>
 </form>
 <iframe src="https://ads.example.com/ad.html"></iframe>

Let number.html and cvc.html each contain an - input.

+ input:

+ +
<!doctype html>
+<html>
+ <body>
+  <input>
+</html>

Suppose the user starts filling the cardholder name and the user agent offers to fill the - entire credit card form. The name and - expiration-date controls are eligible by means of their origin, and the - controls in number.html and cvc.html are eligible - due to the shared-autofill feature. + entire credit card form. The cardholder name and expiration date controls are eligible by means + of their origin, and the controls in number.html and + cvc.html are eligible due to the + shared-autofill feature. By contrast, none of the controls in ad.html is eligible because of the distinct origins and the absent shared-autofill feature; this prevents leaking to the ad server.

-
Autofilling form controls: the autocomplete attribute
+
The autocomplete attribute

The autocomplete content attribute can be used to hint to