Skip to content

Commit

Permalink
Require autofilling to not discriminate against shadow DOM
Browse files Browse the repository at this point in the history
This fixes WICG/webcomponents#572 by making it
explicitly clear that the Blink bug found and discussed there is
disallowed.
  • Loading branch information
domenic authored and Alice Boxhall committed Jan 7, 2019
1 parent 5e1cc30 commit b86ecdc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -53463,6 +53463,11 @@ MIT Room 32-G524
the field. It would not be conforming to somehow set the <code>select</code> element to the value
"Evan", since the user could not have done so themselves.</p>

<p>A user agent prefilling a form control must not discriminate between form controls that are
<span>in a document tree</span> and those that are <span>connected</span>; that is, it is not
conforming to make the decision on whether or not to autofill based on whether the element's
<span>root</span> is a <span>shadow root</span> versus a <code>Document</code>.</p>

<p>A user agent prefilling a form control's <span data-x="concept-fe-value">value</span> must not
cause that control to <span data-x="suffering from a type mismatch">suffer from a type
mismatch</span>, <span data-x="suffering from being too long">suffer from being too long</span>,
Expand Down

0 comments on commit b86ecdc

Please sign in to comment.