Skip to content

Commit f07d4fd

Browse files
authoredMar 18, 2025··
[css-values-5] Editorial: fix scope of random() values (#11920)
According to the definitions data model, `dfn-for` needs to a contain a "comma-separated list" of definitions. The spec used `|` to separate values for `random()` and `<random-value-sharing>`.
1 parent cd275c6 commit f07d4fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎css-values-5/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2089,7 +2089,7 @@ Generating a Random Numeric Value: the ''random()'' function</h3>
20892089
in the styles across several elements,
20902090
via the ''random()/match-element'' value (or its absence)
20912091

2092-
<dl dfn-type=value dfn-for="random()|<random-value-sharing>">
2092+
<dl dfn-type=value dfn-for="random(),<random-value-sharing>">
20932093
: <dfn>auto</dfn>
20942094
:: Each [=random function=] in an element's styles
20952095
will use a distinct [=random base value=].

0 commit comments

Comments
 (0)
Please sign in to comment.