@@ -1994,7 +1994,7 @@ Generating a Random Numeric Value: the ''random()'' function</h3>
19941994 <random()> = random( <<random-value-sharing>> ? , <<calc-sum>> , <<calc-sum>> , <<calc-sum>> ? )
19951995
19961996 <dfn><<random-value-sharing>></dfn> = [ [ auto | <<dashed-ident>> ] || match-element ]
1997- | <<number [0,1]>>
1997+ | fixed <<number [0,1]>>
19981998 </pre>
19991999
20002000 See [[#random-evaluation]] and [[#random-caching]]
@@ -2117,9 +2117,9 @@ Generating a Random Numeric Value: the ''random()'' function</h3>
21172117 or if they're used in the same style in the same way (if not).
21182118 (Again, see <a href="#auto-naming-details">the note below</a> for a small wrinkle about this.)
21192119
2120- : <dfn> <<number>></dfn>
2121- :: If <<number>> is specified,
2122- it's used as the [=random function's=] [=random base value=] ,
2120+ : <dfn lt="fixed|<number>">fixed <<number>></dfn>
2121+ :: If ''fixed <<number>>'' is specified,
2122+ the <<number>> is used as the [=random function's=] [=random base value=] ,
21232123 rather than allowing the UA to generate a [=random base value=]
21242124 and controlling how it's shared.
21252125
@@ -2298,7 +2298,7 @@ Generating a Random Numeric Value: the ''random()'' function</h3>
22982298 (the size of the element's [=containing block=] ).
22992299
23002300 So, the [=computed value=] of the property
2301- is ''width: random(.1234, 50%, 100%)''
2301+ is ''width: random(fixed .1234, 50%, 100%)''
23022302 (or some other random value instead of ''.1234'' ),
23032303 meaning it will eventually resolve to ''56.17%''
23042304 (or similar for the actual random value).
0 commit comments