Skip to content

Commit

Permalink
Define the :placeholder-shown pseudo-class for HTML elements
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin authored and domenic committed Jun 2, 2016
1 parent e708109 commit 52d529d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -67700,6 +67700,30 @@ Demos:
</dd>


<dt><dfn data-noexport=""><code
data-x="selector-placeholder-shown">:placeholder-shown</code></dfn></dt>

<dd>

<p>The <code data-x="selector-placeholder-shown">:placeholder-shown</code>
<span>pseudo-class</span> must match any element falling into one of the following
categories:</p>

<ul>

<li><code>input</code> elements that have a <code
data-x="attr-input-placeholder">placeholder</code> attribute whose value is currently being
presented to the user.</li>

<li><code>textarea</code> elements that have a <code
data-x="attr-textarea-placeholder">placeholder</code> attribute whose value is currently being
presented to the user.</li>

</ul>

</dd>


<dt><dfn data-noexport=""><code data-x="selector-valid">:valid</code></dfn></dt>

<dd>
Expand Down

0 comments on commit 52d529d

Please sign in to comment.