Re: [csswg-drafts] [css-values-5] What order to use for the "index of usage" for the default random() keys? (#13337)

Not that implementation rationale should drive the end design, but the reason for the behavior in WebKit is that we assign the identifiers during parsing (the calc parser stores the property name and number of random() functions seen so far while parsing this property). Needing to assign identifiers after parsing would be quite a bit more complicated for us.

That said, this example makes me wonder if we should add pseudo-classes (or no pseudo-class for the standard case) to the tuple used for `auto`, since at first blush, I would not have expected the two styles in the example to share at all. 

-- 
GitHub Notification of comment by weinig
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13337#issuecomment-3750606989 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 14 January 2026 17:04:58 UTC