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

Re: [csswg-drafts] [css-values-4] Allow an inline way to do "first value that's supported" (#5055)

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Tue, 12 May 2020 21:53:35 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-627618492-1589320415-sysbot+gh@w3.org>
It could be good to accept a CSS-wide keywords, e.g.

```
display: first-supported(foo; bar; revert);
```

if neither `foo` nor `bar` are supported, it would behave as `revert`, preserving UA styles. Without `revert` I guess it would just become invalid at computed-value time and behave as `unset`.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5055#issuecomment-627618492 using your GitHub account
Received on Tuesday, 12 May 2020 21:53:37 UTC

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