- From: Psychpsyo <notifications@github.com>
- Date: Tue, 17 Sep 2024 03:47:58 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 17 September 2024 10:48:02 UTC
### What is the issue with the DOM Standard? Currently, to access the `class` attribute of an element in Javascript, you need to use `element.className` instead of just `element.class`. This is unintuitive and inconsistent with other attributes, and there is little reason for it because `class` is no longer a reserved word. Note: This is just to mirror [issue #9379](https://github.com/whatwg/html/issues/9379) in the HTML repo. The reception has been rather positive over there, it seems like this is only missing interest from implementers. (I have a working build of Firefox that implements this and am working on one for Chrome, I am now just opening the required issues and PRs to make this happen.) -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1310 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1310@github.com>
Received on Tuesday, 17 September 2024 10:48:02 UTC