Skip to content

Commit 10a46bb

Browse files
committed
[selectors-4][css-pseudo-4] Revert placeholder option example, since HTML doesn't include it atm. #2517
1 parent 2617907 commit 10a46bb

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

css-pseudo-4/Overview.bs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1189,8 +1189,7 @@ Placeholder Input: the ''::placeholder'' pseudo-element</h3>
11891189
<div class="example">
11901190
For example, according to the semantics of [[HTML]]
11911191
the <{input/placeholder}> attribute on the <{input}> and <{textarea}> elements
1192-
provide placeholder text,
1193-
as does the first <{option}> element of a <{select}> under certain conditions.
1192+
provide placeholder text.
11941193
The ''::placeholder'' [=pseudo-element=]
11951194
represents such text when it is displayed.
11961195
</div>

selectors-4/Overview.bs

+1-2
Original file line numberDiff line numberDiff line change
@@ -2660,8 +2660,7 @@ The Placeholder-shown Pseudo-class: '':placeholder-shown''</h4>
26602660
<div class="example">
26612661
For example, according to the semantics of [[HTML]]
26622662
the <{input/placeholder}> attribute on the <{input}> and <{textarea}> elements
2663-
provide placeholder text,
2664-
as does the first <{option}> element of a <{select}> under certain conditions.
2663+
provide placeholder text.
26652664
The '':placeholder-shown'' class thus applies
26662665
whenever such placeholder text is shown.
26672666
</div>

0 commit comments

Comments
 (0)