Skip to content

Commit dc8253b

Browse files
committed
[selectors4] Add :placeholder-shown per WG resolutions <http://lists.w3.org/Archives/Public/www-style/2013Feb/0393.html>
1 parent b0ae9a5 commit dc8253b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

selectors/Overview.src.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1949,6 +1949,15 @@ <h3 id="enableddisabled">
19491949
<code>display</code> and <code>visibility</code> properties have no effect
19501950
on the enabled/disabled state of an element.
19511951

1952+
<h3 id="placeholder">
1953+
The placeholder-shown pseudo-class <code>:placeholder-shown</code></h3>
1954+
1955+
<p>Input elements can sometimes show placeholder text
1956+
as a hint to the user on what to type in.
1957+
See, for example, the <code>placeholder</code> attribute in [[HTML5]].
1958+
The <dfn id="placeholder-shown-pseudo">:placeholder-shown</dfn> pseudo-class
1959+
matches an input element that is showing such placeholder text.
1960+
19521961
<h3 id="checked">
19531962
The selected-option pseudo-class <code>:checked</code></h3>
19541963

0 commit comments

Comments
 (0)