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

Re: [csswg-drafts] [filters] Proposal: color-filter

From: Wes via GitHub <sysbot+gh@w3.org>
Date: Wed, 04 Jul 2018 02:59:51 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-402349178-1530673190-sysbot+gh@w3.org>
(a bit off topic) maybe alongside a feature like this, css could introduce an alternative syntax to chain/nest "function" calls

```
background-color: saturation(hue(brightness(red, 1.2), 12deg) 0.3); /* current */

background-color: red -> brightness(1.2) -> hue(+12deg) -> saturation(+0.3); /* oop */
background-color: brightness(red, 1.2) |> hue(_, +12deg) |> saturation(_, +0.3); /* pipe */
```

-- 
GitHub Notification of comment by Netmosfera
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2875#issuecomment-402349178 using your GitHub account
Received on Wednesday, 4 July 2018 02:59:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 4 July 2018 02:59:56 UTC