- From: CSS Meeting Bot via GitHub <noreply@w3.org>
- Date: Wed, 01 Apr 2026 17:02:14 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-values-5] Names of the random-name keywords`, and agreed to the following: * `RESOLVED: use element-scoped and property-scoped` * `RESOLVED: property-index-scoped for the last one` <details><summary>The full IRC log of that discussion</summary> <kbabbitt> TabAtkins: in the other issue at a previous meeting, we reoslved to change how caching works<br> <kbabbitt> ... providing a dashed-ident makes it least random<br> <kbabbitt> ... keywords let you opt into uniquified per element, per property, etc<br> <kbabbitt> ... were left with decision on what those keywords should be<br> <kbabbitt> ... in spec they're element, property, index<br> <kbabbitt> ... been a few suggestions in thread, fantasai suggested in another issue element-scoped, property-scoped, index-scoped<br> <kbabbitt> ... I like this suggestion quite a bit more than any others that have been put forth<br> <kbabbitt> ... any 'per' or 'shared' ... it's become clear no one can agree on what that means, come to opposite interpretations<br> <kbabbitt> ... 'scoped' can't be misinterpreted<br> <kbabbitt> ... there's a scoping boundary between e.g. elements<br> <Rossen> q?<br> <kbabbitt> ... think that makes a lot of sense, suggest we resolve on keyword names element-scoped, property-scoped, and either index-scoped or property-index-scoped<br> <romain> +1<br> <kbabbitt> fantasai: let's talk about first two first<br> <kbabbitt> +1<br> <oriol> q+<br> <miriam> +1<br> <Rossen> ack oriol<br> <kbabbitt> TabAtkins: objections to element-scoped and property-scoped?<br> <kbabbitt> oriol: fine with this proposal but might get a little long<br> <kbabbitt> ... maybe a scope() function would be a bit shorter?<br> <kbabbitt> ... fine either way just an idea<br> <kbabbitt> TabAtkins: thought of that too but in practice authors will only specify element-scoped most of the time<br> <kbabbitt> ... only reason for the others is if you're purposely writing generic code to be reused in a function<br> <kbabbitt> ... and also if going full auto isn't good for you<br> <kbabbitt> ... use cases for other keywords are pretty low, can just put in --ident<br> <kbabbitt> ... even less typing than a scoped function<br> <kbabbitt> fantasai: +1 to TabAtkins, extra overhead of higher level syntax doesn't seem worth benefit<br> <Rossen> ack fantasai<br> <kbabbitt> Rossen: going back to TabAtkins proposal of element-scoped and property-scoped, objections?<br> <kbabbitt> RESOLVED: use element-scoped and property-scoped<br> <kbabbitt> fantasai: last one, index-scoped or property-index-scoped?<br> <kbabbitt> ... my suggestion was instance-scoped to keep it short?<br> <kbabbitt> Rossen: what does that mean?<br> <kbabbitt> TabAtkins: each instance of a random() in a signle property is unique<br> <kbabbitt> oriol: so instance means property+index?<br> <kbabbitt> TabAtkins: yes<br> <kbabbitt> oriol: think I prefer to be explicit, not clear you're counting those but not element<br> <kbabbitt> Rossen: what is your proposal?<br> <kbabbitt> oriol: fantasai was proposing instance-scoped which would replace property+index scoped<br> <kbabbitt> ... I think that using the explicit property and index scope is more clear<br> <kizu> +1 to Oriol<br> <kbabbitt> fantasai: you're saying it would be confused with element?<br> <astearns> +1 to Oriol<br> <kbabbitt> oriol: it's less straightforward what it means<br> <kbabbitt> ... if you see instance, what kind of instance?<br> <kbabbitt> ... less clear to me<br> <kbabbitt> +1 oriol<br> <kbabbitt> ... property + index is more straightforward<br> <kbabbitt> Rossen: taht was my question, instance of what?<br> <kbabbitt> ... agree with oriol as well<br> <kbabbitt> ... so can we go back to property index and element scoped?<br> <kbabbitt> ... can we resolve on this?<br> <kbabbitt> TabAtkins: my proposal for this one is property-index-scoped. you can't specify index by itself anyway<br> <kbabbitt> ... and I don't want to have to repeat scoped twice<br> <kbabbitt> Rossen: objections?<br> <kbabbitt> arronei: wish we could make it shorter but don't really care<br> <kbabbitt> RESOLVED: property-index-scoped for the last one<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13601#issuecomment-4171573718 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 1 April 2026 17:02:15 UTC