You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, marker-side in an inherited property, so one could set it in the list element like
ol {
marker-side: match-self;
}
expecting that match-self will use the directionality of the ol. But marker-side applies to the list item, so the author should actually use
ol {
marker-side: match-parent;
}
even if it may seem to mean that it will use the directionality of ol's parent.
It can also be confusing because direction applies to ::marker. So somebody could think that marker-side: match-self refers to the ::marker and marker-side: match-parent refers to the ::marker's parent (i.e. the list item).
I think something like marker-side: match-list-item and marker-side: match-list would be much clearer.
The text was updated successfully, but these errors were encountered:
https://drafts.csswg.org/css-lists/#marker-side defines
marker-side: match-self
andmarker-side: match-parent
.However,
marker-side
in an inherited property, so one could set it in the list element likeexpecting that
match-self
will use the directionality of theol
. Butmarker-side
applies to the list item, so the author should actually useeven if it may seem to mean that it will use the directionality of
ol
's parent.It can also be confusing because
direction
applies to ::marker. So somebody could think thatmarker-side: match-self
refers to the ::marker andmarker-side: match-parent
refers to the ::marker's parent (i.e. the list item).I think something like
marker-side: match-list-item
andmarker-side: match-list
would be much clearer.The text was updated successfully, but these errors were encountered: