Re: [whatwg/dom] Update element.attributes getter steps to be less vague (PR #1297)

Hmm looking a bit more https://dom.spec.whatwg.org/#namednodemap it seems that the NamedNodeMap has an associated element, not the other way around as the getter is currently defined. But yeah it seems exposing the list directly is wrong.

There doesn't seem to be a spec way to make a namednode map from an attribute list? Would `return this's attribute list as a NamedNodeMap` work? Or does it need to be more precise? It's at least a little bit clearer than currently?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1297#issuecomment-2285838554
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1297/c2285838554@github.com>

Received on Tuesday, 13 August 2024 09:49:28 UTC