- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Wed, 15 Jul 2020 15:49:37 +0000
- To: public-css-archive@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