Skip to content

Commit 0bab92d

Browse files
committed
[css-properties-values-api] Improve text in second example.
(#209)
1 parent 47fce6e commit 0bab92d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

css-properties-values-api/Overview.bs

+3-2
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,9 @@ This can change the set of <a>declared values</a> which requires the <a>cascade<
283283
The second '--my-color' declaration overrides the first at parse time (both are valid),
284284
and the ''var()'' reference in the 'color' property is found to be <a spec=css-variables>invalid at computed-value time</a>
285285
(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.
288289

289290
if we call:
290291

0 commit comments

Comments
 (0)