- From: mangelozzi via GitHub <sysbot+gh@w3.org>
- Date: Sun, 08 Dec 2024 12:39:28 +0000
- To: public-css-archive@w3.org
Chrome warns one with a deprecation warning like this: > [Deprecation] Custom state pseudo classes have been changed from ":--spacer" to ":state(spacer)". See more here: https://github.com/w3c/csswg-drafts/issues/4805. It points one to this issue, which I think is an odd place to send one for help on an issue. This issue just seems to be a list of people posting in the wrong place and moving threads with no explaination about the deprecation warnging. I don't understand what I am supposed to change, this is the code it flags for the warning above: ```js getIsAboveBreakpoint() { const breakpoint = this.getAttribute('breakpoint'); return this.elToWatch.clientWidth >= breakpoint; ^^^^^^^^^^^^^^^^^^^^^^^^^^ } ``` -- GitHub Notification of comment by mangelozzi Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4805#issuecomment-2525760062 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 8 December 2024 12:39:29 UTC