W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

Re: [csswg-drafts] [css-lists-3][css-pseudo-4] Does text-transform inherit to ::marker? (#4206)

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Wed, 15 Jul 2020 15:49:37 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-658845972-1594828176-sysbot+gh@w3.org>
IMO the only of these properties for which blocking inheritance seems a clear benefit is `text-indent`, for the reason described in https://drafts.csswg.org/css-text/#text-indent-property

> Since the `text-indent` property inherits, when specified on a block element, it will affect descendant inline-block elements. For this reason, it is often wise to specify `text-indent: 0` on elements that are specified `display: inline-block`.

Outside markers are inline-block-like (and actual inline-blocks in Chromium LayoutNG), and this is not obvious to authors since they didn't set `display: inline-block` themselves, so `text-indent: 0` in UA origin seems wise.

GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4206#issuecomment-658845972 using your GitHub account
Received on Wednesday, 15 July 2020 15:49:38 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC