W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2017

Re: [csswg-drafts] [css-cascade][css-pseudo] How does 'inherit' keyword behave in a child of ::first-line?

From: Loirooriol via GitHub <sysbot+gh@w3.org>
Date: Thu, 25 May 2017 01:29:56 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-303897443-1495675795-sysbot+gh@w3.org>
> I would note one issue, though. It's not clear to me that condition (1) is even needed

I think the important point is that there can be some property which potentially affects the box tree and which inherits by default. This property shouldn't be inherited from `::first-line`, because `::first-line` depends on the box tree.

With condition (1) this is easy to solve: simply don't include that property in the list of properties that apply to `::first-line`.

Without (1), maybe try not to create such a property (make it non-inheritable by default), or otherwise exclude it specifically just like custom properties in (3). This approach seems harder to maintain (in fact, are custom properties the only existing case of such a property? I'm not entirely sure.)

GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1097#issuecomment-303897443 using your GitHub account
Received on Thursday, 25 May 2017 01:30:02 UTC

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