- From: Bramus via GitHub <sysbot+gh@w3.org>
- Date: Thu, 24 Oct 2024 11:17:40 +0000
- To: public-css-archive@w3.org
> I’m running a poll on several social media platforms to get an idea of how authors interpret the keywords: [X](https://x.com/bramus/status/1848659062642106531), [Mastodon](https://front-end.social/@bramus/113350392840248627), [BlueSky](https://bsky.app/profile/bram.us/post/3l73qpryxpr2f). Looking at the results of these polls: - Authors interpret the keyword `auto` as _“the name is an automatically generated value”_, not as _“the name is derived from the id attribute, falling back an automatically generated value”_ - Keywords that signal _“the name is an automatically generated value”_ are `auto` and `auto-id` - Keywords that signal _“the name is derived from the id attribute, falling back an automatically generated value”_ are `from-element` and `first-non-empty(…)` There is clear mismatch between how authors interpret the keywords and what is currently resolved on and/or proposed within the working group. Authors don’t interpret `auto` as “do the default behavior” but as “auto generate me a value”: - The name is an automatically generated value: - CSSWG: `from-element` or `self` - Authors: `auto` or `auto-id` - The name is derived from the id attribute, falling back an automatically generated value: - CSSWG: `auto` - Authors: `from-element` or `first-non-empty(…)` Two people shared loose replies that suggested the keyword `generate(d)`. On suggested to use the fallback value in the `attr()` function. > We don't really need `first-non-empty`, `attr()` already has a fallback argument: `attr(id ident, per-element)` would be the equivalent of `auto`. I kinda forgot that `attr()` provided a fallback option, so this is a great suggestion. --- Winging back tot he naming/keywords aspect: can we meet authors here? Strawperson suggestion: - Revert previous resolution about what `auto` does and change it into “the name is an automatically generated value” - Push authors towards using `attr(id ident)` and `attr(id ident, per-element)` when they want the fallback behavior. This matches with how they interpret things. -- GitHub Notification of comment by bramus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10995#issuecomment-2434995792 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 24 October 2024 11:17:41 UTC