Re: [csswg-drafts] [css-pseudo] Which properties to reset in ::marker (#4568)

There is also #4206 about `text-transform`.
Note that not even Chromium legacy and Chromium LayoutNG are interoperable.

> text-indent - surely no. Every browsers says no.

Actually, Chromium LayoutNG supports it, but you don't see it because of the marker alignment, so you need `::marker { direction: rtl }`. And Firefox supports it in `content` markers but not in legacy markers (nsBulletFrame).

> text-align - I think this has to be a no

Note Chromium LayoutNG does support it, but maybe not like you expected? If you use `content: 'ab\a c'` and `white-space: pre`, with `text-align: left` the `c` appears below the `a`, and with `text-align: right` it appears below the `b`.

In general I would lean towards not resetting properties unless strictly necessary.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4568#issuecomment-562549888 using your GitHub account

Received on Friday, 6 December 2019 12:17:07 UTC