The example 2 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 either this is a typo, and inherit in the description should be replaced with the correct green used in the code, or the description should be more clear on why the property is set to inherit instead of green.