@@ -55618,7 +55618,7 @@ form.method === input; // => true</code></pre>
55618
55618
<span data-x="concept-document-origin">origin</span>.</p></li>
55619
55619
</ul>
55620
55620
55621
- <div class="example">
55621
+ <div class="example" id="sharedAutofillExample" >
55622
55622
<p>Consider the following page <code data-x="">https://pizza.example.com/</code>:</p>
55623
55623
55624
55624
<pre><code class="html"><form method=post>
@@ -55648,6 +55648,26 @@ form.method === input; // => true</code></pre>
55648
55648
feature; this prevents leaking information to the ad server.</p>
55649
55649
</div>
55650
55650
55651
+ <div class="note">
55652
+ <p>The user agent does not have to fill in all eligible form controls, and it can fill
55653
+ in form controls that are not eligible. In particular, it can ignore
55654
+ <code data-x="shared-autofill-feature">shared-autofill</code> depending on the type of data
55655
+ to be filled and the relationships of the controls' <span>node navigable</span>s. For example:</p>
55656
+
55657
+ <ul>
55658
+ <li><p>The user agent can ignore <code data-x="shared-autofill-feature">shared-autofill</code>
55659
+ when filling in usernames and passwords which are associated to a specific
55660
+ <span data-x="concept-document-origin">origin</span>.</p></li>
55661
+ <li><p>The user agent can ignore <code data-x="shared-autofill-feature">shared-autofill</code>
55662
+ in <code>Document</code>s whose <span>navigable</span> is not a <span>descendant</span>
55663
+ of the <span>fully active descendant of a top-level traversible with user attention</span>
55664
+ because payment form controls are frequently hosted in cross-origin <code>iframe</code>s
55665
+ like in the <a href="#sharedAutofillExample">example above</a>.
55666
+ <li><p>The user agent can fill in cross-origin form controls because the user
55667
+ consented.</p></li>
55668
+ </ul>
55669
+ </div>
55670
+
55651
55671
55652
55672
<h6>The <code data-x="attr-fe-autocomplete">autocomplete</code> attribute</h6>
55653
55673
0 commit comments