Skip to content

Commit

Permalink
[selectors-4][css-pseudo-4] Revert placeholder option example, since …
Browse files Browse the repository at this point in the history
…HTML doesn't include it atm. #2517
  • Loading branch information
fantasai committed Dec 29, 2022
1 parent 2617907 commit 10a46bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions css-pseudo-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1189,8 +1189,7 @@ Placeholder Input: the ''::placeholder'' pseudo-element</h3>
<div class="example">
For example, according to the semantics of [[HTML]]
the <{input/placeholder}> attribute on the <{input}> and <{textarea}> elements
provide placeholder text,
as does the first <{option}> element of a <{select}> under certain conditions.
provide placeholder text.
The ''::placeholder'' [=pseudo-element=]
represents such text when it is displayed.
</div>
Expand Down
3 changes: 1 addition & 2 deletions selectors-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2660,8 +2660,7 @@ The Placeholder-shown Pseudo-class: '':placeholder-shown''</h4>
<div class="example">
For example, according to the semantics of [[HTML]]
the <{input/placeholder}> attribute on the <{input}> and <{textarea}> elements
provide placeholder text,
as does the first <{option}> element of a <{select}> under certain conditions.
provide placeholder text.
The '':placeholder-shown'' class thus applies
whenever such placeholder text is shown.
</div>
Expand Down

0 comments on commit 10a46bb

Please sign in to comment.