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

Re: [csswg-drafts] [css-properties-values-api] Example 2: wrong `inherit` instead of `green` in description

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Sat, 28 May 2016 02:44:35 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-222286076-1464403474-sysbot+gh@w3.org>
This is accurate. ```--my-color``` has no type, so its value becomes 
```url("...")```. 
As a result, ```color``` becomes ```url("...")``` which is invalid at 
computation time, so ```color``` reverts to its initial value, which 
is ```inherit```.

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/152#issuecomment-222286076 
using your GitHub account
Received on Saturday, 28 May 2016 02:44:37 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:32 UTC