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

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

From: Marat Tanalin via GitHub <sysbot+gh@w3.org>
Date: Sat, 28 May 2016 01:51:36 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-157314883-1464400295-sysbot+gh@w3.org>
Marat-Tanalin has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-properties-values-api] Example 2: `inherit` instead of `green`
 in description ==
The [example 
2](https://drafts.css-houdini.org/css-properties-values-api/#example-06b36756)
 of CSS Properties and Values API Level 1 draft contains the following
 code:

    .thing {
        --my-color: green;
        --my-color: url("not-a-color");
        color: var(--my-color);
    }

But then description says that the `color` property is set to 
`inherit` instead of `green`. So it’s either a typo, and `inherit` in 
the description should be replaced with the correct `green`, or the 
description should be more clear on why `inherit` is used instead of 
`green`.

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/152 using your GitHub 
account
Received on Saturday, 28 May 2016 01:51:39 UTC

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