- From: Claas Augner <notifications@github.com>
- Date: Tue, 27 Jan 2026 04:55:05 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 27 January 2026 12:55:10 UTC
caugner created an issue (whatwg/dom#1448)
### What is the issue with the DOM Standard?
This was originally reported to BCD in https://github.com/mdn/content/issues/42933.
```js
const element = document.createElement('div');
element.setAttribute('class', 'test');
const attribute = element.getAttributeNode('class');
// Both `element.isConnected` and `attribute.isConnected` are false
document.body.append(element);
// Now `element.isConnected` is true, but `attribute.isConnected` still false in Chrome/Firefox/Safari
```
Assuming this is expected, should this behavior be mentioned in the spec?
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1448
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/issues/1448@github.com>
Received on Tuesday, 27 January 2026 12:55:10 UTC