- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Tue, 11 Apr 2023 10:14:20 +0000
- To: public-css-archive@w3.org
Per the TAG Design Principles, [optional and/or primitive arguments should be accepted through dictionaries](https://w3ctag.github.io/design-principles/#prefer-dictionaries), not positional arguments. In this case, this would mean `getCurrentTime({ rangeName: "cover" })` (or perhaps `getCurrentTime({ range: "cover" })`). This also allows `.getCurrentTime()` without arguments to continue being equivalent to `.currentTime`, as it should be. -- GitHub Notification of comment by LeaVerou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8201#issuecomment-1503050853 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 11 April 2023 10:14:22 UTC