[go: nahoru, domu]

Skip to content

Commit

Permalink
[css-pseudo-4] Specify ::marker::marker as invalid, define that displ…
Browse files Browse the repository at this point in the history
…ay loses its 'list-item'. #1793 (comment)
  • Loading branch information
fantasai committed Nov 7, 2020
1 parent f783595 commit 2c0b793
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion css-pseudo-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -848,9 +848,13 @@ List Markers: the ''::marker'' pseudo-element</h3>
Only a limited set of properties can be used on the ''::marker'' pseudo-element.
This list is defined in [[css-lists-3#marker-properties]].

Note: The ''::before::marker'' or ''::after::marker'' selectors
The ''::before::marker'' or ''::after::marker'' selectors
are valid and
can be used to represent the [=marker boxes=]
of ''::before'' or ''::after'' pseudo-elements that happen to be [=list items=].
However ''::marker::marker'' is invalid,
and the computed value of 'display' on ''::marker''
loses its ''display/list-item'' aspect.

<h3 id="placeholder-pseudo">
Placeholder Input: the ''::placeholder'' pseudo-element</h3>
Expand Down

0 comments on commit 2c0b793

Please sign in to comment.