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

Re: [csswg-drafts] [css-backgrounds] Incorrect value dfn for border-color and background-clip

From: François Daoust via GitHub <sysbot+gh@w3.org>
Date: Tue, 17 Jul 2018 10:16:40 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-405532989-1531822599-sysbot+gh@w3.org>
I don't want to make things unnecessarily complicated but something I had overlooked in this case is that the [definition of `background-clip`](https://drafts.csswg.org/css-backgrounds-3/#propdef-background-clip) is `<box>#`, and "New value" actually extends `<box>` (defined as `border-box | padding-box | content-box`), not the property itself.

In other words, the spec probably wants the final property to be defined as `[ border-box | padding-box | content-box | text | border ] #` and not as `<box># | text | border`, the latter being what a strict application of the rules would yield.

GitHub Notification of comment by tidoust
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2916#issuecomment-405532989 using your GitHub account
Received on Tuesday, 17 July 2018 10:16:43 UTC

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