Skip to content

Commit bdbc3a9

Browse files
committed
[selectors-4] Add textarea to placeholder example #6669
1 parent bd56761 commit bdbc3a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

selectors-4/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2659,7 +2659,7 @@ The Placeholder-shown Pseudo-class: '':placeholder-shown''</h4>
26592659

26602660
<div class="example">
26612661
For example, according to the semantics of [[HTML]]
2662-
the <{input/placeholder}> attribute on the <{input}> element
2662+
the <{input/placeholder}> attribute on the <{input}> and <{textarea}> elements
26632663
provide placeholder text,
26642664
as does the first <{option}> element of a <{select}> under certain conditions.
26652665
The '':placeholder-shown'' class thus applies

0 commit comments

Comments
 (0)