- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Fri, 19 Jul 2024 21:50:51 +0000
- To: public-css-archive@w3.org
Nah. Similar to gradients, you can supply two positions for a single stop, so a grammatical requirement like that would prevent authors from writing some otherwise reasonable things. (It would allow `linear(0 0%, 0 100%)`, but disallow the identical-meaning `linear(0 0% 100%)`.) However, the text as currently written does fail if you provide a single stop, whether you give it two %s or not. ("create a linear easing function" explicitly fails if there is only a single stop, regardless of whether it's doubled or not; "calculate linear easing output" implicitly fails with an OOB access if there's only a single stop (not doubled). The first failure should get fixed; there's nothing wrong it conceptually. The second should also be fixed, just to avoid grammar oddities, the same as how we just resolved to allow single-stop gradients; there's a trivial behavior for it. I'll propose some edits. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10580#issuecomment-2240265871 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 19 July 2024 21:50:51 UTC