Skip to content

Commit

Permalink
Define the autofill pseudo-class.
Browse files Browse the repository at this point in the history
Fixes #6181
  • Loading branch information
emilio committed Jan 8, 2021
1 parent 33addcd commit 26ebab8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -68530,6 +68530,14 @@ Demos:
</ul>
</dd>

<dt><dfn noexport><code data-x="selector-autofill">:autofill</code></dfn></dt>
<dd>
<p>The <code data-x="selector-autofill">:autofill</code> <span>pseudo-class</span> must match
<code>input</code> elements which have been auto-completed by the user-agent. This pseudo-class
must stop matching if the user edits the auto-completed field. User-agents may support
<code>:-webkit-autofill</code> as a legacy alias for compatibility reasons.
</dd>

<dt><dfn noexport><code data-x="selector-read-only">:read-only</code></dfn></dt>
<dt><dfn noexport><code data-x="selector-read-write">:read-write</code></dfn></dt>
<dd>
Expand Down

0 comments on commit 26ebab8

Please sign in to comment.