File tree 1 file changed +3
-2
lines changed
css-properties-values-api
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -283,8 +283,9 @@ This can change the set of <a>declared values</a> which requires the <a>cascade<
283
283
The second '--my-color' declaration overrides the first at parse time (both are valid),
284
284
and the ''var()'' reference in the 'color' property is found to be <a spec=css-variables>invalid at computed-value time</a>
285
285
(because ''url("not-a-color")'' is not a color).
286
- At computed-value time the only available fallback is the default value,
287
- which in the case of color is ''inherit'' .
286
+ At this stage of the CSS pipeline (computation time), the only available fallback is the initial value
287
+ of the property, which in the case of color is ''inherit'' . Although there was a valid usable value
288
+ (green), this was removed during parsing because it was superceded by the URL.
288
289
289
290
if we call:
290
291
You can’t perform that action at this time.
0 commit comments