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
So it seems ::marker's content obeys text-transform just like a ::before would do, but list-style-type does not. But I guess https://bugzil.la/1542807 may make list-style-type obey text-transform.
(Also note that list-style-type behaves like there were white-space: pre, ::marker's content does not. Is this expected?).
Note that Chromium doesn't support ::marker yet, but recently I implemented list-style-type: <string>. With LayoutNG, the result looks like
I. CONTENT
I. CONTENT
1. CONTENT
1. CONTENT
So list-style-type obeys text-transform. But in legacy, list-style-type behaves like in Firefox:
i. CONTENT
i. CONTENT
1. CONTENT
1. CONTENT
What's the expected behavior?
The text was updated successfully, but these errors were encountered:
CSS Text properties don't apply to ::marker.
However, they are inheritable, so you can set them to the list item and observe the effect.
Firefox renders it as
So it seems ::marker's
content
obeystext-transform
just like a ::before would do, butlist-style-type
does not. But I guess https://bugzil.la/1542807 may makelist-style-type
obeytext-transform
.(Also note that
list-style-type
behaves like there werewhite-space: pre
, ::marker'scontent
does not. Is this expected?).Note that Chromium doesn't support ::marker yet, but recently I implemented
list-style-type: <string>
. With LayoutNG, the result looks likeSo
list-style-type
obeystext-transform
. But in legacy,list-style-type
behaves like in Firefox:What's the expected behavior?
The text was updated successfully, but these errors were encountered: