W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2019

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

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Fri, 06 Dec 2019 12:17:06 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-562549888-1575634624-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:57 UTC